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

Add an option for cluster installation waiting #197

Open
apodhrad opened this issue Dec 2, 2020 · 3 comments
Open

Add an option for cluster installation waiting #197

apodhrad opened this issue Dec 2, 2020 · 3 comments

Comments

@apodhrad
Copy link

apodhrad commented Dec 2, 2020

When automation comes into play, we must deal with various waiting conditions.
One of them is waiting until the cluster is installed and ready to use.
Some teams implement it as follows
https://gitlab.cee.redhat.com/mk-bin-packing/mk-performance-tests/-/blob/master/scripts/osd-provision.sh#L227

but it would be great if we had such implementation directly in the ocm-cli, wdyt?

@cben
Copy link
Contributor

cben commented Dec 16, 2020

Could also copy log-streaming from rosa --watch (openshift/rosa#91).
@vkareh thoughts?

@vkareh
Copy link
Member

vkareh commented Dec 16, 2020

Yes, that would be useful, but might be a problem for automation to deal with the output stream.

A less verbose alternative is to have a ocm describe cluster --watch that instead of streaming logs, just checks whether the cluster.State() (or any other attribute in the output) has changed and outputs the latest. Once it's Ready, it exits. This would be more in line with how openshift-client does it when you oc get foo --watch

@apodhrad
Copy link
Author

Hi @cben @vkareh is there any update about this enhancement, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants