nova-manage floating list returns error if no floating IPs

Bug #932071 reported by Lorin Hochstein
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Russell Bryant

Bug Description

Version: Diablo (2011.3.1)

If there are no floating IPs, "nova-manage floating list" returns an error message:

# nova-manage floating list
Command failed, please check log for more info

Would improve usability if it returned a message that said "No floating IPs have been defined".

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/4214

Changed in nova:
assignee: nobody → Russell Bryant (russellb)
status: New → In Progress
Changed in nova:
importance: Undecided → Low
Changed in nova:
milestone: none → essex-4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4214
Committed: http://github.com/openstack/nova/commit/b01933a2dcb6386ed89684d319bbe6a964d30402
Submitter: Jenkins
Branch: master

commit b01933a2dcb6386ed89684d319bbe6a964d30402
Author: Russell Bryant <email address hidden>
Date: Wed Feb 15 17:08:36 2012 -0500

    Print friendly message if no floating IPs exist.

    Fix bug 932071.

    Print out a friendly message from nova-manage when the "floating list"
    command is issued but no floating IPs have been defined. Prior to this
    change, a generic error message would be printed, pointing to the log
    for further details.

    Change-Id: I0d11f93e9f51cf4e99e319bc9296f73380564257

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.