-
Notifications
You must be signed in to change notification settings - Fork 56
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
simplify the logic for wait for glance pods #676
base: main
Are you sure you want to change the base?
simplify the logic for wait for glance pods #676
Conversation
s/simply/simplify |
fi | ||
done | ||
exit $code | ||
oc wait pod --for condition=Ready --selector=service=glance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with this change as long as CI is happy with that. I think the main point here was about wait for all the Glance pods to reach Running
phase, but this looks better. Thanks Manoj!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, wait for pod condition 'Ready' is simplest way to ensure that all the containers of the pod are in 'Running' phase and pod is able to serve requests.
@katarimanojk can you check the linter issue and rebase this patch? |
4efd0c2
to
2700ff3
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b1679a81a1624e5d916e71cc2cc33bc0 ❌ adoption-standalone-to-crc-ceph FAILURE in 2h 46m 13s |
2700ff3
to
5c72957
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
simplify the wait logic for glance pods