← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1247427] Re: VMware: vmrescue broken when config drive is used

 

** Changed in: nova/havana
       Status: Fix Committed => Fix Released

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

Title:
  VMware: vmrescue broken when config drive is used

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  Fix Released

Bug description:
  Traceback (most recent call last):
  File "/opt/stack/nova/nova/compute/manager.py", line 2727, in rescue_instance
  rescue_image_meta, admin_password)
  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 688, in rescue
  _vmops.rescue(context, instance, network_info, image_meta)
  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1026, in rescue
  None, None, network_info)
  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 523, in spawn
  cookies)
  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 566, in _create_config_drive
  extra_md=extra_md)
  File "/opt/stack/nova/nova/api/metadata/base.py", line 145, in __init__
  obj_base.obj_to_primitive(instance))
  File "/opt/stack/nova/nova/conductor/api.py", line 302, in get_ec2_ids
  return self._manager.get_ec2_ids(context, instance)
  File "/opt/stack/nova/nova/conductor/rpcapi.py", line 456, in get_ec2_ids
  instance=instance_p)
  File "/opt/stack/nova/nova/rpcclient.py", line 85, in call
  return self._invoke(self.proxy.call, ctxt, method, **kwargs)
  File "/opt/stack/nova/nova/rpcclient.py", line 63, in _invoke
  return cast_or_call(ctxt, msg, **self.kwargs)
  File "/opt/stack/nova/nova/openstack/common/rpc/proxy.py", line 126, in call
  result = rpc.call(context, real_topic, msg, timeout)
  File "/opt/stack/nova/nova/openstack/common/rpc/__init__.py", line 139, in call
  return _get_impl().call(CONF, context, topic, msg, timeout)
  File "/opt/stack/nova/nova/openstack/common/rpc/impl_kombu.py", line 816, in call
  rpc_amqp.get_connection_pool(conf, Connection))
  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 574, in call
  rv = list(rv)
  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 539, in __iter__
  raise result
  ValueError: invalid literal for int() with base 10: 'bd915bb5-6cae-4d8d-8755-3f6583713eff-rescue'
  Traceback (most recent call last):

  File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
  **args)

  File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
  result = getattr(proxyobj, method)(ctxt, **kwargs)

  File "/opt/stack/nova/nova/conductor/manager.py", line 521, in get_ec2_ids
  ec2_ids['instance-id'] = ec2utils.id_to_ec2_inst_id(instance['uuid'])

  File "/opt/stack/nova/nova/api/ec2/ec2utils.py", line 193, in id_to_ec2_inst_id
  return id_to_ec2_id(instance_id)

  File "/opt/stack/nova/nova/api/ec2/ec2utils.py", line 181, in id_to_ec2_id
  return template % int(instance_id)

  ValueError: invalid literal for int() with base 10: 'bd915bb5-6cae-
  4d8d-8755-3f6583713eff-rescue'

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