← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1157095] Re: Error when booting a VM from a volume

 

Vincent,

Can you please open another bug about the problems you are seeing since
the original bug has disapeared.


chuck

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

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

Title:
  Error when booting a VM from a volume

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  First, I create a bootable volume with "cinder create --image-id $image_id--display_name=boot_volume --display_description "test bootable volume" 2".
  What I expect:  the image has been copied into the volume.
  Then, I boot a VM from this volume with "nova boot --flavor 2 --block-device-mapping vda=$vol_id --security_groups=default VM_test".
  What I expect: the VM should be successfully booted and in healthy state.
  Result: 
  =======================================error of n-cpu===============================
  2013-03-19 18:04:33.814 DEBUG nova.openstack.common.rpc.amqp [req-96f381c7-05cf-4d62-8021-d810f976bac9 admin admin] Making asynchronous cast on scheduler... from (pid=26395) cast /opt/stack/nova/nova/openstack/common/rpc/amqp.py:621
  2013-03-19 18:04:33.827 DEBUG nova.openstack.common.rpc.amqp [req-96f381c7-05cf-4d62-8021-d810f976bac9 admin admin] UNIQUE_ID is ddffd4f390844d28a8de56e2799c0af3. from (pid=26395) _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:337
  2013-03-19 18:04:33.895 ERROR nova.compute.manager [req-96f381c7-05cf-4d62-8021-d810f976bac9 admin admin] [instance: f9c678eb-0365-4a38-9ec6-c733a502aa51] Error: ['Traceback (most recent call last):\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 801, in _run_instance\n    set_access_ip=set_access_ip)\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 1058, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', '  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', '  File "/opt/stack/nova/nova/compute/manager.py", line 1055, in _spawn\n    block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1510, in spawn\n    block_device_info=block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2326, in to_xml\n    disk_info, rescue, block_device_info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2244, in get_guest_config\n    inst_type):\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2088, in get_guest_storage_config\n    info)\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 943, in volume_driver_method\n    return method(connection_info, *args, **kwargs)\n', '  File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 242, in inner\n    retval = f(*args, **kwargs)\n', '  File "/opt/stack/nova/nova/virt/libvirt/volume.py", line 245, in connect_volume\n    self._run_iscsiadm(iscsi_properties, ("--rescan",))\n', '  File "/opt/stack/nova/nova/virt/libvirt/volume.py", line 179, in _run_iscsiadm\n    check_exit_code=check_exit_code)\n', '  File "/opt/stack/nova/nova/utils.py", line 239, in execute\n    cmd=\' \'.join(cmd))\n', "ProcessExecutionError: Unexpected error while running command.\nCommand: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-bdd314ba-d933-430d-bc81-e0718cb0f093 -p 9.119.148.202:3260 --rescan\nExit code: 255\nStdout: ''\nStderr: 'iscsiadm: No portal found.\\n'\n"]
  2013-03-19 18:04:33.897 DEBUG nova.openstack.common.rpc.amqp [req-96f381c7-05cf-4d62-8021-d810f976bac9 admin admin] Making synchronous call on conductor ... from (pid=26395) multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:584
  2013-03-19 18:04:33.901 DEBUG nova.openstack.common.rpc.amqp [req-96f381c7-05cf-4d62-8021-d810f976bac9 admin admin] MSG_ID is 637946a31c9b4a78b863bce28422e9b4 from (pid=26395) multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:587
  2013-03-19 18:04:33.904 DEBUG nova.openstack.common.rpc.amqp [req-96f381c7-05cf-4d62-8021-d810f976bac9 admin admin] UNIQUE_ID is d3ecc28b44d34557b2ab7083dd023f6f. from (pid=26395) _add_unique_id /opt/stack/nova/nova/openstack/common/rpc/amqp.py:337
  2013-03-19 18:04:40.415 DEBUG nova.openstack.common.rpc.amqp [-] Making synchronous call on conductor ... from (pid=26395) multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:584
  2013-03-19 18:04:40.415 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is c8efc365a6284a8bbaa2f01cda4e575e from (pid=26395) multicall /opt/stack/nova/nova/openstack/common/rpc/amqp.py:587
  =====================================================================================

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