RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1080332 - neutron-ovs-cleanup fails to read a linked config file
Summary: neutron-ovs-cleanup fails to read a linked config file
Keywords:
Status: CLOSED DUPLICATE of bug 1080560
Alias: None
Product: RDO
Classification: Community
Component: openstack-neutron
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-25 07:50 UTC by Amit Ugol
Modified: 2016-04-26 18:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-07 14:43:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Amit Ugol 2014-03-25 07:50:12 UTC
Description of problem:
service neutron-ovs-cleanup start. The error is unable to read plugin.ini which is a link to /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini :

# systemctl status neutron-ovs-cleanup.service
neutron-ovs-cleanup.service - OpenStack Neutron Open vSwitch Cleanup Utility
   Loaded: loaded (/usr/lib/systemd/system/neutron-ovs-cleanup.service; disabled)
   Active: failed (Result: exit-code) since Tue 2014-03-25 09:07:37 IST; 43s ago
  Process: 13798 ExecStart=/usr/bin/neutron-ovs-cleanup --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file /var/log/neutron/ovs-cleanup.log (code=exited, status=1/FAILURE)
 Main PID: 13798 (code=exited, status=1/FAILURE)
 
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: File "/usr/bin/neutron-ovs-cleanup", line 10, in <module>
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: sys.exit(main())
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: File "/usr/lib/python2.7/site-packages/neutron/agent/ovs_cleanup_util.py", line 85, in main
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: conf()
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1599, in __call__
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: raise ConfigFilesNotFoundError(self._namespace.files_not_found)
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com neutron-ovs-cleanup[13798]: oslo.config.cfg.ConfigFilesNotFoundError: Failed to read some config files: /etc/neutr...gin.ini
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com systemd[1]: neutron-ovs-cleanup.service: main process exited, code=exited, status=1/FAILURE
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com systemd[1]: Failed to start OpenStack Neutron Open vSwitch Cleanup Utility.
Mar 25 09:07:37 puma36.scl.lab.tlv.redhat.com systemd[1]: Unit neutron-ovs-cleanup.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Version-Release number of selected component (if applicable):
# yum whatprovides neutron-ovs-cleanup
openstack-neutron-openvswitch-2014.1-0.1.b1.fc21.noarch : Neutron openvswitch plugin
Repo        : openstack-icehouse

How reproducible:
Always



Steps to Reproduce:
Provision a Fedora20 machine
yum upgrade && reboot
yum install http://rdo.fedorapeople.org/openstack-icehouse/rdo-release-icehouse.rpm
install packstack
run packstack all in one

Actual results:
neutron puppet failed

Expected results:
neutron puppet won't fail

Additional info:
workaround: unlink /etc/neutron/plugin.ini && cp /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini /etc/neutron/plugin.in

Comment 1 Amit Ugol 2014-03-25 07:52:54 UTC
note, playing with selinux did not change the behavior

Comment 2 Jakub Libosvar 2014-04-07 14:43:43 UTC

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


Note You need to log in before you can comment on or make changes to this bug.