← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1534186] [NEW] Nova remove-fixed-ip doesn't return an error message when incorrect fixed IP is removed

 

Public bug reported:

Reproduce steps:
1. Create net01: net01__subnet, 192.168.1.0/24:
neutron net-create net01
neutron subnet-create net01 192.168.1.0/24 --enable-dhcp --name net01__subnet
2. Boot instance vm1 in net01:
NET_ID=$(neutron net-list | grep 'net01' | awk '{print $2}')
nova boot --flavor m1.micro --image TestVM --nic net-id=$NET_ID --security-groups default vm1 
3. Note the fixed IP of vm1:
nova show vm1 | grep network
| net01 network                        | 192.168.1.36                                             |
4. Try to remove incorrect fixed IP from vm1:
nova remove-fixed-ip vm1 192.168.1.37

Expected result:
A message appears informing that the operation was not correct

Actual result:
Nothing happens and displayed


Nova version - http://paste.openstack.org/show/483603/

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Nova remove-fixed-ip doesn't return an error message when incorrect
  fixed IP is removed

Status in OpenStack Compute (nova):
  New

Bug description:
  Reproduce steps:
  1. Create net01: net01__subnet, 192.168.1.0/24:
  neutron net-create net01
  neutron subnet-create net01 192.168.1.0/24 --enable-dhcp --name net01__subnet
  2. Boot instance vm1 in net01:
  NET_ID=$(neutron net-list | grep 'net01' | awk '{print $2}')
  nova boot --flavor m1.micro --image TestVM --nic net-id=$NET_ID --security-groups default vm1 
  3. Note the fixed IP of vm1:
  nova show vm1 | grep network
  | net01 network                        | 192.168.1.36                                             |
  4. Try to remove incorrect fixed IP from vm1:
  nova remove-fixed-ip vm1 192.168.1.37

  Expected result:
  A message appears informing that the operation was not correct

  Actual result:
  Nothing happens and displayed

  
  Nova version - http://paste.openstack.org/show/483603/

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


Follow ups