error deploying a vm: Operation not permitted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Ladies and Gentleman,

 

I am trying to deploy a virtual machine on a KVM host. I created a deployment file (see beneath) and a disk for this VM.

 

As root I executed the following command:

virsh create deployment.0

 

but then I get the following error message:

error: Failed to create domain from deployment.0

error: cannot set ownership on /var/lib/one/datastores/0/15/disk.0: Operation not permitted

 

What am I doing wrong?

 

Thanks in advance.

 

Best regards

Michael Rebstock

 

 

#########################

Content of the deployment file:

 

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>

        <name>one-15</name>

        <memory>2097152</memory>

        <os>

                <type arch='i686'>hvm</type>

                <boot dev='hd'/>

        </os>

        <devices>

                <emulator>/usr/bin/kvm</emulator>

                <disk type='file' device='disk'>

                        <source file='/var/lib/one/datastores/0/15/disk.0'/>

                        <target dev='hda' bus='ide'/>

                        <driver name='qemu' type='raw' cache='default'/>

                </disk>

                <interface type='bridge'>

                        <source bridge='319er-vlan'/>

                        <mac address='22:00:c0:ba:2a:64'/>

                </interface>

        </devices>

        <features>

                <acpi/>

        </features>

</domain>

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux