OpenStack Compute (Nova)

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

Reported by Cole Robinson on 2012-01-19
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2012-01-19
summary: - nova-manage floating list broken in git
+ '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) on 2012-01-20
Changed in nova:
assignee: nobody → Dean Troyer (dtroyer)
status: Triaged → In Progress

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) on 2012-01-25
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers