You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployment fails at this step. I can consistently get this error on CentOS Stream 8 or Rocky Linux 8.
task path: /home/jp/git/openshift-aio/playbooks/roles/base_virt/tasks/base_virt_ipi.yml:164
failed: [192.168.50.241] (item=virt-copy-in -a /var/lib/libvirt/images/centos8-kvm.qcow2 /tmp/mongodb-org-3.6.repo /etc/yum.repos.d/) => {"ansible_loop_var": "item", "changed": true, "cmd": "virt-copy-in -a /var/lib/libvirt/images/centos8-kvm.qcow2 /tmp/mongodb-org-3.6.repo /etc/yum.repos.d/", "delta": "0:00:00.269100", "end": "2023-12-20 12:43:26.814228", "item": "virt-copy-in -a /var/lib/libvirt/images/centos8-kvm.qcow2 /tmp/mongodb-org-3.6.repo /etc/yum.repos.d/", "msg": "non-zero return code", "rc": 1, "start": "2023-12-20 12:43:26.545128", "stderr": "libguestfs: error: could not create appliance through libvirt.\n\nTry running qemu directly without libvirt using this environment variable:\nexport LIBGUESTFS_BACKEND=direct\n\nOriginal error from libvirt: internal error: process exited while connecting to monitor: 2023-12-20T17:43:26.764317Z qemu-kvm: -blockdev {\"node-name\":\"libvirt-2-format\",\"read-only\":false,\"cache\":{\"direct\":false,\"no-flush\":false},\"driver\":\"qcow2\",\"file\":\"libvirt-2-storage\",\"backing\":null}: Failed to get \"write\" lock\nIs another process using the image [/var/lib/libvirt/images/centos8-kvm.qcow2]? [code=1 int1=-1]", "stderr_lines": ["libguestfs: error: could not create appliance through libvirt.", "", "Try running qemu directly without libvirt using this environment variable:", "export LIBGUESTFS_BACKEND=direct", "", "Original error from libvirt: internal error: process exited while connecting to monitor: 2023-12-20T17:43:26.764317Z qemu-kvm: -blockdev {\"node-name\":\"libvirt-2-format\",\"read-only\":false,\"cache\":{\"direct\":false,\"no-flush\":false},\"driver\":\"qcow2\",\"file\":\"libvirt-2-storage\",\"backing\":null}: Failed to get \"write\" lock", "Is another process using the image [/var/lib/libvirt/images/centos8-kvm.qcow2]? [code=1 int1=-1]"], "stdout": "", "stdout_lines": []}
PLAY RECAP **************************************************************************************************************************
192.168.50.241 : ok=38 changed=9 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0```
The text was updated successfully, but these errors were encountered:
Deployment fails at this step. I can consistently get this error on CentOS Stream 8 or Rocky Linux 8.
The text was updated successfully, but these errors were encountered: