[Bug 1516612] [NEW] vm stuck in build status when compute node is up

ernesto ern.valentino at gmail.com
Mon Nov 16 12:59:44 UTC 2015


Public bug reported:

I am using nova ( version 2.17.0 ) on a compute node and there is a
server running the controller node

when i try to launch an instance when the nova compute is up, this is
stuck on scheduling state (building task) and i see this error on the
nova-comute.log on the compute node:

2015-11-15 13:36:29.250 9650 ERROR object [req-df2b305b-34b4-4022-9102-bed250495718 3f6b0a08e0d74d5f82c240d8a7860404 26cc6b29f6b24c5ebff8131f306602cc] Unable to instantiate unregistered object type NetworkRequestList
2015-11-15 13:36:29.250 9650 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Unsupported object type NetworkRequestList
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-11-15 13:36:29.250 9650 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-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     new_args[argname] = self.serializer.deserialize_entity(ctxt, arg)
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/rpc.py", line 111, in deserialize_entity
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     return self._base.deserialize_entity(context, entity)
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 575, in deserialize_entity
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     entity = self._process_object(context, entity)
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 542, in _process_object
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     objinst = NovaObject.obj_from_primitive(objprim, context=context)
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 251, in obj_from_primitive
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     objclass = cls.obj_class_from_name(objname, objver)
2015-11-15 13:36:29.250 9650 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-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     raise exception.UnsupportedObjectError(objtype=objname)
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher UnsupportedObjectError: Unsupported object type NetworkRequestList
2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher 
2015-11-15 13:36:29.251 9650 ERROR oslo.messaging._drivers.common [-] Returning exception Unsupported object type NetworkRequestList to caller
2015-11-15 13:36:29.251 9650 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']

i see that my nova/objects/__init__.py is this:

#    Copyright 2013 IBM Corp.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.


def register_all():
    # NOTE(danms): You must make sure your object gets imported in this
    # function in order for it to be registered by services that may
    # need to receive it via RPC.
    __import__('nova.objects.dns_domain')
    __import__('nova.objects.instance')
    __import__('nova.objects.instance_info_cache')
    __import__('nova.objects.security_group')
    __import__('nova.objects.migration')
    __import__('nova.objects.quotas')
    __import__('nova.objects.virtual_interface')
    __import__('nova.objects.network')
    __import__('nova.objects.block_device')
    __import__('nova.objects.fixed_ip')
    __import__('nova.objects.floating_ip')
    __import__('nova.objects.security_group_rule')

so the NetworkRequestList object is really missing. Any help to fix this
bug ?

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

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1516612

Title:
  vm stuck in build status when compute node is up

Status in nova package in Ubuntu:
  New

Bug description:
  I am using nova ( version 2.17.0 ) on a compute node and there is a
  server running the controller node

  when i try to launch an instance when the nova compute is up, this is
  stuck on scheduling state (building task) and i see this error on the
  nova-comute.log on the compute node:

  2015-11-15 13:36:29.250 9650 ERROR object [req-df2b305b-34b4-4022-9102-bed250495718 3f6b0a08e0d74d5f82c240d8a7860404 26cc6b29f6b24c5ebff8131f306602cc] Unable to instantiate unregistered object type NetworkRequestList
  2015-11-15 13:36:29.250 9650 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Unsupported object type NetworkRequestList
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2015-11-15 13:36:29.250 9650 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-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 121, in _do_dispatch
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     new_args[argname] = self.serializer.deserialize_entity(ctxt, arg)
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/rpc.py", line 111, in deserialize_entity
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     return self._base.deserialize_entity(context, entity)
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 575, in deserialize_entity
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     entity = self._process_object(context, entity)
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 542, in _process_object
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     objinst = NovaObject.obj_from_primitive(objprim, context=context)
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 251, in obj_from_primitive
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     objclass = cls.obj_class_from_name(objname, objver)
  2015-11-15 13:36:29.250 9650 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-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher     raise exception.UnsupportedObjectError(objtype=objname)
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher UnsupportedObjectError: Unsupported object type NetworkRequestList
  2015-11-15 13:36:29.250 9650 TRACE oslo.messaging.rpc.dispatcher 
  2015-11-15 13:36:29.251 9650 ERROR oslo.messaging._drivers.common [-] Returning exception Unsupported object type NetworkRequestList to caller
  2015-11-15 13:36:29.251 9650 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']

  i see that my nova/objects/__init__.py is this:

  #    Copyright 2013 IBM Corp.
  #
  #    Licensed under the Apache License, Version 2.0 (the "License"); you may
  #    not use this file except in compliance with the License. You may obtain
  #    a copy of the License at
  #
  #         http://www.apache.org/licenses/LICENSE-2.0
  #
  #    Unless required by applicable law or agreed to in writing, software
  #    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  #    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  #    License for the specific language governing permissions and limitations
  #    under the License.

  
  def register_all():
      # NOTE(danms): You must make sure your object gets imported in this
      # function in order for it to be registered by services that may
      # need to receive it via RPC.
      __import__('nova.objects.dns_domain')
      __import__('nova.objects.instance')
      __import__('nova.objects.instance_info_cache')
      __import__('nova.objects.security_group')
      __import__('nova.objects.migration')
      __import__('nova.objects.quotas')
      __import__('nova.objects.virtual_interface')
      __import__('nova.objects.network')
      __import__('nova.objects.block_device')
      __import__('nova.objects.fixed_ip')
      __import__('nova.objects.floating_ip')
      __import__('nova.objects.security_group_rule')

  so the NetworkRequestList object is really missing. Any help to fix
  this bug ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1516612/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list