Unable to instantiate unregistered object type SecurityGroupRuleList

Bug #1264816 reported by Ming Lei
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Smith
nova (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1, The problem can be observed on both nova controller node and nova-compute node

2, the bug should be introduced recently, and looks the nova-compute package 2 weeks ago looks fine.

3, error log from nova-compute.log:
2013-12-28 11:30:01.697 1222 ERROR object [req-3ec971de-efb4-44cb-9205-662a53ea9299 None None] Unable to instantiate unregistered object type SecurityGroupRuleList
2013-12-28 11:30:01.700 1222 ERROR nova.openstack.common.rpc.amqp [req-3ec971de-efb4-44cb-9205-662a53ea9299 None None] Exception during message handling
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp **args)
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 584, in object_class_action
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp objver)
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 202, in obj_class_from_name
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp raise exception.UnsupportedObjectError(objtype=objname)
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp UnsupportedObjectError: Unsupported object type SecurityGroupRuleList
2013-12-28 11:30:01.700 1222 TRACE nova.openstack.common.rpc.amqp
2013-12-28 11:30:01.705 1222 ERROR nova.openstack.common.rpc.common [req-3ec971de-efb4-44cb-9205-662a53ea9299 None None] Returning exception Unsupported object type SecurityGroupRuleList to caller
2013-12-28 11:30:01.706 1222 ERROR nova.openstack.common.rpc.common [req-3ec971de-efb4-44cb-9205-662a53ea9299 None None] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data\n **args)\n', ' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 584, in object_class_action\n objver)\n', ' File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 202, in obj_class_from_name\n raise exception.UnsupportedObjectError(objtype=objname)\n', 'UnsupportedObjectError: Unsupported object type SecurityGroupRuleList\n']

Revision history for this message
Chuck Short (zulcss) wrote :

Which version of Nova?

Changed in nova (Ubuntu):
status: New → Incomplete
Joe Gordon (jogo)
Changed in nova:
status: New → Incomplete
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

I'm hitting this as well, after walking thru a Grizzly -> Havana -> Icehouse B1 upgrade. In my case, this happens at startup of nova-compute itself. Using nova-network flatdhcp multi_host, 2 compute nodes /w 2 local nova-network services. Startup fails on both. 1:2014.1~b1-0ubuntu2~cloud0. Will try with B2 snashot once its available in cloud archive.

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Full log of failed nova-compute startup @ http://paste.ubuntu.com/6823695/

Changed in nova:
status: Incomplete → Confirmed
Joe Gordon (jogo)
tags: added: unified-objects
Dan Smith (danms)
Changed in nova:
milestone: none → icehouse-rc1
Dan Smith (danms)
Changed in nova:
status: Confirmed → In Progress
importance: Undecided → High
Revision history for this message
Russell Bryant (russellb) wrote :
Changed in nova:
assignee: nobody → Dan Smith (danms)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/80588
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0d2cb6f2091c01c9e57fd9b3c9d723b3e3d7080c
Submitter: Jenkins
Branch: master

commit 0d2cb6f2091c01c9e57fd9b3c9d723b3e3d7080c
Author: Dan Smith <email address hidden>
Date: Fri Mar 14 07:30:38 2014 -0700

    Add security_group_rule to objects registry

    This adds the security_group_rule module to the objects registry,
    which allows a service to make sure that all of its objects are
    registered before any could be received over RPC.

    We don't really have a test for any of these because of the nature
    of how they're imported. Refactoring this later could provide some
    incremental steps to making this more testable.

    Change-Id: Ie96021f3cdeac6addab21c42a14cd8f136eb0b27
    Closes-Bug: #1264816

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: icehouse-rc1 → 2014.1
Revision history for this message
James Page (james-page) wrote :

Released in 14.04 - Marking Fix Released.

Changed in nova (Ubuntu):
status: Incomplete → Fix Released
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.