[Bug 1303517] [NEW] Typo on ml2_conf.ini triggers an error on neutron-plugin-openvswitch-agent startup

Thiago Martins thiagocmartinsc at gmail.com
Mon Apr 7 00:28:38 UTC 2014


Public bug reported:

Guys,

By default, the ml2_conf.ini conf file from the .deb package (IceHouse
rc1 - Ubuntu 14.04) comes with:

-
[security_group]
-

...BUT, this triggers the following error on neutron-plugin-openvswitch-
agent startup:

---
2014-04-06 21:17:56.987 12364 CRITICAL neutron [req-d1256f42-7bea-4bc4-8efb-4b825c5e0c78 None] 'NoneType' object has no attribute 'rpartition'
2014-04-06 21:17:56.987 12364 TRACE neutron Traceback (most recent call last):
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/bin/neutron-openvswitch-agent", line 10, in <module>
2014-04-06 21:17:56.987 12364 TRACE neutron     sys.exit(main())
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1360, in main
2014-04-06 21:17:56.987 12364 TRACE neutron     agent = OVSNeutronAgent(**agent_config)
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 223, in __init__
2014-04-06 21:17:56.987 12364 TRACE neutron     root_helper)
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 114, in __init__
2014-04-06 21:17:56.987 12364 TRACE neutron     self.init_firewall(defer_refresh_firewall=True)
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 140, in init_firewall
2014-04-06 21:17:56.987 12364 TRACE neutron     self.firewall = importutils.import_object(firewall_driver)
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/importutils.py", line 38, in import_object
2014-04-06 21:17:56.987 12364 TRACE neutron     return import_class(import_str)(*args, **kwargs)
2014-04-06 21:17:56.987 12364 TRACE neutron   File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/importutils.py", line 26, in import_class
2014-04-06 21:17:56.987 12364 TRACE neutron     mod_str, _sep, class_str = import_str.rpartition('.')
2014-04-06 21:17:56.987 12364 TRACE neutron AttributeError: 'NoneType' object has no attribute 'rpartition'
2014-04-06 21:17:56.987 12364 TRACE neutron 
---

Renaming it to:

-
[securitygroup]
-

...Apparently fixed the problem...

Tks!
Thiago

** Affects: neutron (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1303517

Title:
  Typo on ml2_conf.ini triggers an error on neutron-plugin-openvswitch-
  agent startup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1303517/+subscriptions



More information about the Ubuntu-server-bugs mailing list