Ask Your Question
0

build of instance aborted: image is unacceptable: unable to convert image to raw in openstack stein

asked 2019-09-05 01:11:36 -0500

vill gravatar image

Hi All, I have installed stein version on the two node setup(node1:controller+network and node2:compute).used centos7. I am able to launch the cirros image successfully .but while launching any other centos images i am getting below error: Error: Failed to perform requested operation on instance "vm1", the instance has an error status: Please try again later [Error: Build of instance a1bc71e1-5a4f-4738-b08d-5b77f9065882 aborted: Image 650c2da3-f045-496a-9ac1-3161f05d3586 is unacceptable: Unable to convert image to raw: Image /var/lib/nova/instances/_base/c7dd47516ddf80e7eb48f1c59bca63aa38c8dfce.part is unacceptable: ].

Details Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1984, in _do_build_and_run_instance filter_properties, request_spec) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2344, in _build_and_run_instance reason=e.format_message()) BuildAbortException: Build of instance a1bc71e1-5a4f-4738-b08d-5b77f9065882 aborted: Image 650c2da3-f045-496a-9ac1-3161f05d3586 is unacceptable: Unable to convert image to raw: Image /var/lib/nova/instances/_base/c7dd47516ddf80e7eb48f1c59bca63aa38c8dfce.part is unacceptable: Unable to convert image to raw: Unexpected error while running command. Command: qemu-img convert -t none -O raw -f qcow2 /var/lib/nova/instances/_base/c7dd47516ddf80e7eb48f1c59bca63aa38c8dfce.part /var/lib/nova/instances/_base/c7dd47516ddf80e7eb48f1c59bca63aa38c8dfce.converted Exit code: 1 Stdout: u'' Stderr: u'qemu-img: error while writing sector 13070592: No space left on device\n'

I am new to openstack can anyone please help me out this?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-09-05 01:30:10 -0500

updated 2019-09-05 01:31:12 -0500

The error message No space left on device makes it clear that you don't have enough disk space on the compute host to convert the image to raw format. Cirros is so small that it doesn't cause this problem.

edit flag offensive delete link more

Comments

Thanks for information ...i checked df -h cmd ..so i came to know the default path for images was under / directory and that filesystem had very less space available...now able to launch

vill gravatar imagevill ( 2019-09-05 02:30:15 -0500 )edit

After launching the vm when i goto the console tab of the vm ..console is not coming up...what could be the reason...it just displays This site can’t be reached controller took too long to respond. Search Google for controller 6080 vnc auto ERR_CONNECTION_TIMED_OUT

vill gravatar imagevill ( 2019-09-05 02:33:44 -0500 )edit

In the logs tab of the vm...it shows the login info...

**CentOS Linux 7 (Core)

Kernel 3.10.0-514.el7.x86_64 on an x86_64

localhost login:**

vill gravatar imagevill ( 2019-09-05 02:36:22 -0500 )edit

Some extra nova logs: 2019-09-05 04:49:10.772 38292 INFO nova.privsep.libvirt [-] Ignored error while reading from instance console pty: [Errno 11] Resource temporarily unavailable 2019-09-05 04:58:27.475 37908 INFO nova.compute.manager [req-990f7d1f-152d-4db3-bbde-412edcb11712 6fcca6889f5343b7871bc

vill gravatar imagevill ( 2019-09-05 03:07:22 -0500 )edit

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

1 follower

Stats

Asked: 2019-09-05 01:11:36 -0500

Seen: 18 times

Last updated: Sep 05