← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1185922] Re: bad network format error happen sometimes with no reason

 

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  bad network format error happen sometimes with no reason

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  I'm doing a instance provision test based on Grizzly.

  While some times the first instance I created always met the error:
   Bad networks format (HTTP 400)

  I checked the code in  /usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py, looks like it happens in function _get_requested_networks:
                  # For quantumv2, requestd_networks
                  # should be tuple of (network_uuid, fixed_ip, port_id)
                  if self._is_quantum_v2():
                      networks.append((network_uuid, address, port_id))
                  else:

  And it is reported as a TypeErr exception.

  But, all later instances I have used the same command to boot up just works fine.
  And, I add some debug output in the code, restart nova-api several times, the issue just gone.

  Anyone know why this happen ?

  Thanks.
  -chen

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