yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11414
[Bug 1291103] [NEW] admin_state_up check broken for update network in PLUMgrid Neutron Plugin
Public bug reported:
in update_network API call, the network dictionary has the contents:
{u'network': {u'admin_state_up': True}}
_network_admin_state functions expects network name in the dictionary
and it raises error. This has to be fixed. Network name should not be
expected.
2014-03-11 16:20:41.920 29794 ERROR neutron.api.v2.resource [-] update failed
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource Traceback (most recent call last):
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 84, in resource
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource result = method(request=request, **args)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 486, in update
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource obj = obj_updater(request.context, id, **kwargs)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py", line 233, in inner
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource retval = f(*args, **kwargs)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/plugins/plumgrid/plumgrid_plugin/plumgrid_plugin.py", line 133, in update_network
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource self._network_admin_state(network)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/plugins/plumgrid/plumgrid_plugin/plumgrid_plugin.py", line 597, in _network_admin_state
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource raise plum_excep.PLUMgridException(err_msg=err_message)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource PLUMgridException: An unexpected error occurred in the PLUMgrid Plugin: Network Admin State Validation Falied:
** Affects: neutron
Importance: Undecided
Assignee: Fawad Khaliq (fawad)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Fawad Khaliq (fawad)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1291103
Title:
admin_state_up check broken for update network in PLUMgrid Neutron
Plugin
Status in OpenStack Neutron (virtual network service):
New
Bug description:
in update_network API call, the network dictionary has the contents:
{u'network': {u'admin_state_up': True}}
_network_admin_state functions expects network name in the dictionary
and it raises error. This has to be fixed. Network name should not be
expected.
2014-03-11 16:20:41.920 29794 ERROR neutron.api.v2.resource [-] update failed
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource Traceback (most recent call last):
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 84, in resource
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource result = method(request=request, **args)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 486, in update
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource obj = obj_updater(request.context, id, **kwargs)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/openstack/common/lockutils.py", line 233, in inner
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource retval = f(*args, **kwargs)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/plugins/plumgrid/plumgrid_plugin/plumgrid_plugin.py", line 133, in update_network
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource self._network_admin_state(network)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/plugins/plumgrid/plumgrid_plugin/plumgrid_plugin.py", line 597, in _network_admin_state
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource raise plum_excep.PLUMgridException(err_msg=err_message)
2014-03-11 16:20:41.920 29794 TRACE neutron.api.v2.resource PLUMgridException: An unexpected error occurred in the PLUMgrid Plugin: Network Admin State Validation Falied:
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1291103/+subscriptions
Follow ups
References