Ask Your Question
1

Error injecting data into image...

asked 2013-11-19 00:30:29 -0500

anonymous user

Anonymous

updated 2013-11-22 10:22:31 -0500

sgordon gravatar image

Hi,

I am new to nova compute, encounter this error on compute node when launching nova boot, appreciate some information where to look into this...

I am running ... linux version Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Thanks

[instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d] Error injecting data into image a867303f-11d1-42bd-8f61-8be4db4c13cf (Error mounting /var/lib/nova/instances/d85ec7c4-d7fb-4a13-94b2-a907ae65547d/disk with libguestfs (external command failed, see earlier error messages))
2013-11-18 21:20:40.033 32210 ERROR nova.compute.manager [req-41bd6557-2b0f-4c77-bc2e-ae9e1bdae780 3824ae444d9d49da998e1ebd5b4e7d0c 15ef265e9336496b99e23361c1cb1a89] [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d] Instance failed to spawn
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d] Traceback (most recent call last):
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _spawn
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]     block_device_info)
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2063, in spawn
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]     admin_pass=admin_password)
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2474, in _create_image
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]     instance=instance)
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2468, in _create_image
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]     mandatory=('files',))
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]   File "/usr/lib/python2.7/dist-packages/nova/virt/disk/api.py", line 323, in inject_data
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]     fs.setup()
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]   File "/usr/lib/python2.7/dist-packages/nova/virt/disk/vfs/guestfs.py", line 129, in setup
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d]     {'imgfile': self.imgfile, 'e': e})
2013-11-18 21:20:40.033 32210 TRACE nova.compute.manager [instance: d85ec7c4-d7fb-4a13-94b2-a907ae65547d] NovaException: Error mounting /var/lib/nova/instances/d85ec7c4-d7fb-4a13-94b2-a907ae65547d/disk with libguestfs (external command failed, see earlier error messages)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-19 21:59:46 -0500

fifieldt gravatar image

See step 3 in the "Configuring a Compute Node" documentation of the Havana Install Guide: http://docs.openstack.org/havana/install-guide/install/apt/content/nova-compute.html

it mentions a needed step to make guestfs work due to a bug in ubuntu.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-11-19 00:30:29 -0500

Seen: 449 times

Last updated: Nov 22 '13