Failed to invoke instance from bootable volume

asked 2014-03-21 10:51:25 -0500

harishamrale gravatar image

updated 2014-03-21 10:53:12 -0500

I have single node openstack system with all services including cinder running on same system. I have created a bootable volme in cinder form glance image. I am getting follwing errors in /var/log/nova/nova-compute.log while creating instance from that bootable volume:

WARNING nova.virt.disk.api [req-e4a0a132-9b75-418d-a8b4-ef145de72247 75e8d50fce2c46aa8ebd7978cc3afa7b 96fea0b727974d3b8852203198bd90d8] Ignoring error injecting data into image (Error mounting /var/lib/nova/instances/1936a97a-28d1-4cc4-8fef-e284a280dffd/disk with libguestfs (/var/lib/nova/instances/1936a97a-28d1-4cc4-8fef-e284a280dffd/disk: No such file or directory))

ERROR nova.compute.manager [req-e4a0a132-9b75-418d-a8b4-ef145de72247 75e8d50fce2c46aa8ebd7978cc3afa7b 96fea0b727974d3b8852203198bd90d8] [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] Instance failed to spawn

TRACE nova.compute.manager [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] ProcessExecutionError: Unexpected error while running command.

TRACE nova.compute.manager [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] Stderr: 'iscsiadm: No portal found.\n'

ERROR nova.virt.libvirt.driver [-] [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] During wait destroy, instance disappeared.

ERROR nova.virt.libvirt.vif [req-e4a0a132-9b75-418d-a8b4-ef145de72247 75e8d50fce2c46aa8ebd7978cc3afa7b 96fea0b727974d3b8852203198bd90d8] [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] Failed while unplugging vif

TRACE nova.virt.libvirt.vif [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] ProcessExecutionError: Unexpected error while running command.

TRACE nova.virt.libvirt.vif [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] Stderr: 'interface qvb8a386445-7a does not exist!\n'

ERROR nova.compute.manager [req-e4a0a132-9b75-418d-a8b4-ef145de72247 75e8d50fce2c46aa8ebd7978cc3afa7b 96fea0b727974d3b8852203198bd90d8] [instance: 1936a97a-28d1-4cc4-8fef-e284a280dffd] Error: Unexpected error while running command.

Stderr: 'iscsiadm: No portal found.\n'

following is cinder.conf: verbose = False debg = True rootwrap_config=/etc/cinder/rootwrap.conf sql_connection = mysql://cinderUser:cinderPass@xx.xx.xx.xx/cinder api_paste_config = /etc/cinder/api-paste.ini iscsi_helper = tgtdm volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver volume_name_template = volume-%s volume_group = cinder-volumes auth_strategy = keystone image_conversion_dir=/var/lib/cinder

following is nova.conf:

volume_api_class=nova.volume.cinder.API iscsi_helper = tgtdm volume_group = cinder-volumes volume_name_template = volume-%s osapi_volume_listen_port=5900

edit retag flag offensive close merge delete

Comments

mpetason gravatar imagempetason ( 2014-03-21 13:47:28 -0500 )edit

.My system not returing anything on: iscsiadm -m discovery -t sendtargets -p 127.0.0.1:3260 What should be the output of this command? what is the problem in my case?

harishamrale gravatar imageharishamrale ( 2014-03-24 11:14:25 -0500 )edit