← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1249065] Re: Nova throws 400 when attempting to add floating ip (instance.info_cache.network_info is empty)

 

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

** Changed in: nova/kilo
    Milestone: 2015.1.1 => 2015.1.3

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

Title:
  Nova throws 400 when attempting to add floating ip
  (instance.info_cache.network_info is empty)

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) kilo series:
  Fix Committed

Bug description:
  Ran into this problem in check-tempest-devstack-vm-neutron

   Traceback (most recent call last):
     File "tempest/scenario/test_snapshot_pattern.py", line 74, in test_snapshot_pattern
       self._set_floating_ip_to_server(server, fip_for_server)
     File "tempest/scenario/test_snapshot_pattern.py", line 62, in _set_floating_ip_to_server
       server.add_floating_ip(floating_ip)
     File "/opt/stack/new/python-novaclient/novaclient/v1_1/servers.py", line 108, in add_floating_ip
       self.manager.add_floating_ip(self, address, fixed_address)
     File "/opt/stack/new/python-novaclient/novaclient/v1_1/servers.py", line 465, in add_floating_ip
       self._action('addFloatingIp', server, {'address': address})
     File "/opt/stack/new/python-novaclient/novaclient/v1_1/servers.py", line 993, in _action
       return self.api.client.post(url, body=body)
     File "/opt/stack/new/python-novaclient/novaclient/client.py", line 234, in post
       return self._cs_request(url, 'POST', **kwargs)
     File "/opt/stack/new/python-novaclient/novaclient/client.py", line 213, in _cs_request
       **kwargs)
     File "/opt/stack/new/python-novaclient/novaclient/client.py", line 195, in _time_request
       resp, body = self.request(url, method, **kwargs)
     File "/opt/stack/new/python-novaclient/novaclient/client.py", line 189, in request
       raise exceptions.from_response(resp, body, url, method)
   BadRequest: No nw_info cache associated with instance (HTTP 400) (Request-ID: req-9fea0363-4532-4ad1-af89-114cff68bd89)

  Full console logs here: http://logs.openstack.org/27/55327/3/check
  /check-tempest-devstack-vm-neutron/8d26d3c/console.html

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