Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1804524

Summary: [ovn 2.13][20.B]ovn-nbctl --daemon --pidfile will create file under path /var/run/openvswitch/,but ovn 2.13 is seperated from ovs now
Product: Red Hat Enterprise Linux Fast Datapath Reporter: ying xu <yinxu>
Component: ovn2.13Assignee: Numan Siddique <nusiddiq>
Status: CLOSED DUPLICATE QA Contact: ying xu <yinxu>
Severity: medium Docs Contact:
Priority: medium    
Version: FDP 20.ACC: ctrautma, fhallal, jishi, mmichels, ralongi
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-04-18 06:55:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ying xu 2020-02-19 03:53:22 UTC
This bug was initially created as a copy of Bug #1778016

I am copying this bug because: 
ovn 2.13 has this issue too.


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:

Comment 1 Numan Siddique 2020-04-18 06:55:29 UTC

*** This bug has been marked as a duplicate of bug 1778016 ***