← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1507585] [NEW] the neutron prompt inaccuracy information when delete the interface from a router

 

Public bug reported:

reproduce step
1 when I try to delete a interface from a router , the neutron ask a subnet-ID instead of interface ID , but the help prompt the direct me input a INTERFACE ID,
I don't know what different with interface ID and subnet ID ?  but I think this should be  have a reproduce step consistent name or prompt
[root@nitinserver1 ~(keystone_admin)]# neutron router-interface-delete fe765595-3749-40df-82bf-5c985701080f
usage: neutron router-interface-delete [-h] [--request-format {json,xml}]
                                       ROUTER INTERFACE<<<<<<<<<<<<<<<<<<<<<
neutron router-interface-delete: error: too few arguments
[root@nitinserver1 ~(keystone_admin)]# neutron router-interface-delete fe765595-3749-40df-82bf-5c985701080f 6fcd183a-585b-434c-be45-bb8abbb946b5
Unable to find subnet with name '6fcd183a-585b-434c-be45-bb8abbb946b5'<<<<<<<<<<<<<<<<<<<<<
[root@nitinserver1 ~(keystone_admin)]# neutron router-interface-delete fe765595-3749-40df-82bf-5c985701080f 7ef8b18b-489f-4f9c-922b-685651fc6eb6
Removed interface from router fe765595-3749-40df-82bf-5c985701080f.
[root@nitinserver1 ~(keystone_admin)]# neutron   router-port-list    fe765595-3749-40df-82bf-5c985701080f
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                       |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
| c46628a7-3448-43b5-bf58-5fb832e38c21 |      | fa:16:3e:b7:d7:7d | {"subnet_id": "7ab67bd0-7cb0-4e47-bd2e-0aa277ebc31c", "ip_address": "20.1.1.1"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
[root@nitinserver1 ~(keystone_admin)]#

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1507585

Title:
  the neutron prompt inaccuracy information when  delete the interface
  from  a router

Status in neutron:
  New

Bug description:
  reproduce step
  1 when I try to delete a interface from a router , the neutron ask a subnet-ID instead of interface ID , but the help prompt the direct me input a INTERFACE ID,
  I don't know what different with interface ID and subnet ID ?  but I think this should be  have a reproduce step consistent name or prompt
  [root@nitinserver1 ~(keystone_admin)]# neutron router-interface-delete fe765595-3749-40df-82bf-5c985701080f
  usage: neutron router-interface-delete [-h] [--request-format {json,xml}]
                                         ROUTER INTERFACE<<<<<<<<<<<<<<<<<<<<<
  neutron router-interface-delete: error: too few arguments
  [root@nitinserver1 ~(keystone_admin)]# neutron router-interface-delete fe765595-3749-40df-82bf-5c985701080f 6fcd183a-585b-434c-be45-bb8abbb946b5
  Unable to find subnet with name '6fcd183a-585b-434c-be45-bb8abbb946b5'<<<<<<<<<<<<<<<<<<<<<
  [root@nitinserver1 ~(keystone_admin)]# neutron router-interface-delete fe765595-3749-40df-82bf-5c985701080f 7ef8b18b-489f-4f9c-922b-685651fc6eb6
  Removed interface from router fe765595-3749-40df-82bf-5c985701080f.
  [root@nitinserver1 ~(keystone_admin)]# neutron   router-port-list    fe765595-3749-40df-82bf-5c985701080f
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  | id                                   | name | mac_address       | fixed_ips                                                                       |
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  | c46628a7-3448-43b5-bf58-5fb832e38c21 |      | fa:16:3e:b7:d7:7d | {"subnet_id": "7ab67bd0-7cb0-4e47-bd2e-0aa277ebc31c", "ip_address": "20.1.1.1"} |
  +--------------------------------------+------+-------------------+---------------------------------------------------------------------------------+
  [root@nitinserver1 ~(keystone_admin)]#

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


Follow ups