[Bug 938702] [NEW] "nova-manage fixed list" no longer works

Andrew Glen-Young 938702 at bugs.launchpad.net
Wed Feb 22 14:14:17 UTC 2012

Public bug reported:

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_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

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.

  "nova-manage fixed list" no longer works

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list