[Bug 1085971] New: [Build 20180318] openvswitch service fails to start
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971 Bug ID: 1085971 Summary: [Build 20180318] openvswitch service fails to start Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other URL: https://openqa.opensuse.org/tests/638056/modules/openv switch/steps/6 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- ## Observation openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_in_textmode@64bit fails in [openvswitch](https://openqa.opensuse.org/tests/638056/modules/openvswitch/steps/6) ## Reproducible Fails since (at least) Build [20170428](https://openqa.opensuse.org/tests/395051) The service should be started using systemctl start openvswitch, but this fails. An extract from the journal contains those entries: (from the linked openQA run): https://openqa.opensuse.org/tests/638056/file/openvswitch-full_journal.log Mar 19 16:37:20 susetest ovsdb-server[3095]: ovs|00002|daemon_unix|EMER|/var/run/openvswitch/ovsdb-server.pid.tmp: create failed (Permission denied) Mar 19 16:37:20 susetest ovs-ctl[3045]: ovsdb-server: /var/run/openvswitch/ovsdb-server.pid.tmp: create failed (Permission denied) Mar 19 16:37:20 susetest ovs-ctl[3045]: Starting ovsdb-server ... failed! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c3
Markos Chandras
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c4
Markos Chandras
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c5
Markos Chandras
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c6
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c7
--- Comment #7 from Markos Chandras
However what does openvswitch is pretty weird since it wants systemd to manage /run/openvswitch but in the meantime it manually set the owner of the directory.
Is there any reason why the runtime dir isn't directly created by ovs-ctl or the daemon ovs-ctl starts ?
That should be the case already otherwise if one starts the daemon directly (without systemd involved at all) it would fail, no ?
Thank you very much for the information Franck. Open vSwitch will only create the directory and set the correct perms (if you run it without systemd) if it's not present. So, in this case, systemd was creating the directory before the ExecStart command and ovs-vsctl didn't not fix the perms afterwards. I will send a patch upstream. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
Markos Chandras
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
Markos Chandras
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c8
Markos Chandras
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c9
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c10
Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c11
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c15
Pavol Cupka
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c16
--- Comment #16 from Pavol Cupka
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c17
--- Comment #17 from Pavol Cupka
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
Pavol Cupka
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c18
--- Comment #18 from Franck Bui
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971
http://bugzilla.opensuse.org/show_bug.cgi?id=1085971#c19
--- Comment #19 from Pavol Cupka
participants (1)
-
bugzilla_noreply@novell.com