Bug 1778016
| Summary: | ovn-nbctl --daemon --pidfile will create file under path /var/run/openvswitch/,but ovn 2.12 is seperated from ovs now | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | ying xu <yinxu> |
| Component: | ovn2.13 | Assignee: | Numan Siddique <nusiddiq> |
| Status: | CLOSED ERRATA | QA Contact: | ying xu <yinxu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | FDP 19.G | CC: | ctrautma, fhallal, jishi, mmichels, nusiddiq, ralongi, yinxu |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-26 14:07:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Submitted the patch to fix this issue - https://patchwork.ozlabs.org/patch/1267293/ *** Bug 1804524 has been marked as a duplicate of this bug. *** hi, I run the case on the latest version,but fail too. # rpm -qa|grep ovn ovn2.13-central-2.13.0-18.el8fdp.x86_64 ovn2.13-host-2.13.0-18.el8fdp.x86_64 ovn2.13-2.13.0-18.el8fdp.x86_64 :: [ 04:08:47 ] :: [ BEGIN ] :: Running 'systemctl start ovn-northd' :: [ 04:08:47 ] :: [ PASS ] :: Command 'systemctl start ovn-northd' (Expected 0, got 0) :: [ 04:08:47 ] :: [ BEGIN ] :: Running 'pkill -9 ovn-nbctl' :: [ 04:08:47 ] :: [ PASS ] :: Command 'pkill -9 ovn-nbctl' (Expected 0-255, got 1) ovn-nbctl: /var/run/openvswitch/ovn-nbctl.pid.tmp: create failed (No such file or directory) :: [ 04:08:47 ] :: [ BEGIN ] :: Running 'ovn_daemon_pid=' :: [ 04:08:47 ] :: [ PASS ] :: Command 'ovn_daemon_pid=' (Expected 0, got 0) 2020-04-21T08:08:47Z|00001|unixctl|WARN|failed to connect to /var/run/openvswitch/ovnnb_db.ctl ovs-appctl: cannot connect to "/var/run/openvswitch/ovnnb_db.ctl" (No such file or directory) # ovn-nbctl --pidfile --detach ovn-nbctl: /var/run/openvswitch/ovn-nbctl.pid.tmp: create failed (No such file or directory) It seems that the file also created in openvswitch file path and failed. can you have a look at it? I've submitted the patch upstream to fix the issue for pidfile - https://patchwork.ozlabs.org/project/openvswitch/patch/20200421124130.973829-1-numans@ovn.org/ verified on # rpm -qa|grep ovn ovn2.13-central-2.13.0-21.el7fdp.x86_64 ovn2.13-2.13.0-21.el7fdp.x86_64 ovn2.13-host-2.13.0-21.el7fdp.x86_64 see details in the job log link: rhel7:https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2020/04/42280/4228042/8191840/109626595/taskout.log rhel8:https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2020/04/42293/4229396/8194080/109649543/taskout.log :: [ 22:08:46 ] :: [ BEGIN ] :: Running 'ovn_daemon_pid=/var/run/ovn/ovn-nbctl.14997.ctl' :: [ 22:08:46 ] :: [ PASS ] :: Command 'ovn_daemon_pid=/var/run/ovn/ovn-nbctl.14997.ctl' (Expected 0, got 0) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2317 |
Description of problem: ovn-nbctl --daemon --pidfile is also related by openvswitch,but ovn 2.12 is seperated from ovs now Version-Release number of selected component (if applicable): openvswitch2.12-2.12.0-8.el7fdp ovn2.12-2.12.0-15.el7fdp ovn2.12-central-2.12.0-15.el7fdp ovn2.12-host-2.12.0-15.el7fdp How reproducible: always Steps to Reproduce: only start ovn,but didn't start ovs rlRun "systemctl start ovn-northd" rlRun "pkill -9 ovn-nbctl" "0-255" rlRun "ovn_daemon_pid=$(ovn-nbctl --pidfile --detach)" :: [ 20:04:36 ] :: [ BEGIN ] :: Running 'systemctl start ovn-northd' :: [ 20:04:36 ] :: [ PASS ] :: Command 'systemctl start ovn-northd' (Expected 0, got 0) :: [ 20:04:36 ] :: [ BEGIN ] :: Running 'pkill -9 ovn-nbctl' :: [ 20:04:36 ] :: [ PASS ] :: Command 'pkill -9 ovn-nbctl' (Expected 0-255, got 1) ovn-nbctl: /var/run/openvswitch/ovn-nbctl.pid.tmp: create failed (No such file or directory) :: [ 20:04:36 ] :: [ BEGIN ] :: Running 'ovn_daemon_pid=' :: [ 20:04:36 ] :: [ PASS ] :: Command 'ovn_daemon_pid=' (Expected 0, got 0) 2019-11-29T01:04:36Z|00001|unixctl|WARN|failed to connect to /var/run/openvswitch/ovnnb_db.ctl ovs-appctl: cannot connect to "/var/run/openvswitch/ovnnb_db.ctl" (No such file or directory) Actual results: ovn-nbctl: /var/run/openvswitch/ovn-nbctl.pid.tmp: create failed Expected results: ovn-nbctl: /var/run/ovn/ovn-nbctl.pid.tmp I think this file should create under the path /var/run/ovn/ Additional info: