Incorrect file being edited to configure ML2 plugin on the network node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Critical
|
Matt Kassawara |
Bug Description
I have run through the entirety of chapters 1 - 7 on CentOS 6.5 twice now. Both times, after trying to start the neutron-
======
2014-04-14 06:38:22.380 3996 CRITICAL neutron [req-39f1e4f7-
2014-04-14 06:38:22.380 3996 TRACE neutron Traceback (most recent call last):
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/bin/
2014-04-14 06:38:22.380 3996 TRACE neutron sys.exit(main())
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/lib/
2014-04-14 06:38:22.380 3996 TRACE neutron agent = OVSNeutronAgent
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/lib/
2014-04-14 06:38:22.380 3996 TRACE neutron root_helper)
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/lib/
2014-04-14 06:38:22.380 3996 TRACE neutron self.init_
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/lib/
2014-04-14 06:38:22.380 3996 TRACE neutron self.firewall = importutils.
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/lib/
2014-04-14 06:38:22.380 3996 TRACE neutron return import_
2014-04-14 06:38:22.380 3996 TRACE neutron File "/usr/lib/
2014-04-14 06:38:22.380 3996 TRACE neutron mod_str, _sep, class_str = import_
2014-04-14 06:38:22.380 3996 TRACE neutron AttributeError: 'NoneType' object has no attribute 'rpartition'
2014-04-14 06:38:22.380 3996 TRACE neutron
======
After debugging the problem and adding some print statements to the Python files in the stack trace, I determined that the firewall_driver variable in /usr/lib/
This was strange, since it is configured in /etc/neutron/
======
[securitygroup]
firewall_driver = neutron.
enable_
======
Taking a look at /etc/init.
======
prog=$proj-$plugin
exec="/
configs=(
"/usr/
"/etc/
"/etc/
)
======
Nowhere is ml2_conf.ini (or the symlinked plugin.ini) referenced. If we try starting the service manually with the proper configuration files, it starts just fine:
======
/usr/bin/
======
So, it would appear that either the init script is out of date (indicating a dev bug), or the docs are out of date. If it's the latter, there are two options:
1. Delete /etc/neutron/
rm /etc/neutron/
ln -s /etc/neutron/
2. Edit /etc/init.
prog=
exec=
configs=(
"
"
"
)
I have confirmed that both solutions work just fine and the service starts properly after making either of these changes.
-------
Built: 2014-04-14T05:54:22 00:00
git SHA: 69e9a932b042f09
URL: http://
source File: file:/home/
xml:id: neutron-
description: | updated |
Changed in openstack-manuals: | |
status: | Triaged → In Progress |
Same problem exists when starting the neutron- openvswitch- agent service on the compute node: http:// docs.openstack. org/trunk/ install- guide/install/ yum/content/ neutron- ml2-compute- node.html
I assume this is just a packaging bug, and not actually a doc bug?