← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1427365] [NEW] openvswitch-agent init script does not source /etc/sysconfig/neutron

 

Public bug reported:

The init script '/etc/init.d/openstack-neutron-openvswitch-agent' does
not source /etc/sysconfig/neutron, causing the ml2 plugin configuration
to not be read as the default value for NEUTRON_PLUGIN_CONF in the init
script is '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini'.

I resolved this problem by adding the source just after
NEUTRON_PLUGIN_ARGS="" (see attached).

I'm running on openSUSE-13.1 using the SUSE open build service RPM
repository
(https://build.opensuse.org/project/show/Cloud:OpenStack:Juno).

# rpm -qi openstack-neutron-openvswitch-agent
Name        : openstack-neutron-openvswitch-agent
Version     : 2014.2.3.dev28
Release     : 1.1
Architecture: noarch
Install Date: Mon Mar  2 11:55:57 2015
Group       : Development/Languages/Python
Size        : 14893
License     : Apache-2.0
Signature   : RSA/SHA1, Fri Feb 27 20:08:54 2015, Key ID 893a90dad85f9316
Source RPM  : openstack-neutron-2014.2.3.dev28-1.1.src.rpm
Build Date  : Fri Feb 27 20:07:52 2015
Build Host  : build24
Relocations : (not relocatable)
Vendor      : obs://build.opensuse.org/Cloud:OpenStack
URL         : https://launchpad.net/neutron
Summary     : OpenStack Network - Open vSwitch
Description :
This package provides the OpenVSwitch Agent.
Distribution: Cloud:OpenStack:Juno / openSUSE_13.1

** Affects: neutron
     Importance: Undecided
         Status: New

** Patch added: "etc_init.d_openstack-neutron-openvswitch-agent.patch"
   https://bugs.launchpad.net/bugs/1427365/+attachment/4332544/+files/etc_init.d_openstack-neutron-openvswitch-agent.patch

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

Title:
  openvswitch-agent init script does not source /etc/sysconfig/neutron

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The init script '/etc/init.d/openstack-neutron-openvswitch-agent' does
  not source /etc/sysconfig/neutron, causing the ml2 plugin
  configuration to not be read as the default value for
  NEUTRON_PLUGIN_CONF in the init script is
  '/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini'.

  I resolved this problem by adding the source just after
  NEUTRON_PLUGIN_ARGS="" (see attached).

  I'm running on openSUSE-13.1 using the SUSE open build service RPM
  repository
  (https://build.opensuse.org/project/show/Cloud:OpenStack:Juno).

  # rpm -qi openstack-neutron-openvswitch-agent
  Name        : openstack-neutron-openvswitch-agent
  Version     : 2014.2.3.dev28
  Release     : 1.1
  Architecture: noarch
  Install Date: Mon Mar  2 11:55:57 2015
  Group       : Development/Languages/Python
  Size        : 14893
  License     : Apache-2.0
  Signature   : RSA/SHA1, Fri Feb 27 20:08:54 2015, Key ID 893a90dad85f9316
  Source RPM  : openstack-neutron-2014.2.3.dev28-1.1.src.rpm
  Build Date  : Fri Feb 27 20:07:52 2015
  Build Host  : build24
  Relocations : (not relocatable)
  Vendor      : obs://build.opensuse.org/Cloud:OpenStack
  URL         : https://launchpad.net/neutron
  Summary     : OpenStack Network - Open vSwitch
  Description :
  This package provides the OpenVSwitch Agent.
  Distribution: Cloud:OpenStack:Juno / openSUSE_13.1

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


Follow ups

References