Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 920207

Summary: quantum floatingip-disassociate help and message is incorrect
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: python-neutronclientAssignee: Jakub Ruzicka <jruzicka>
Status: CLOSED CURRENTRELEASE QA Contact: Ofer Blaut <oblaut>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.0 (Folsom)CC: chrisw, jkt
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutronclient-2.2.4-1.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-14 06:46:19 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:
Attachments:
Description Flags
example none

Description Ofer Blaut 2013-03-11 14:57:36 UTC
Description of problem:

quantum floatingip-disassociate help and message is incorrect 


1. quantum floatingip-disassociate 192.168.0.4 

Floating IP 192.168.0.4 could not be found ( it sould be ID is not found )

2.  HELP 

quantum help floatingip-disassociate 
usage: quantum floatingip-disassociate [-h] [--request-format {json,xml}]
                                       floatingip-id

Remove a mapping from a floating ip to a fixed ip.

positional arguments:
  floatingip-id         IP address of the floating IP to associate

explanation should be " ID of the floating IP to disassociate"

and not the one above 




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


How reproducible:


Steps to Reproduce:
1.create floatingip and associate
2.try to floatingip-disassociate  with wrong ID or IP
3.Check help explanation 
  
Actual results:


Expected results:


Additional info:

Comment 1 Ofer Blaut 2013-03-11 14:59:26 UTC
Created attachment 708451 [details]
example

Comment 5 Jakub Ruzicka 2013-11-05 16:13:01 UTC
This has been fixed in quantumclient 2.2.0 by

https://github.com/openstack/python-neutronclient/commit/f96219d67a56976e69a4b22d7efe7229d5e20345

so this is fixed in all neutronclient versions.

Comment 7 Ofer Blaut 2013-11-14 06:46:19 UTC
This can is verified

[root@puma04 ~(keystone_admin)]# neutron help floatingip-disassociate 
usage: neutron floatingip-disassociate [-h] [--request-format {json,xml}]
                                       FLOATINGIP_ID

Remove a mapping from a floating ip to a fixed ip.

positional arguments:
  FLOATINGIP_ID         ID of the floating IP to associate

optional arguments:
  -h, --help            show this help message and exit
  --request-format {json,xml}
                        the xml or json request format
[root@puma04 ~(keystone_admin)]# 

python-neutronclient-2.3.1-2.el6ost.noarch