Ask Your Question
1

Unable to create Instance that boots from volume [closed]

asked 2013-12-09 16:08:31 -0600

bgyako gravatar image

updated 2013-12-09 16:21:19 -0600

Hi All, Using Grizzly, used basic install from openstack.org . I can create instance without volume. I can also create volumes, but I try to create instance that boots from volume get an error..

Set up: 1 controller. 1 network controller. 80 compute nodes.

see error in nova-scheduler on controller:

2013-12-09 16:56:27.859 INFO nova.scheduler.host_manager [req-630baaf0-d6c9-4e0f-84d4-1a03379373c2 0841aee7570b4b0fb02b695605ca8980 2cc3cd2e32824d4da3b8c4fcf3a1dd2e] Removing dead compute node cloudcompute022:cloudcompute022 from scheduler
2013-12-09 16:57:14.033 ERROR nova.scheduler.filter_scheduler [req-630baaf0-d6c9-4e0f-84d4-1a03379373c2 0841aee7570b4b0fb02b695605ca8980 2cc3cd2e32824d4da3b8c4fcf3a1dd2e] [instance: 5e9526ad-1eb1-424d-ab1f-4bde85091d5c] Error from last host: cloudcompute005 (node cloudcompute005.cewit.stonybrook.edu): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 864, in _run_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1123, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1528, in spawn\n    write_to_disk=True)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2338, in to_xml\n    disk_info, rescue, block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2255, in get_guest_config\n    inst_type):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2097, in get_guest_storage_config\n    info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 945, in volume_driver_method\n    return method(connection_info, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 242, in inner\n    retval = f(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 245, in connect_volume\n    self._run_iscsiadm(iscsi_properties, ("--rescan",))\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py", line 179, in _run_iscsiadm\n    check_exit_code=check_exit_code)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 239, in execute\n    cmd=\' \'.join(cmd))\n', u"ProcessExecutionError: Unexpected error while running command.\nCommand: sudo nova-rootwrap /etc/nova/rootwrap.conf iscsiadm -m node -T iqn.2010-10.org.openstack:volume-48fd1e68-d32c-452f-b013-28b019bce214 -p 130.245.186.100:3260 --rescan\nExit code: 255\nStdout: ''\nStderr: 'iscsiadm: No portal found.\\n'\n"]
2013-12-09 16:58:02.996 ERROR nova.scheduler.filter_scheduler [req-630baaf0-d6c9-4e0f-84d4-1a03379373c2 0841aee7570b4b0fb02b695605ca8980 2cc3cd2e32824d4da3b8c4fcf3a1dd2e] [instance: 5e9526ad-1eb1-424d-ab1f-4bde85091d5c] Error from last host: cloudcompute037 (node cloudcompute037): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 864, in _run_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1123, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', u'  File "/usr ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bgyako
close date 2013-12-13 09:43:47.275296

Comments

Someone mentioned that only iscsitarget or tgtadm should be running not both. Can anyone confirm?

bgyako gravatar imagebgyako ( 2013-12-10 13:52:43 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-13 09:43:02 -0600

bgyako gravatar image

Updated iscsi helper to iedadm rather then tgtadm issue seems to have been fixed. Install instructions not very clear about setting up connections.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-09 16:08:31 -0600

Seen: 275 times

Last updated: Dec 13 '13