Bug 1025345

Summary: Deprecated options in the /usr/share/neutron/neutron-dist.conf
Product: [Community] RDO Reporter: Attila Fazekas <afazekas>
Component: openstack-neutronAssignee: Terry Wilson <twilson>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: chrisw, hateya, pbrady, sgordon, twilson, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-2013.2-10.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-10 14:32:24 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:

Description Attila Fazekas 2013-10-31 14:13:57 UTC
rpm -qf /usr/share/neutron/neutron-dist.conf 
openstack-neutron-2013.2-1.fc20.noarch

neutron-dist.conf contains multiple not working default options, inherited from the ages when neutron names was quantum.

$ sudo grep quantum /usr/share/neutron/neutron-dist.conf 
rpc_backend = quantum.openstack.common.rpc.impl_qpid
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf

$ python
Python 2.7.5 (default, Oct  8 2013, 12:19:40) 
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import quantum.openstack
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named openstack

'quantum.openstack' package not exists.


$ ls -l /etc/quantum/rootwrap.conf
ls: cannot access /etc/quantum/rootwrap.conf: No such file or directory

The /etc/sudoers.d/neutron config does not allows to run quantum-rootwrap as neutron user.


Expected results:
rpc_backend = neutron.openstack.common.rpc.impl_qpid
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf

Additional info:

/etc/neutron/neutron.conf also has multiple references to deprecated quantum named options.

Comment 3 Stephen Gordon 2013-12-10 04:17:30 UTC
Terry when you get a moment can you please make sure this gets fixed up in RDO? A number of users have run into this issue and filed bugs against upstream documentation.

Comment 4 Terry Wilson 2013-12-11 20:51:07 UTC
sgordon, actually this has already been fixed as of 2013.2-10. yay!

Comment 5 Stephen Gordon 2013-12-18 04:18:06 UTC
(In reply to Terry Wilson from comment #4)
> sgordon, actually this has already been fixed as of 2013.2-10. yay!

When will that hit RDO Havana? Looking today the latest still seems to be openstack-neutron-2013.2-9.el6.noarch.rpm for EL6?

Comment 6 Terry Wilson 2013-12-18 15:46:48 UTC
sgordon: I've had updated packages in the testing repos for a while now, but at this point it is out of my hands. There are a few people who can promote packages to the RDO repos now, and they're planning on doing commits more as batches as opposed to various packages being updated whenever. You might check with pbrady or apevec about the scheduling.

Comment 7 Stephen Gordon 2014-01-10 13:23:05 UTC
Hi Padraig,

Any ETA on getting openstack-neutron-2013.2-10 into RDO?

Thanks,

Steve