Public bug reported: The relevant portion of an example stack trace is below:
2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packa ges/nova/virt/xenapi/vmops.py", line 2316, in attach_block_device_volumes 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher volume_utils.forget_sr(self._session, sr_uuid_map[sr_re f]) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/vmops.py", line 2307, in attach_block_device_volumes 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher hotplug=False) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/volumeops.py", line 53, in attach_volume 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher vm_ref = vm_utils.vm_ref_or_raise(self._session, instance_name) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/vm_utils.py", line 2661, in vm_ref_or_raise 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher vm_ref = lookup(session, instance_name) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/vm_utils.py", line 1743, in lookup 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher vm_refs = session.call_xenapi("VM.get_by_name_label", name_label) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/client/session.py", line 179, in call_xenapi 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher return session.xenapi_request(method, args) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/XenAPI.py", line 133, in xenapi_request 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher result = _parse_result(getattr(self, methodname)(*full_params)) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/XenAPI.py", line 203, in _parse_result 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher raise Failure(result['ErrorDescription']) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher Failure: ['FIELD_TYPE_ERROR', 'label'] attach_block_device_volumes() in nova/virt/xenapi/vmops.py calls attach_volume() in nova/virt/xenapi/volumops.py and passes None for instance_name, and this causes a failure when looking up the vm_ref. ** Affects: nova Importance: Undecided Status: 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/1317208 Title: Xen live-migrate with volume attached ends with FIELD_TYPE_ERROR failure Status in OpenStack Compute (Nova): New Bug description: The relevant portion of an example stack trace is below: 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packa ges/nova/virt/xenapi/vmops.py", line 2316, in attach_block_device_volumes 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher volume_utils.forget_sr(self._session, sr_uuid_map[sr_re f]) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__ 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/vmops.py", line 2307, in attach_block_device_volumes 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher hotplug=False) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/volumeops.py", line 53, in attach_volume 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher vm_ref = vm_utils.vm_ref_or_raise(self._session, instance_name) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/vm_utils.py", line 2661, in vm_ref_or_raise 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher vm_ref = lookup(session, instance_name) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/vm_utils.py", line 1743, in lookup 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher vm_refs = session.call_xenapi("VM.get_by_name_label", name_label) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/nova/virt/xenapi/client/session.py", line 179, in call_xenapi 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher return session.xenapi_request(method, args) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/XenAPI.py", line 133, in xenapi_request 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher result = _parse_result(getattr(self, methodname)(*full_params)) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher File "/opt/rackstack/615.44/nova/lib/python2.6/site-packages/XenAPI.py", line 203, in _parse_result 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher raise Failure(result['ErrorDescription']) 2014-05-01 10:25:37.027 13905 TRACE oslo.messaging.rpc.dispatcher Failure: ['FIELD_TYPE_ERROR', 'label'] attach_block_device_volumes() in nova/virt/xenapi/vmops.py calls attach_volume() in nova/virt/xenapi/volumops.py and passes None for instance_name, and this causes a failure when looking up the vm_ref. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1317208/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp