← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1163670] Re: Cannot boot Nova as quantum throws 404 when Floating IP extension unavailable

 

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

** Changed in: nova
    Milestone: None => havana-1

-- 
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/1163670

Title:
  Cannot boot Nova as quantum throws 404 when Floating IP extension
  unavailable

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

Bug description:
  Running with grizzly-stable.

  Unable to boot nova when the quantum plug in does not support the
  Floating IP Extension.

  The issue is with the 'self._get_floating_ips_by_fixed_and_port'.  If
  the extension in quantum that supports that is not available, then
  this whole method throws an error (the 404 error thrown by Quantum).

  The exception looks like the following.
  ************************************************************
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1317, in _delete_instance
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp project_id=project_id)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp self.gen.next()
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1290, in _delete_instance
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp self._shutdown_instance(context, instance, bdms)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1215, in _shutdown_instance
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp network_info = self._get_instance_nw_info(context, instance)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 668, in _get_instance_nw_info
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp instance, conductor_api=self.conductor_api)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/api.py", line 361, in get_instance_nw_info
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp result = self._get_instance_nw_info(context, instance, networks)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/api.py", line 369, in _get_instance_nw_info
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp nw_info = self._build_network_info_model(context, instance, networks)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/ibmpowervm_api.py", line 27, in _build_network_info_model
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp networks)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/api.py", line 810, in _build_network_info_model
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp client, fixed_ip['ip_address'], port['id'])
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/quantumv2/api.py", line 725, in _get_floating_ips_by_fixed_and_port
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp data = client.list_floatingips(fixed_ip_address=fixed_ip, port_id=port)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 107, in with_params
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp ret = self.function(instance, *args, **kwargs)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 434, in list_floatingips
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp **_params)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 996, in list
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp for r in self._pagination(collection, path, **params):
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 1009, in _pagination
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp res = self.get(path, params=params)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 982, in get
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp headers=headers, params=params)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 967, in retry_request
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp headers=headers, params=params)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 912, in do_request
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp self._handle_fault_response(status_code, replybody)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 893, in _handle_fault_response
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp exception_handler_v20(status_code, des_error_body)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", line 87, in exception_handler_v20
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp message=message)
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp QuantumClientException: 404 Not Found
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp The resource could not be found.
  2013-03-30 11:39:52.112 16073 TRACE nova.openstack.common.rpc.amqp
  ************************************************************

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