You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI Failures: machine-config-server is not ready #414
time="2019-02-12T18:39:57Z" level=debug msg="Still waiting for the cluster to initialize: Cluster operator machine-config is reporting a failure: Failed when progressing towards 3.11.0-605-g56569135-dirty because: error syncing: timed out waiting for the condition during waitForDaemonsetRollout: Daemonset machine-config-server is not ready. status: (desired: 3, updated: 3, ready: 2, unavailable: 2)"
time="2019-02-12T18:59:07Z" level=fatal msg="failed to initialize the cluster: timed out waiting for the condition"
@dgoodwin I believe that those errors will be seen a few times and aren't what caused your failure.
I'm not familiar with hive, but I looked thru the MCS logs and see:
I0212 18:55:23.859972 1 start.go:37] Version: 3.11.0-605-g56569135-dirty
I0212 18:55:23.860683 1 api.go:51] launching server
I0212 18:55:23.860705 1 api.go:51] launching server
I0212 18:55:23.860773 1 api.go:51] launching server
I0212 18:55:23.860801 1 api.go:51] launching server
F0212 18:55:23.861301 1 api.go:59] Machine Config Server exited with error: listen tcp :49500: bind: address already in use
Are you using port 49500 elsewhere? Due to issue: #166 I recently put in a fix (#368) to transition from using 49500 -> 22623. Might that solve the problem? You'd have to pull master to get it though since it just merged this afternoon.
Summary:
Can confirm that I see the timed out waiting for the condition during waitForDaemonsetRollout: Daemonset machine-config-server is not ready. status: (desired: 3, updated: 3, ready: 2, unavailable: 2)" time="2019-02-12T18:59:07Z" level=fatal msg="failed to initialize the cluster: timed out waiting for the condition" error in installer logs.
And after looking thru all of the MCx logs, can confirm that the only error seems to be in MCS with the port: 49500: bind: address already in use (the logs with the error are also the newest logs out of the 3 sets of server logs in the archive).
The installer change only went in a few hours ago, but master should be using 22623 now instead of 49500.
This was a CI job flake, so it's basically just running the installer from master and it's floating release image and would have occurred around the timestamp on the files in the links. There's nothing we're doing with that port in play that I can think of. It's possible I missed the merge, and I do know we made it through a PR later in the day.
Saw exact same error as author above: level=fatal msg="failed to initialize the cluster: Cluster operator machine-config is reporting a failure: Failed when progressing towards 3.11.0-646-g875bc74e-dirty because: error syncing: timed out waiting for the condition during waitForDaemonsetRollout: Daemonset machine-config-server is not ready. status: (desired: 3, updated: 3, ready: 2, unavailable: 2)"
and saw in MCS logs: 0214 22:21:58.887072 1 api.go:59] Machine Config Server exited with error: listen tcp :49500: bind: address already in use
is the installer that's running in e2e-aws master (since I put in that PR that doesn't use 49500 anymore)? Will #423 take care of this once and for all since it completely removes 49500 or is the problem coming from some other issue like the api serve breakdowns?
The PR in question has passed e2e-aws (with no code changes) before it failed with this. Not sure if this why this is happening.
Activity
kikisdeliveryservice commentedon Feb 13, 2019
@dgoodwin I believe that those errors will be seen a few times and aren't what caused your failure.
I'm not familiar with hive, but I looked thru the MCS logs and see:
Are you using port 49500 elsewhere? Due to issue: #166 I recently put in a fix (#368) to transition from using 49500 -> 22623. Might that solve the problem? You'd have to pull master to get it though since it just merged this afternoon.
see also: openshift/installer#1180
kikisdeliveryservice commentedon Feb 13, 2019
Also @dgoodwin can you add a bit of info about what you are running installer version, any modifictions, etc.. as I'm not familiar with Hive.
kikisdeliveryservice commentedon Feb 13, 2019
The MCC logs seem reasonably normal, the machineconfigs were generated as expected:
kikisdeliveryservice commentedon Feb 13, 2019
MCO logs seem ok as well:
I'm also no seeing any errors in the the MCD logs either but I'll spare everyone more pasting :)
kikisdeliveryservice commentedon Feb 13, 2019
Summary:
Can confirm that I see the
timed out waiting for the condition during waitForDaemonsetRollout: Daemonset machine-config-server is not ready. status: (desired: 3, updated: 3, ready: 2, unavailable: 2)" time="2019-02-12T18:59:07Z" level=fatal msg="failed to initialize the cluster: timed out waiting for the condition"error in installer logs.And after looking thru all of the MCx logs, can confirm that the only error seems to be in MCS with the port:
49500: bind: address already in use(the logs with the error are also the newest logs out of the 3 sets of server logs in the archive).The installer change only went in a few hours ago, but master should be using 22623 now instead of 49500.
dgoodwin commentedon Feb 13, 2019
This was a CI job flake, so it's basically just running the installer from master and it's floating release image and would have occurred around the timestamp on the files in the links. There's nothing we're doing with that port in play that I can think of. It's possible I missed the merge, and I do know we made it through a PR later in the day.
kikisdeliveryservice commentedon Feb 13, 2019
Thanks for the update. I'll leave this open for a bit to see if it recurs though aws was having lot of issues yesterday.
kikisdeliveryservice commentedon Feb 14, 2019
Closing for now, feel free to reopen if this comes up again.
[-]CI Installation Failures With Empty MachineConfig[/-][+]CI Failures: machine-config-server is not ready[/+]kikisdeliveryservice commentedon Feb 14, 2019
Reopening this bc I just saw this in CI today:
Logs here: https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/openshift_machine-config-operator/415/pull-ci-openshift-machine-config-operator-master-e2e-aws/1803
kikisdeliveryservice commentedon Feb 14, 2019
Saw exact same error as author above:
level=fatal msg="failed to initialize the cluster: Cluster operator machine-config is reporting a failure: Failed when progressing towards 3.11.0-646-g875bc74e-dirty because: error syncing: timed out waiting for the condition during waitForDaemonsetRollout: Daemonset machine-config-server is not ready. status: (desired: 3, updated: 3, ready: 2, unavailable: 2)"and saw in MCS logs:
0214 22:21:58.887072 1 api.go:59] Machine Config Server exited with error: listen tcp :49500: bind: address already in usekikisdeliveryservice commentedon Feb 14, 2019
is the installer that's running in e2e-aws master (since I put in that PR that doesn't use 49500 anymore)? Will #423 take care of this once and for all since it completely removes 49500 or is the problem coming from some other issue like the api serve breakdowns?
The PR in question has passed e2e-aws (with no code changes) before it failed with this. Not sure if this why this is happening.
jlebon commentedon Feb 15, 2019
Yeah, should be fixed now that #423 is merged.
ashcrow commentedon Feb 15, 2019
@dgoodwin let us know if #423 doesn't fix the issue.
runcom commentedon Mar 18, 2019
fixed by #423