[openstack-dev] [Openstack] devstack with neutron/quantum

Kyle Mestery (kmestery) kmestery at cisco.com
Thu Aug 1 17:03:30 UTC 2013


On Aug 1, 2013, at 11:56 AM, Eleouet Francois <f.eleouet at gmail.com>
 wrote:
> Hi,
> 
> The issue is tracked here: https://bugs.launchpad.net/neutron/+bug/1206013
> 
> s/cfg.NoSuchOptError/AttributeError/ in neutron/agent/linux/ip_lib.py
> worked well for me.
> 
I just replied on another thread for this, but this worked for me too:

This fixed it for me:

cd /usr/local/lib/python2.7/dist-packages
sudo rm -rf oslo*
sudo pip install --upgrade http://tarballs.openstack.org/oslo.config/oslo.config-1.2.0a3.tar.gz#egg=oslo.config-1.2.0a3

Thanks,
Kyle


> Francois.
> 
> 2013/8/1 Kyle Mestery (kmestery) <kmestery at cisco.com>:
>> 
>> On Jul 31, 2013, at 2:28 PM, Remo Mattei <remo at mattei.org> wrote:
>> 
>>> Hi everyone, I wonder if anyone has seen this error where neutron does
>>> not start. here is the error I get with devstack. Any suggestions are
>>> welcomed.
>>> 
>>> 
>>> Remo
>>> 
>>> remo at openstack-ub:~/devstack$ cd /opt/stack/neutron && python =
>>> /usr/local/bin/neutron-l3-agent --config-file /etc/neutron/neutron.conf =
>>> --config-file=3D/etc/neutron/l3_agent.ini || touch =
>>> "/opt/stack/status/stack/q-l3.failure"
>>> 2013-07-31 13:05:07.698 18378 INFO neutron.common.config [-] Logging =
>>> enabled!
>>> 2013-07-31 13:05:07.703 18378 ERROR neutron.common.legacy [-] Skipping =
>>> unknown group key: firewall_driver
>>> 2013-07-31 13:05:07.703 18378 DEBUG neutron.common.utils [-] Reloading =
>>> cached file /etc/neutron/policy.json read_cached_file =
>>> /opt/stack/neutron/neutron/common/utils.py:55
>>> 2013-07-31 13:05:07.704 18378 DEBUG neutron.policy [-] loading policies =
>>> from file: /etc/neutron/policy.json _set_rules =
>>> /opt/stack/neutron/neutron/policy.py:88
>>> 2013-07-31 13:05:07.705 18378 CRITICAL neutron [-]
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron Traceback (most recent call =
>>> last):
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/usr/local/bin/neutron-l3-agent", line 10, in <module>
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     sys.exit(main())
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/agent/l3_agent.py", line 833, in main
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     =
>>> manager=3D'neutron.agent.l3_agent.L3NATAgentWithStateReport')
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/service.py", line 204, in create
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     =
>>> periodic_fuzzy_delay=3Dperiodic_fuzzy_delay)
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/service.py", line 137, in __init__
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     self.manager =3D =
>>> manager_class(host=3Dhost, *args, **kwargs)
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/agent/l3_agent.py", line 756, in __init__
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     =
>>> super(L3NATAgentWithStateReport, self).__init__(host=3Dhost, conf=3Dconf)
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/agent/l3_agent.py", line 213, in __init__
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     =
>>> self._destroy_router_namespaces(self.conf.router_id)
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/agent/l3_agent.py", line 228, in =
>>> _destroy_router_namespaces
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     root_ip =3D =
>>> ip_lib.IPWrapper(self.root_helper)
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 82, in __init__
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     namespace=3Dnamespace)
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/neutron/neutron/agent/linux/ip_lib.py", line 39, in __init__
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     self.force_root =3D =
>>> cfg.CONF.ip_lib_force_root
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron   File =
>>> "/opt/stack/oslo.config/oslo/config/cfg.py", line 1626, in __getattr__
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron     raise AttributeError
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron AttributeError
>>> 2013-07-31 13:05:07.705 18378 TRACE neutron=
>>> 
>> I'm seeing this error with the latest neutron and devstack as well, and I
>> haven't figured out a way around it now. Moving this to the openstack-dev
>> list to get some additional eyes on this as well.
>> 
>> Kyle
>> 
>>> _______________________________________________
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> 
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





More information about the OpenStack-dev mailing list