← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1513160] [NEW] UnsupportedObjectError on launching instance

 

You have been subscribed to a public bug:

I had setup a openstack in single machine beforea month ,  it worked
fine till I added a new nova-compute node.

After adding a new nova-compute node I am not able to launch an
instance. Launch getting stucked in build state.

Found following exception in nova-compute of new node:

2015-11-04 23:02:20.460 2164 ERROR object [req-1696a514-fc24-49c0-af84-ec35bf67f7b1 af26d0f550b242428e8600f8a90a0d79 ae1eb9a146ed4c3a9bf030c73567330e] Unable to instantiate unregistered object type NetworkRequestList
2015-11-04 23:02:20.461 2164 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Unsupported object type NetworkRequestList
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     new_args[argname] = self.serializer.deserialize_entity(ctxt, arg)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/rpc.py", line 111, in deserialize_entity
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     return self._base.deserialize_entity(context, entity)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 575, in deserialize_entity
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     entity = self._process_object(context, entity)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 542, in _process_object
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     objinst = NovaObject.obj_from_primitive(objprim, context=context)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 251, in obj_from_primitive
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     objclass = cls.obj_class_from_name(objname, objver)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 201, in obj_class_from_name
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher     raise exception.UnsupportedObjectError(objtype=objname)
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher UnsupportedObjectError: Unsupported object type NetworkRequestList
2015-11-04 23:02:20.461 2164 TRACE oslo.messaging.rpc.dispatcher 
2015-11-04 23:02:20.463 2164 ERROR oslo.messaging._drivers.common [-] Returning exception Unsupported object type NetworkRequestList to caller
2015-11-04 23:02:20.464 2164 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n    incoming.message))\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 121, in _do_dispatch\n    new_args[argname] = self.serializer.deserialize_entity(ctxt, arg)\n', '  File "/usr/lib/python2.7/dist-packages/nova/rpc.py", line 111, in deserialize_entity\n    return self._base.deserialize_entity(context, entity)\n', '  File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 575, in deserialize_entity\n    entity = self._process_object(context, entity)\n', '  File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 542, in _process_object\n    objinst = NovaObject.obj_from_primitive(objprim, context=context)\n', '  File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 251, in obj_from_primitive\n    objclass = cls.obj_class_from_name(objname, objver)\n', '  File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 201, in obj_class_from_name\n    raise exception.UnsupportedObjectError(objtype=objname)\n', 'UnsupportedObjectError: Unsupported object type NetworkRequestList\n']


nova conf of new node:
-----------------------------------


[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lib/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata
rabbit_host = controller
rpc_backend = rabbit
rabbit_password = "guest"
auth_strategy = keystone
my_ip = 192.168.3.105
network_api_class = nova.network.neutronv2.api.API
security_group_api = neutron
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
metadata_host = 192.168.3.21
vif_plugging_is_fatal = False
vif_plugging_timeout = 0
compute_driver = libvirt.LibvirtDriver

[libvirt]
virt_type = kvm

[database]
connection = mysql://nova:nova@controller/nova


[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = nova


[glance]
host = controller


[neutron]
url = http://controller:9696
auth_strategy = keystone
admin_auth_url = http://controller:35357/v2.0
admin_tenant_name = service
admin_username = neutron
admin_password = neutron
service_metadata_proxy = True
metadata_proxy_shared_secret = password
vif_plugging_is_fatal = False
vif_plugging_timeout = 0

** Affects: nova
     Importance: Undecided
         Status: New

-- 
UnsupportedObjectError on launching instance
https://bugs.launchpad.net/bugs/1513160
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).