Activity log for bug #1155512

Date Who What changed Old value New value Message
2013-03-15 09:34:58 Vincent Hou bug added bug
2013-03-19 02:43:38 Huang Zhiteng cinder: status New Incomplete
2013-03-19 10:06:23 Vincent Hou description Folks, correct me when I make a mistake. Issue 1: 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: the VM is successfully booted with no error, but it cannot be pinged. Issue 2: First, I create a volume with with "cinder create 2". Then, I boot a VM from this non-bootable volume with "nova boot --flavor 2 --block-device-mapping vda=$vol_id --security_groups=default VM_test_1". What I expect: see some warning or error message telling me that this volume is not bootable. Result: the VM is successfully booted with no error, but it cannot be pinged. Please advise with your comments. Folks, correct me when I make a mistake. Issue 1: 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 ===================================================================================== Issue 2: First, I create a volume with with "cinder create 2". Then, I boot a VM from this non-bootable volume with "nova boot --flavor 2 --block-device-mapping vda=$vol_id --security_groups=default VM_test_1". What I expect: see some warning or error message telling me that this volume is not bootable. Result: the VM is successfully booted with no error, but it cannot be pinged. Please advise with your comments.
2013-03-20 09:29:48 Vincent Hou description Folks, correct me when I make a mistake. Issue 1: 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 ===================================================================================== Issue 2: First, I create a volume with with "cinder create 2". Then, I boot a VM from this non-bootable volume with "nova boot --flavor 2 --block-device-mapping vda=$vol_id --security_groups=default VM_test_1". What I expect: see some warning or error message telling me that this volume is not bootable. Result: the VM is successfully booted with no error, but it cannot be pinged. Please advise with your comments. Folks, correct me when I make a mistake. Issue 1: 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: The VM is unable to ping. Issue 2: First, I create a volume with with "cinder create 2". Then, I boot a VM from this non-bootable volume with "nova boot --flavor 2 --block-device-mapping vda=$vol_id --security_groups=default VM_test_1". What I expect: see some warning or error message telling me that this volume is not bootable. Result: the VM is successfully booted with no error, but it cannot be pinged. Please advise with your comments.
2013-03-20 09:30:02 Vincent Hou bug task added nova
2013-03-22 12:35:39 Chuck Short nova: status New Incomplete
2013-07-03 03:15:45 Vincent Hou nova: assignee Vincent Hou (houshengbo)
2013-07-03 03:15:56 Vincent Hou cinder: assignee Vincent Hou (houshengbo)
2013-07-03 07:54:56 OpenStack Infra nova: status Incomplete In Progress
2013-07-03 08:14:28 Vincent Hou cinder: status Incomplete Opinion
2013-07-03 08:14:36 Vincent Hou cinder: status Opinion Invalid
2013-07-03 08:15:34 Vincent Hou bug task deleted cinder
2014-03-07 02:02:31 Vincent Hou nova: status In Progress Fix Released