"nova-manage fixed list" no longer works

Bug #938702 reported by Andrew Glen-Young
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Adam Gandelman
nova (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After upgrading the Openstack packages in Precise this morning to the latest version, I have found that nova-manage doesn't support the "fixed" (fixed-ip) catagory.

The traceback:

$ sudo nova-manage fixed list
No handlers could be found for logger "nova.virt.libvirt.firewall"
2012-02-22 14:05:15,736 DEBUG nova.utils [req-0045d8e9-90d7-460f-8bc9-159789311f20 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=14031) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:587
network IP address hostname host
Command failed, please check log for more info
2012-02-22 14:05:15,898 CRITICAL nova [req-0045d8e9-90d7-460f-8bc9-159789311f20 None None] 'FixedIp' object has no attribute 'instance'
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/nova-manage", line 2372, in <module>
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/nova-manage", line 2359, in main
(nova): TRACE: fn(*fn_args, **fn_kwargs)
(nova): TRACE: File "/usr/bin/nova-manage", line 654, in list
(nova): TRACE: if fixed_ip['instance']:
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 75, in __getitem__
(nova): TRACE: return getattr(self, key)
(nova): TRACE: AttributeError: 'FixedIp' object has no attribute 'instance'
(nova): TRACE:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

$ dpkg-query --show nova-*
nova-api 2012.1~e4~20120217.12709-0ubuntu1
nova-common 2012.1~e4~20120217.12709-0ubuntu1
nova-doc 2012.1~e4~20120217.12709-0ubuntu1
nova-network 2012.1~e4~20120217.12709-0ubuntu1
nova-objectstore 2012.1~e4~20120217.12709-0ubuntu1
nova-scheduler 2012.1~e4~20120217.12709-0ubuntu1

$ dpkg-query --show python-nova*
python-nova 2012.1~e4~20120217.12709-0ubuntu1
python-novaclient 2012.1~e4~20120203.484-0ubuntu1

Tags: canonistack
Changed in nova (Ubuntu):
status: New → Confirmed
Changed in nova:
status: New → Confirmed
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/4404

Changed in nova:
assignee: nobody → Adam Gandelman (gandelman-a)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/4404
Committed: http://github.com/openstack/nova/commit/74396d58810e9851a6d33aef3dc3b2185154abcb
Submitter: Jenkins
Branch: master

commit 74396d58810e9851a6d33aef3dc3b2185154abcb
Author: Adam Gandelman <email address hidden>
Date: Wed Feb 22 10:58:12 2012 -0800

    nova-manage: Fix 'fixed list'

    Fix 'nova-manage fixed list'

    Fixes bug 938702

    Change-Id: I65a0a57ac8e16b605eeee963146d4dba582dc077

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
James Troup (elmo)
tags: added: canonistack
Vibhav Pant (vibhavp)
Changed in nova (Ubuntu):
assignee: nobody → Vibhav Pant (vibhavp)
Vibhav Pant (vibhavp)
Changed in nova (Ubuntu):
assignee: Vibhav Pant (vibhavp) → nobody
Changed in nova (Ubuntu):
status: Confirmed → 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.