← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1960514] Re: "ovn_agent._run_process" ovs-appctl fails setting the service log configuration

 

Reviewed:  https://review.opendev.org/c/openstack/devstack/+/828877
Committed: https://opendev.org/openstack/devstack/commit/8c6710326eaf8114b579720185161091a0a9f38c
Submitter: "Zuul (22348)"
Branch:    master

commit 8c6710326eaf8114b579720185161091a0a9f38c
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Wed Feb 9 18:01:46 2022 +0000

    Fix installation with OVN backend and compilation
    
    This patch fixes several issues related to the installation with
    OVN backend with the OVS/OVN compilation enabled.
    
    The OVS/OVN local directories prefix, when both services are compiled,
    is now "/usr/local".
    
    The "ovn_agent._run_process" function is calling "ovs-appctl" to
    configure the logging settings of several services. Instead of
    using the service name, the ctl socket file is used instead. That
    is more robust and does not fail in systems with previous
    installations.
    
    Closes-Bug: #1960514
    
    Change-Id: I69de5333393957593db6e05495f0c3c758efefdf


** Changed in: devstack
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1960514

Title:
  "ovn_agent._run_process" ovs-appctl fails setting the service log
  configuration

Status in devstack:
  Fix Released
Status in neutron:
  Invalid

Bug description:
  This happens when using OVN as backend and enabled the OVS/OVN
  compilation.

  Error:
  +lib/neutron_plugins/ovn_agent:_run_process:256  sudo ovs-appctl -t ovn-northd vlog/set console:off syslog:info file:info
  2022-02-10T14:22:26Z|00001|daemon_unix|WARN|/var/run/openvswitch/ovn-northd.pid: open: No such file or directory

  
  However, when the ctl file is used (/usr/local/var/run/openvswitch/ovn-northd.<PID>.ctl), the command works fine.

  "ovs-appctl" should use the ctl file instead of the service name.

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1960514/+subscriptions



References