[Libguestfs] How to use libguestfs access LVM as non-root user?

Richard W.M. Jones rjones at redhat.com
Sat Jun 1 08:57:03 UTC 2013


On Sat, Jun 01, 2013 at 01:28:20PM +0800, Qiu Yu wrote:
> For others who might interests, if you use qcow2 image with OpenStack and
> choose LVM as image backend, nova libvirt driver will convert it raw when
> creating a new instance. However, data injection using libguestfs will
> still assuming the it is qcow2 format, hence hit the above issue. Not sure
> it is a bug or not, probably one should specify "use_cow_images = False" to
> avoid the problem in this case.

Yes, this sounds like a Nova bug.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list