← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: openstack-qa
       Status: In Progress => Won't Fix

-- 
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 fould in
  network manager

Status in OpenStack Compute (Nova):
  Confirmed
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