Bug 1036514

Summary: neutron-server still references quantum rootwrap and fails to start
Product: Red Hat OpenStack Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: openstack-neutronAssignee: Terry Wilson <twilson>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0CC: apevec, breeler, chrisw, hateya, lpeer, twilson, yeylon
Target Milestone: rc   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-2013.2-11.el6ost Doc Type: Bug Fix
Doc Text:
Cause: There were still references to quantum-rootwrap in the neutron config files. Consequence: Starting neutron could fail. Fix: Replace references to quantum-rootwrap with neutron-rootwrap Result: Starting neutron no longer fails
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-20 00:40:34 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:
Bug Depends On:    
Bug Blocks: 1080561    

Description Fabio Massimo Di Nitto 2013-12-02 08:12:20 UTC
This is a fresh install of neutron:

[root@rhos4-node5 ~]# rpm -q -f /etc/init.d/neutron-server 
openstack-neutron-2013.2-10.el6ost.noarch

try to start the service will return OK but service will fail later because it is looking quantum/rootwrap.conf by default.


In order to workaround the issue I had to do:

[root@rhos4-node6 ~(keystone_admin)]# cd /etc/
[root@rhos4-node6 etc(keystone_admin)]# mkdir quantum
[root@rhos4-node6 etc(keystone_admin)]# cp neutron/rootwrap.conf quantum/

echo "neutron ALL = (root) NOPASSWD: SETENV: /usr/bin/quantum-rootwrap" >> /etc/sudoers.d/neutron

Comment 6 errata-xmlrpc 2013-12-20 00:40:34 UTC
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.

http://rhn.redhat.com/errata/RHEA-2013-1859.html