← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 872522] Re: NetworkNotFound should be raised when a network is not found in network manager

 

Believe this 3 year old bug is long-fixed. If the bug recurs, please
reopen.

** Summary changed:

- NetworkNotFound should be raised when a network is not fould in network manager
+ NetworkNotFound should be raised when a network is not found in network manager

** Changed in: nova
       Status: Confirmed => Fix Released

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

Title:
  NetworkNotFound should be raised when a network is not found in
  network manager

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack QA:
  Won't Fix

Bug description:
  db.network_get_by_cidr() can return None.
  In that case some method in network manager such as delete_network raises AttriuteError.
  But this is not informative. In this case, Network manager should throw exception.

  Following methods have same problem.
  - FloatingIP.associate_floating_ip()
  - NetworkManager._get_dhcp_ip()
  - NetworkManager.allocate_fixed_ip()
  - NetworkManager.deallocate_fixed_ip()
  - NetworkManager.lease_fixed_ip()
  - NetworkManager.release_fixed_ip()
  - NetworkManager.validate_networks()
  - VlanManager.allocate_fixed_ip()

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