yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05424
[Bug 1218588] Re: Cisco N1K plugin: Network creation and Port creation dont go through when no profile id is specified.
** 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/1218588
Title:
Cisco N1K plugin: Network creation and Port creation dont go through
when no profile id is specified.
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
Plugin: Cisco plugin with N1KV.
n1kv:profile_id is mandatory and hence the network and port creation dont go through if no n1kv:profile_id parameter is passed.
This raises a network binding/ port binding error.
2013-03-15 12:45:47 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': wsgify(quantum.api.v2.resource.resource, RequestClass=<class 'quantum.api.v2.resource.Request'>), 'format': u'json'}
2013-03-15 12:45:47 ERROR [quantum.api.v2.resource] index failed
Traceback (most recent call last):
File "/opt/stack/quantum/quantum/api/v2/resource.py", line 95, in resource
result = method(request=request, **args)
File "/opt/stack/quantum/quantum/api/v2/base.py", line 198, in index
return self._items(request, True)
File "/opt/stack/quantum/quantum/api/v2/base.py", line 168, in _items
obj_list = obj_getter(request.context, **kwargs)
File "/opt/stack/quantum/quantum/plugins/cisco/n1kv/n1k_quantum_plugin.py", line 427, in get_networks
self._extend_network_dict_provider(context, net)
File "/opt/stack/quantum/quantum/plugins/cisco/n1kv/n1k_quantum_plugin.py", line 159, in _extend_network_dict_provider
network[provider.NETWORK_TYPE] = binding.network_type
AttributeError: 'NoneType' object has no attribute 'network_type'
2013-03-15 12:45:47 DEBUG [eventlet.wsgi.server] 10.0.2.15 - - [15/Mar/2013 12:45:47] "GET //v2.0/networks.json?router%3Aexternal=True HTTP/1.1" 500 215 0.052251
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1218588/+subscriptions