The problem is that in nova-manage, the code catches
exception.NetworkNotFound and blindly say "Command failed, please check
log for more info" regardless what the exception might be.

With latest code as July 17, 2012,  in the scenario you described, the
following command will both produce that error.

with latest code, July 17, 2012,

$nova-manage fixed list 
network                 IP address      hostname        host
10.0.0.0/24             10.0.0.0        None            None
10.0.0.0/24             10.0.0.1        None            None
10.0.0.0/24             10.0.0.2        None            None
10.0.0.0/24             10.0.0.3        None            None
10.0.0.0/24             10.0.0.4        None            None

$nova-manage network list
id      IPv4                    IPv6            start address   DNS1            
DNS2            VlanID          project         uuid
1       10.0.0.0/24             None            10.0.0.2        8.8.4.4         
None            None            None            
0440a6eb-9407-4aeb-a9db-05c38211ee0a

$nova-manage network delete 10.0.0.0/24

$nova-manage fixed list
network                 IP address      hostname        host
Command failed, please check log for more info

$ nova-manage network list
id      IPv4                    IPv6            start address   DNS1            
DNS2            VlanID          project         uuid
Command failed, please check log for more info

The fixes should be in file nova/bin/nova-manage

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1021810

Title:
  `nova-manage fixed list` fails if network has been deleted

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to