'nova-manage floating list' calls undefined method 'floating_ip_get_all'

Bug #918804 reported by Cole Robinson
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Dean Troyer

Bug Description

From a fresh git checkout:

$ sudo ./tools/with_venv.sh bin/nova-manage floating list
Command failed, please check log for more info
2012-01-19 12:14:30,109 CRITICAL nova [req-a0d83799-4c03-499b-a63b-4abd97bef227 None None] 'module' object has no attribute 'floating_ip_get_all'
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "bin/nova-manage", line 2382, in <module>
(nova): TRACE: main()
(nova): TRACE: File "bin/nova-manage", line 2370, in main
(nova): TRACE: fn(*fn_args, **fn_kwargs)
(nova): TRACE: File "bin/nova-manage", line 721, in list
(nova): TRACE: floating_ips = db.floating_ip_get_all(ctxt)
(nova): TRACE: AttributeError: 'module' object has no attribute 'floating_ip_get_all'
(nova): TRACE:

Cole Robinson (crobinso)
summary: - nova-manage floating list broken in git
+ 'nova-manage floating list' broken in git
Revision history for this message
Brian Waldon (bcwaldon) wrote : Re: 'nova-manage floating list' broken in git

looks like we only support floating_ip_get_all_by_project and _by_host

Changed in nova:
status: New → Triaged
importance: Undecided → Medium
summary: - 'nova-manage floating list' broken in git
+ 'nova-manage floating list' calls undefined method 'floating_ip_get_all'
Brian Waldon (bcwaldon)
Changed in nova:
assignee: nobody → Dean Troyer (dtroyer)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/3227
Committed: http://github.com/openstack/nova/commit/8333a1533c201a7aead2b9e422dea13a0c9e7a97
Submitter: Jenkins
Branch: master

commit 8333a1533c201a7aead2b9e422dea13a0c9e7a97
Author: Dean Troyer <email address hidden>
Date: Tue Jan 17 12:30:59 2012 -0600

    Fix nova-manage floating list (fixes bug 918804)

    https://review.openstack.org/2922 broke nova-manage floating list
    * Restore db.floating_ip_get_all
    * Update instance display in nova-manage

    Change-Id: I526237401371a21eafbd9b571f9b4a17a534c1c6

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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