Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66915 - [libvirt] virsh blockcommit fails after update from 5.10.0-2 -> 6.4.0-1

Attached to Project: Community Packages
Opened by Nigel Kukard (nkukard) - Saturday, 06 June 2020, 14:51 GMT
Last edited by freswa (frederik) - Saturday, 06 June 2020, 19:57 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Christian Rebischke (Shibumi)
Robin Broda (coderobe)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi guys,

Perhaps someone else has seen this and can shed some light?



Using 5.10.0 the following works...

# virsh snapshot-create-as --domain test.vm mysnapshot --disk-only --atomic --quiesce --no-metadata
Domain snapshot mysnapshot created

# virsh blockcommit test.vm sda --pivot --verbose
Block commit: [ 0 %]
Block commit: [100 %]
Successfully pivoted


After upgrading to 6.4.0, I get the below error...

# virsh snapshot-create-as --domain test.vm mysnapshot --disk-only --atomic --quiesce --no-metadata
Domain snapshot mysnapshot created

# virsh blockcommit test.vm sda --pivot --verbose
error: Disconnected from qemu:///system due to end of file
error: internal error: client socket is closed


The below coredump is shown in journald....

systemd-coredump[222424]: Process 214121 (libvirtd) of user 0 dumped core.
Stack trace of thread 214127:
#0 0x00007f1e4b6db660 qemuDomainDiskBlockJobIsSupported (libvirt_driver_qemu.so + 0x92660)
#1 0x00007f1e4b74a251 n/a (libvirt_driver_qemu.so + 0x101251)
#2 0x00007f1e57f68b4a virDomainBlockCommit (libvirt.so.0 + 0x2eab4a)
#3 0x000055fa4815794a n/a (libvirtd + 0x2f94a)
#4 0x00007f1e57e7c9bd virNetServerProgramDispatch (libvirt.so.0 + 0x1fe9bd)
#5 0x00007f1e57e81b06 n/a (libvirt.so.0 + 0x203b06)
#6 0x00007f1e57d96e17 n/a (libvirt.so.0 + 0x118e17)
#7 0x00007f1e57d9639b n/a (libvirt.so.0 + 0x11839b)
#8 0x00007f1e57a69422 start_thread (libpthread.so.0 + 0x9422)
#9 0x00007f1e5797ebf3 __clone (libc.so.6 + 0xffbf3)

System is up to date running the below versions...
libvirt 6.4.0-1
qemu 5.0.0-7

This task depends upon

Comment by Nigel Kukard (nkukard) - Saturday, 06 June 2020, 15:49 GMT Comment by Robin Broda (coderobe) - Sunday, 07 June 2020, 12:11 GMT
Seems to be the same one. Let's wait for a patch release upstream, it has only been 2 days.
Comment by Nigel Kukard (nkukard) - Tuesday, 09 June 2020, 09:08 GMT

Loading...