← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 886284] Re: NetworkManager should check instance is exist or not

 

** 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/886284

Title:
  NetworkManager should check instance is exist or not

Status in OpenStack Compute (Nova):
  Invalid

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()

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