Ask Your Question
0

cannot resize. is_image_partitionless

asked 2015-08-05 10:40:15 -0500

Marco Marino gravatar image

updated 2015-08-05 14:01:11 -0500

Hi, i'm using openstack (icehouse) with virt-manager and 3 vms (controller, compute and network with neutron and gre). When I try to launch a new cirros 0.3.4 image, i have an error on the compute node:

DEBUG nova.virt.disk.api [req-e98d3647-5bff-4524-8d3f-c3275f10f607 66713c43084e4163ad01a79d66f96276bfd8576b0dae41a9bdd67b58e3c835a4] 
Unable to mount image /var/lib/nova/instances/5e0693fc-891a-43d4-be78-33ec47bc7b07/disk with error 
Error mounting /var/lib/nova/instances/5e0693fc-891a-43d4-be78-33ec47bc7b07/disk with libguestfs (mount_options: /dev/sda on / (options: ''): mount: you must specify the filesystem type). 
Cannot resize. is_image_partitionless /usr/lib/python2.6/site-packages/nova/virt/disk/api.py:211

On the compute node, I have virt_type = qemu and inject_partition = -2

Please, someone can help me? I cannot find a solution

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-05 14:09:33 -0500

Set inject_partition = -1, this will make libguestfs inspect the appropriate partition to mount.

Regards

edit flag offensive delete link more

Comments

Sorry, I have the same behavior with inject_partition=-1 and inject_partition=-2. Are there other solution? I searched everywhere and there are no solutions provided

Marco Marino gravatar imageMarco Marino ( 2015-08-06 01:40:52 -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: 2015-08-05 10:40:15 -0500

Seen: 119 times

Last updated: Aug 05 '15