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
API Verification #1159
API Verification #1159
Conversation
@sdodson would this solve your containerized problem if we trigger the test for non-ha installs as well? It might require a bit of rework to make it so that the ordering is correct for ha and non-ha deployments, but I think it's worth it to notify the user of a failed api server before getting a failure from a later role (usually openshift_examples) |
The containerization problem is unique to having to restart docker during node initialization which leads to up to a minute of master downtime while systemd starts the master services again after docker has been restarted. We need to fix both. Should I limit my fix to the node restarting docker in #1137 ? |
48f29af
to
08c0105
Compare
👍 to needing this and the other, LGTM |
@wshearn is testing this w/ online |
👍 |
139a9f7
to
867c4de
Compare
So the curl part is failing for me, it is like the api_available_output is not getting updated.
But the ELB is saying InService around the time it fails. |
@wshearn how is the elb health check configured? If I'm remembering the default settings right 120s might time out before re-adding a previously failed host. |
Ping Target TCP:443 And I bumped it up to 180 retries. |
how about increasing the retry interval, I believe I vaguely remember reading a bug about using 0 or 1 as the retry interval? |
867c4de
to
3c9a75f
Compare
@wshearn the fail conditional was reversed. Updated and this is working for me locally. |
aos-ci-test |
👍 works for me. |
Addressing the nosetests failure in #1169 |
aos-ci-test |
3c9a75f
to
0e8b2f4
Compare
Melded @sdodson and my changes together and I'm still testing native ha with the combo. |
0e8b2f4
to
dd096e0
Compare
aos-ci-test |
retries: 120 | ||
delay: 1 | ||
changed_when: false | ||
when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' |
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.
Why not move this down below the set_fact and make it conditional on start_result?
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.
Good idea
dd096e0
to
01aae5f
Compare
01aae5f
to
2e3e0eb
Compare
aos-ci-test |
Closes #1137 |
@detiber Moved the wait below |
@brenton 👍 |
Wait until the API becomes available