← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1171636] Re: nova interface-attach fails with quantum

 

** Changed in: nova/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1171636

Title:
  nova interface-attach fails with quantum

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  2013-04-22 15:12:07    ERROR [nova.openstack.common.rpc.amqp] Exception during message handling
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 433, in _process_data
      **args)
    File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 148, in dispatch
      return getattr(proxyobj, method)(ctxt, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 3046, in attach_interface
      self.conductor_api)
    File "/opt/stack/nova/nova/network/api.py", line 47, in wrapper
      res = f(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 342, in allocate_port_for_instance
      conductor_api=conductor_api)
    File "/opt/stack/nova/nova/network/api.py", line 47, in wrapper
      res = f(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 286, in allocate_for_instance
      nw_info = self._get_instance_nw_info(context, instance, networks=nets)
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 383, in _get_instance_nw_info
      nw_info = self._build_network_info_model(context, instance, networks)
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 827, in _build_network_info_model
      [n['id'] for n in networks])
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 984, in _ensure_requested_network_ordering
      unordered.sort(key=lambda i: preferred.index(accessor(i)))
    File "/opt/stack/nova/nova/network/quantumv2/api.py", line 984, in <lambda>
      unordered.sort(key=lambda i: preferred.index(accessor(i)))
  ValueError: u'474719de-5160-48a9-8741-dcf3ff859978' is not in list
  2013-04-22 15:12:07    ERROR [nova.openstack.common.rpc.common] Returning exception u'474719de-5160-48a9-8741-dcf3ff859978' is not in list to caller
  2013-04-22 15:12:07    ERROR [nova.openstack.common.rpc.common] ['Traceback (most recent call last):\n', '  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 433, in _process_data\n    **args)\n', '  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 148, in dispatch\n    return getattr(proxyobj, method)(ctxt, **kwargs)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 3046, in attach_interface\n    self.conductor_api)\n', '  File "/opt/stack/nova/nova/network/api.py", line 47, in wrapper\n    res = f(self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/network/quantumv2/api.py", line 342, in allocate_port_for_instance\n    conductor_api=conductor_api)\n', '  File "/opt/stack/nova/nova/network/api.py", line 47, in wrapper\n    res = f(self, context, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/network/quantumv2/api.py", line 286, in allocate_for_instance\n    nw_info = self._get_instance_nw_info(context, instance, networks=nets)\n', '  File "/opt/stack/nova/nova/network/quantumv2/api.py", line 383, in _get_instance_nw_info\n    nw_info = self._build_network_info_model(context, instance, networks)\n', '  File "/opt/stack/nova/nova/network/quantumv2/api.py", line 827, in _build_network_info_model\n    [n[\'id\'] for n in networks])\n', '  File "/opt/stack/nova/nova/network/quantumv2/api.py", line 984, in _ensure_requested_network_ordering\n    unordered.sort(key=lambda i: preferred.index(accessor(i)))\n', '  File "/opt/stack/nova/nova/network/quantumv2/api.py", line 984, in <lambda>\n    unordered.sort(key=lambda i: preferred.index(accessor(i)))\n', "ValueError: u'474719de-5160-48a9-8741-dcf3ff859978' is not in list\n"]

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1171636/+subscriptions