bad network format error happen sometimes with no reason

Bug #1185922 reported by li,chen
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)

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/, 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))

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 ?


Tags: api network
tags: added: api network
Revision history for this message
Christopher Yeoh (cyeoh-0) wrote :

Could you add the full backtrace from the log file (as well as some of the log file before be useful) for the error you are seeing? Also if you restart all the nova services rather than just nova-api does it occur again?

Changed in nova:
status: New → Incomplete
Brent Eagles (beagles)
tags: added: neutron
tags: removed: neutron
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers