Repository navigation
Hold startup until etcd has stabilized cluster version - #14095
Conversation
enj
left a comment
There was a problem hiding this comment.
@smarterclayton you know it is very strange to start a go routine and then immediately block on it...
| //if len(kc.Options.APIServerArguments) > 0 && len(kc.Options.APIServerArguments["storage-backend"]) > 0 && kc.Options.APIServerArguments["storage-backend"][0] == "etcd2" { | ||
| if _, err := etcd.GetAndTestEtcdClient(oc.Options.EtcdClientInfo); err != nil { | ||
| return err | ||
| if len(kc.Options.APIServerArguments) > 0 && len(kc.Options.APIServerArguments["storage-backend"]) > 0 && kc.Options.APIServerArguments["storage-backend"][0] == "etcd2" { |
There was a problem hiding this comment.
I fixed and reversed this condition (etcd2 is the default).
|
Sometimes, but cleanup code is tricky to get right. |
9bb5c05 to
3a4cb5e
Compare
|
[test] |
Uncomment gate for version detection.
3a4cb5e to
27704a7
Compare
|
Evaluated for origin test up to 27704a7 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1328/) (Base Commit: 2d26eae) |
|
Any other comments? |
|
lgtm |
|
Approved as this is causing integration failures. [merge] |
|
[merge] install failure |
|
Evaluated for origin merge up to 27704a7 |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/624/) (Base Commit: e1a81e8) (Image: devenv-rhel7_6228) |
Uncomment gate for version detection.
Fixes #14063 @ncdc re: the code I uncommented