Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Check if managed cluster is created during join #411

Merged

Conversation

qiujian16
Copy link
Member

@qiujian16 qiujian16 commented Apr 8, 2024

This is to check if managed cluster is created
when using --wait flag with join command, using
the bootstrap secret

Summary

Related issue(s)

Fixes #410

Copy link

openshift-ci bot commented Apr 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Apr 8, 2024
@qiujian16 qiujian16 force-pushed the wait-cluster branch 3 times, most recently from 2c95421 to db63d4d Compare April 8, 2024 07:19
This is to check if managed cluster is created
when using --wait flag with join command, using
the bootstrap secret

Signed-off-by: Jian Qiu <jqiu@redhat.com>
@qiujian16
Copy link
Member Author

/hold

@mikeshng
Copy link
Member

mikeshng commented Apr 9, 2024

CC @nirs

@qiujian16
Copy link
Member Author

/assign @zhujian7

}

phase := &atomic.Value{}
phase.Store("")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the phase.Store("") used for?
we did not print any status

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it could show whether cluster is created

@zhujian7
Copy link
Member

zhujian7 commented Apr 9, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Apr 9, 2024
@qiujian16
Copy link
Member Author

/unhold

@openshift-merge-bot openshift-merge-bot bot merged commit 8fe6644 into open-cluster-management-io:main Apr 9, 2024
8 checks passed
@qiujian16 qiujian16 deleted the wait-cluster branch May 28, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

clusteradm join --wait does not wait until the cluster is joined
3 participants