← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1240317] Re: cant resize alter live migrate(block_migrate)

 

2014-10-01 22:50:22.612 24766 ERROR nova.compute.manager [req-c7c8f643-6b3a-4ca2-99c6-be252dc12b87 fba8a3983484473ebb5caf6af441c282 04d61c2227bc448397fcbf035dd76890] [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25] Setting instance vm_state to ERROR
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25] Traceback (most recent call last):
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5538, in _error_out_instance_on_exception
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25]     yield
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3117, in _confirm_resize
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25]     rt = self._get_resource_tracker(migration.source_node)
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 613, in _get_resource_tracker
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25]     "compute host.") % nodename)
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25] NovaException: compute2 is not a valid node managed by this compute host.
2014-10-01 22:50:22.612 24766 TRACE nova.compute.manager [instance: fbefc220-0ef0-4c4d-a06d-31709e022e25] 
2014-10-01 22:50:22.747 24766 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: compute2 is not a valid node managed by this compute host.
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     payload)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     function(self, context, *args, **kwargs)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     e, sys.exc_info())
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3088, in confirm_resize
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     do_confirm_resize(context, instance, migration.id)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249, in inner
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     return f(*args, **kwargs)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3086, in do_confirm_resize
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     migration=migration)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3117, in _confirm_resize
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     rt = self._get_resource_tracker(migration.source_node)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 613, in _get_resource_tracker
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher     "compute host.") % nodename)
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher NovaException: compute2 is not a valid node managed by this compute host.
2014-10-01 22:50:22.747 24766 TRACE oslo.messaging.rpc.dispatcher 
2014-10-01 22:50:22.750 24766 ERROR oslo.messaging._drivers.common [-] Returning exception compute2 is not a valid node managed by this compute host. to caller
2014-10-01 22:50:22.751 24766 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 122, in _do_dispatch\n    result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 88, in wrapped\n    payload)\n', '  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 71, in wrapped\n    return f(self, context, *args, **kw)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 333, in decorated_function\n    function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 309, in decorated_function\n    e, sys.exc_info())\n', '  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function\n    return function(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3088, in confirm_resize\n    do_confirm_resize(context, instance, migration.id)\n', '  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249, in inner\n    return f(*args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3086, in do_confirm_resize\n    migration=migration)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3117, in _confirm_resize\n    rt = self._get_resource_tracker(migration.source_node)\n', '  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 613, in _get_resource_tracker\n    "compute host.") % nodename)\n', 'NovaException: compute2 is not a valid node managed by this compute host.\n']

** Changed in: nova
       Status: Invalid => New

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

Title:
  cant resize alter live migrate(block_migrate)

Status in OpenStack Compute (Nova):
  New

Bug description:
  when i try to resize my instance alter live migrate(block_migrate).i found some error message in nova-compute.log on my compute node.
  error message:
  2013-10-15 18:52:09.276 ERROR nova.compute.manager [req-8b4330c7-1ea6-404a-ad0d-4f064e6b9643 None None] [instance: 28b509bb-dfe9-4793-a9f8-b121ab16aa6c] t3.uuzu.idc is not a valid node managed by this compute host.. Setting instance vm_state to ERROR
  2013-10-15 18:52:09.445 ERROR nova.openstack.common.rpc.amqp [req-8b4330c7-1ea6-404a-ad0d-4f064e6b9643 None None] Exception during message handling
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 94, in wrapped
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 260, in decorated_function
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     function(self, context, *args, **kwargs)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 237, in decorated_function
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 224, in decorated_function
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2050, in confirm_resize
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     rt = self._get_resource_tracker(migration['source_node'])
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 361, in _get_resource_tracker
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp     raise exception.NovaException(msg)
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp NovaException: t3.uuzu.idc is not a valid node managed by this compute host.
  2013-10-15 18:52:09.445 17864 TRACE nova.openstack.common.rpc.amqp 

  I found the instance is on the new host t3.uuzu.idc. but the status is ERROR. 
  Version is Grizzly.

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