Bug 1212091 - `openstack ip floating delete` fails if we specify IP address as input
Summary: `openstack ip floating delete` fails if we specify IP address as input
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-openstackclient
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Jason E. Rist
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 14:20 UTC by Pratik Pravin Bandarkar
Modified: 2019-07-11 08:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 15:00:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pratik Pravin Bandarkar 2015-04-15 14:20:23 UTC
Description of problem:

# openstack ip floating delete xx.xx.xx.xx
ERROR: openstack No floatingip with a name or ID of 'xx.xx.xx.xx' exists.

`openstack ip floating delete` command expects either name or ID of floating IP. But, from help page I can see that:
<snip>
# openstack help  ip floating delete
usage: openstack ip floating delete [-h] <ip-address>

Delete a floating-ip

positional arguments:
  <ip-address>  IP address to delete  <=========

optional arguments:
  -h, --help    show this help message and exit
</snip>

Help page is suggesting to enter "ip-address". So, have `openstack ip floating delete` to accept "ip-address" as valid input.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
openstack ip floating delete xx.xx.xx.xx command fails if we specify IP address. 

Expected results:
`openstack ip floating delete` command should access "ip-address" as valid input.

Additional info:

Comment 2 Chandan Kumar 2016-05-19 15:31:22 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.

Comment 3 David Juran 2016-05-23 15:11:18 UTC
At least python-openstackclient-17..2-1.el7ost in OSP8 still doesn't accept an IP address as an argument to 'opestack if floating delete'. Only a id of an floating IP will do

Comment 5 Jason E. Rist 2018-10-30 15:00:41 UTC
We will not have time to get to this before the end of 8.0.z. Please re-open if urgent.


Note You need to log in before you can comment on or make changes to this bug.