NetworkManager should check instance is exist or not

Bug #886284 reported by Nachi Ueno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned

Bug Description

NetworkManager.allocate_for_instance should check instance is exist or not, then if the instance is not exists, throw NotFound exception.
https://github.com/openstack/nova/blob/master/nova/network/manager.py#L206

FloatingIP.allocate_for_instance()
FloatingIP.deallocate_for_instance()
NetworkManager.set_network_host()
NetworkManager.deallocate_for_instance()
NetworkManager.get_instance_nw_info()
NetworkManager.add_virtual_interface()
NetworkManager.add_fixed_ip_to_instance()
NetworkManager.remove_fixed_ip_from_instance()
NetworkManager.allocate_fixed_ip()
VlanManager.allocate_fixed_ip()

Nachi Ueno (nati-ueno)
Changed in openstack-qa:
assignee: nobody → Nachi Ueno (nati-ueno)
status: New → Confirmed
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Nachi Ueno (nati-ueno)
Changed in openstack-qa:
assignee: Nachi Ueno (nati-ueno) → nobody
Changed in nova:
assignee: nobody → Bavirisetty Ramya (bavirisetty-ramya)
status: Confirmed → In Progress
Changed in nova:
assignee: Bavirisetty Ramya (bavirisetty-ramya) → nobody
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Confirmed
Revision history for this message
András Gyácsok (atti-dyachok) wrote :

Hi guys, could you tell me please is this ticket still valid? ( In the Havana relise we can not launch instance without network)

Tom Fifield (fifieldt)
Changed in nova:
status: Confirmed → Incomplete
Tom Fifield (fifieldt)
no longer affects: openstack-qa
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.