Repository navigation
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.kind/test-flakeCategorizes issue or PR as related to test flakes.priority/P1
Description
https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/193/
Specifically:
https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible_extended_conformance_install_update/17/
It appears to possible for the ovs startup to be delayed long enough that node startup gets to the point where it's needed and fails.
origin-node.service journal:
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal origin-node[20310]: I0411 08:23:42.029603 20310 ovs.go:62] Executing: ovs-ofctl -O OpenFlow13 dump-flows br0
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal origin-node[20310]: I0411 08:23:42.032885 20310 ovs.go:66] Error executing ovs-ofctl: ovs-ofctl: br0 is not a bridge or a socket
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal origin-node[20310]: I0411 08:23:42.032906 20310 controller.go:213] [SDN setup] full SDN setup required
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal origin-node[20310]: I0411 08:23:42.033028 20310 ovs.go:62] Executing: ovs-vsctl --if-exists del-br br0 -- add-br br0 -- set Bridge br0 fail-mode=secure protocols=OpenFlow13
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal ovs-vsctl[20392]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --if-exists del-br br0 -- add-br br0 -- set Bridge br0 fail-mode=secure protocols=OpenFlow13
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal ovs-vsctl[20392]: ovs|00002|db_ctl_base|ERR|unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal origin-node[20310]: I0411 08:23:42.037764 20310 ovs.go:66] Error executing ovs-vsctl: ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
Apr 11 08:23:42 ip-172-18-1-133.ec2.internal origin-node[20310]: F0411 08:23:42.037789 20310 node.go:351] error: SDN node startup failed: exit status 1
Due to a race between node/ovs:
systemd[1]: Starting Open vSwitch Database Unit...
systemd[1]: Starting Open vSwitch...
systemd[1]: Started Open vSwitch.
systemd[1]: Starting Origin Node...
systemd[1]: origin-node.service: main process exited, code=exited, status=255/n/a
systemd[1]: Failed to start Origin Node.
systemd[1]: Unit origin-node.service entered failed state.
systemd[1]: origin-node.service failed.
systemd[1]: Started Open vSwitch Database Unit.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.kind/test-flakeCategorizes issue or PR as related to test flakes.priority/P1
Activity
stevekuznetsov commentedon Apr 11, 2017
This is happening as we're using a too-old build of Origin 1.5 -- once the build is updated it will pick up the fix we have for this in 1.5 branch.
pweil- commentedon Apr 12, 2017
@sosiouxme can you re-verify once the build that @stevekuznetsov mentions is ready?
stevekuznetsov commentedon Apr 12, 2017
/cc @tdawson is there a resource on the build timeframes for CentOS PaaS SIG for the 1.5 repo? Could we get one more pre-release build in there?
sosiouxme commentedon Apr 12, 2017
@pweil- well I can make a note to check the build history for a few days after it's ready and see that this flake isn't happening again.
stevekuznetsov commentedon Apr 12, 2017
We can probably close it outright when we update, haven't seen this in master after the fix.
tdawson commentedon Apr 12, 2017
I have created a new pre-release 1.5 build for the CentOS Paas SIG based off of todays code. Hopefully this helps.
stevekuznetsov commentedon Apr 12, 2017
Thanks, @tdawson
stevekuznetsov commentedon Apr 13, 2017
Seeing it again here...
Installed:
The problem is that we are using the
openshift-futurerepo but not also theopenshift-origin15and other versioned repos in the Origin CI Tool. I'll have to enable them.stevekuznetsov commentedon Apr 18, 2017
Should be fixed in openshift/origin-ci-tool@6a41b1c
stevekuznetsov commentedon Apr 19, 2017
Let's re-open if we continue to see it/
sosiouxme commentedon May 25, 2017
Looks like it hasn't been an issue.