yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03549
[Bug 1198917] Re: neutron net-create failed
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1198917
Title:
neutron net-create failed
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
I ran devstack with neutron.
And neutron net-create failed.
2013-07-08 10:37:48 ++ neutron net-create --tenant_id 5cb1c99537bd434d9d4723ec796a61fa private
2013-07-08 10:37:48 Request Failed: internal server error while processing your request.
2013-07-08 10:37:48 + NET_ID=
q-svc's log:
2013-07-08 10:37:48.574 21207 ERROR neutron.api.v2.resource [-] create failed
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource Traceback (most recent call last):
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 82, in resource
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource result = method(request=request, **args)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 336, in create
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource body)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/openstack/common/notifier/api.py", line 137, in notify
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource for driver in _get_drivers():
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/openstack/common/notifier/api.py", line 156, in _get_drivers
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource add_driver(notification_driver)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/openstack/common/notifier/api.py", line 168, in add_driver
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource driver = importutils.import_module(notification_driver)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/neutron/neutron/openstack/common/importutils.py", line 59, in import_module
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource __import__(import_str)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/quantum/quantum/openstack/common/notifier/rpc_notifier.py", line 20, in <module>
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource from quantum.openstack.common import log as logging
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/opt/stack/quantum/quantum/openstack/common/log.py", line 158, in <module>
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource CONF.register_cli_opts(common_cli_opts)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1229, in __inner
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource return f(self, *args, **kwargs)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1383, in register_cli_opts
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource self.register_cli_opt(opt, group, clear_cache=False)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1229, in __inner
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource return f(self, *args, **kwargs)
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1375, in register_cli_opt
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource raise ArgsAlreadyParsedError("cannot register CLI option")
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
2013-07-08 10:37:48.574 21207 TRACE neutron.api.v2.resource
The cause is the default configuration value in etc/neutron.conf:
notification_driver = quantum.openstack.common.notifier.rpc_notifier
I changed 'quantum' to 'neutron', then this problem was solved.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1198917/+subscriptions