revert resize fails with Failure: ['FIELD_TYPE_ERROR', 'self']

Bug #900849 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dan Prince

Bug Description

Using the latest nova Essex builds I'm getting errors when trying to perform a revert resize operation.

This results in the revert resize operation failing. The instance is then in an unsusable state and is un-pingable, etc.

The following stack trace shows up in the nova-compute log for the host machine the instance was migrated to:

2011-12-06 11:04:05,552 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in _process_data
(nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 115, in wrapped
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 116, in decorated_function
(nova.rpc): TRACE: function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1005, in finish_revert_resize
(nova.rpc): TRACE: self.driver.finish_revert_migration(instance_ref)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 209, in finish_revert_migration
(nova.rpc): TRACE: self._vmops.finish_revert_migration(instance)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 140, in finish_revert_migration
(nova.rpc): TRACE: VMHelper.set_vm_name_label(self._session, vm_ref, name_label)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 786, in set_vm_name_label
(nova.rpc): TRACE: session.call_xenapi("VM.set_name_label", vm_ref, name_label)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 493, in call_xenapi
(nova.rpc): TRACE: return tpool.execute(f, *args)
(nova.rpc): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
(nova.rpc): TRACE: rv = meth(*args,**kwargs)
(nova.rpc): TRACE: File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__
(nova.rpc): TRACE: return self.__send(self.__name, args)
(nova.rpc): TRACE: File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request
(nova.rpc): TRACE: result = _parse_result(getattr(self, methodname)(*full_params))
(nova.rpc): TRACE: File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in _parse_result
(nova.rpc): TRACE: raise Failure(result['ErrorDescription'])
(nova.rpc): TRACE: Failure: ['FIELD_TYPE_ERROR', 'self']
(nova.rpc): TRACE:

Dan Prince (dan-prince)
Changed in nova:
status: New → In Progress
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/2108
Committed: http://github.com/openstack/nova/commit/882b1e475de1ef71d7d3f0b50a58f91569905a75
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 882b1e475de1ef71d7d3f0b50a58f91569905a75
Author: Dan Prince <email address hidden>
Date: Tue Dec 6 13:49:51 2011 -0500

    Update compute manager so that finish_revert_resize runs on the source
    compute host. Fixes bug #900849.

    Change-Id: I838604a5c623a3970ce36cdb3d12279812eb8401

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
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.