Bug 1212091

Summary: `openstack ip floating delete` fails if we specify IP address as input
Product: Red Hat OpenStack Reporter: Pratik Pravin Bandarkar <pbandark>
Component: python-openstackclientAssignee: Jason E. Rist <jrist>
Status: CLOSED WONTFIX QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: apevec, djuran, jruzicka, lhh, pkundal, srevivo
Target Milestone: ---Keywords: Reopened, Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 15:00:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.