← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1503423] [NEW] Build failures: device_id assigned as int instead of expected string

 

Public bug reported:

new metadata variable: xenapi_device_id integer, expected string:


... Failed to spawn, rolling back
 Traceback (most recent call last):
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 663, in _spawn
     kernel_file, ramdisk_file)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 214, in inner
     rv = f(*args, **kwargs)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 585, in create_vm_record_step
     ramdisk_file, image_meta, rescue)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 756, in _create_vm_record
     use_pv_kernel, device_id)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 333, in create_vm
     vm_ref = session.VM.create(rec)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 62, in <lambda>
     return lambda *params: self._call_method(method_name, *params)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 59, in _call_method
     return self.session.call_xenapi(call, *args)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 212, in call_xenapi
     return session.xenapi_request(method, args)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 133, in xenapi_request
     result = _parse_result(getattr(self, methodname)(*full_params))
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 203, in _parse_result
     raise Failure(result['ErrorDescription'])
 Failure: ['FIELD_TYPE_ERROR', 'platform']

... Instance failed to spawn
 Traceback (most recent call last):
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2208, in _build_resources
     yield resources
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2061, in _build_and_run_instance
     block_device_info=block_device_info)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/driver.py", line 201, in spawn
     admin_password, network_info, block_device_info)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 510, in spawn
     network_info, block_device_info, name_label, rescue)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 681, in _spawn
     undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/utils.py", line 936, in rollback_and_reraise
     self._rollback()
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
     six.reraise(self.type_, self.value, self.tb)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 663, in _spawn
     kernel_file, ramdisk_file)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 214, in inner
     rv = f(*args, **kwargs)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 585, in create_vm_record_step
     ramdisk_file, image_meta, rescue)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 756, in _create_vm_record
     use_pv_kernel, device_id)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 333, in create_vm
     vm_ref = session.VM.create(rec)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 62, in <lambda>
     return lambda *params: self._call_method(method_name, *params)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 59, in _call_method
     return self.session.call_xenapi(call, *args)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 212, in call_xenapi
     return session.xenapi_request(method, args)
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 133, in xenapi_request
     result = _parse_result(getattr(self, methodname)(*full_params))
   File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 203, in _parse_result
     raise Failure(result['ErrorDescription'])
 Failure: ['FIELD_TYPE_ERROR', 'platform']
 
... Terminating instance

** Affects: nova
     Importance: Undecided
     Assignee: Jesse J. Cook (jesse-j-cook)
         Status: In Progress

-- 
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/1503423

Title:
  Build failures: device_id assigned as int instead of expected string

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  new metadata variable: xenapi_device_id integer, expected string:

  
  ... Failed to spawn, rolling back
   Traceback (most recent call last):
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 663, in _spawn
       kernel_file, ramdisk_file)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 214, in inner
       rv = f(*args, **kwargs)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 585, in create_vm_record_step
       ramdisk_file, image_meta, rescue)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 756, in _create_vm_record
       use_pv_kernel, device_id)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 333, in create_vm
       vm_ref = session.VM.create(rec)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 62, in <lambda>
       return lambda *params: self._call_method(method_name, *params)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 59, in _call_method
       return self.session.call_xenapi(call, *args)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 212, in call_xenapi
       return session.xenapi_request(method, args)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 133, in xenapi_request
       result = _parse_result(getattr(self, methodname)(*full_params))
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 203, in _parse_result
       raise Failure(result['ErrorDescription'])
   Failure: ['FIELD_TYPE_ERROR', 'platform']

  ... Instance failed to spawn
   Traceback (most recent call last):
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2208, in _build_resources
       yield resources
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 2061, in _build_and_run_instance
       block_device_info=block_device_info)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/driver.py", line 201, in spawn
       admin_password, network_info, block_device_info)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 510, in spawn
       network_info, block_device_info, name_label, rescue)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 681, in _spawn
       undo_mgr.rollback_and_reraise(msg=msg, instance=instance)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/utils.py", line 936, in rollback_and_reraise
       self._rollback()
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
       six.reraise(self.type_, self.value, self.tb)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 663, in _spawn
       kernel_file, ramdisk_file)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 214, in inner
       rv = f(*args, **kwargs)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 585, in create_vm_record_step
       ramdisk_file, image_meta, rescue)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vmops.py", line 756, in _create_vm_record
       use_pv_kernel, device_id)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 333, in create_vm
       vm_ref = session.VM.create(rec)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 62, in <lambda>
       return lambda *params: self._call_method(method_name, *params)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/objects.py", line 59, in _call_method
       return self.session.call_xenapi(call, *args)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 212, in call_xenapi
       return session.xenapi_request(method, args)
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 133, in xenapi_request
       result = _parse_result(getattr(self, methodname)(*full_params))
     File "/opt/rackstack/rackstack.381.15/nova/lib/python2.7/site-packages/XenAPI.py", line 203, in _parse_result
       raise Failure(result['ErrorDescription'])
   Failure: ['FIELD_TYPE_ERROR', 'platform']
   
  ... Terminating instance

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


Follow ups