Customizing VM Settings - fails during tripleo installation.

asked 2018-02-23 05:53:27 -0500

Krish gravatar image


[stack@localhost ~]$ sudo cp CentOS-7-x86_64-GenericCloud.qcow2 /var/lib/libvirt/images/undercloud.qcow2 [stack@localhost ~]$ sudo qemu-img resize /var/lib/libvirt/images/undercloud.qcow2 +120G
Image resized.

[stack@localhost ~]$ [stack@localhost ~]$ sudo virt-customize -a /var/lib/libvirt/images/undercloud.qcow2 --run-command 'echo -e "d\nn\n \n\n\n\nw\n" | fdisk /dev/sda'
[ 0.0] Examining the guest ... virt-customize: error: libguestfs error: could not create appliance through libvirt.

Try running qemu directly without libvirt using this environment variable:

Original error from libvirt: internal error: process exited while
connecting to monitor: failed to initialize KVM: Device or resource busy
[code=1 int1=-1]

If reporting bugs, run virt-customize with debugging enabled and include
the complete output:

virt-customize -v -x [...]
[stack@localhost ~]$

Here why the command " virt-customize" getting failed?


edit retag flag offensive close merge delete