File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,3 +159,27 @@ jobs:
159159 echo "LIBVIRT_TEST_ACPI_IMAGE not set; image-gated ACPI shutdown test will be skipped."
160160 fi
161161 make testacc
162+
163+ - name : Debug Libvirt/QEMU Storage Access
164+ if : always()
165+ run : |
166+ echo "=== qemu.conf ==="
167+ sudo grep -E '^(user|group|dynamic_ownership)[[:space:]]*=' /etc/libvirt/qemu.conf || true
168+ echo
169+ echo "=== libvirt daemon status ==="
170+ sudo systemctl status libvirtd --no-pager || true
171+ echo
172+ echo "=== qemu processes ==="
173+ ps -ef | grep -E '[q]emu-system|[l]ibvirtd|[v]irtqemud' || true
174+ echo
175+ echo "=== default pool info ==="
176+ virsh -c qemu:///system pool-info default || true
177+ virsh -c qemu:///system pool-dumpxml default || true
178+ echo
179+ echo "=== images dir permissions ==="
180+ ls -ld /var/lib/libvirt/images || true
181+ stat -c '%a %U:%G %n' /var/lib/libvirt/images || true
182+ echo
183+ echo "=== test volume file permissions ==="
184+ ls -l /var/lib/libvirt/images/test-volume-shutdown-image.qcow2 || true
185+ stat -c '%a %U:%G %n' /var/lib/libvirt/images/test-volume-shutdown-image.qcow2 || true
You can’t perform that action at this time.
0 commit comments