Bug 1212942 - Unable to start VM virtiofsd died unexpectedly
Summary: Unable to start VM virtiofsd died unexpectedly
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Tools (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 09:45 UTC by bjurg orsku
Modified: 2023-07-03 14:12 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
libvirt guest VM xml file (9.30 KB, text/xml)
2023-07-03 09:45 UTC, bjurg orsku
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bjurg orsku 2023-07-03 09:45:09 UTC
Created attachment 867938 [details]
libvirt guest VM xml file

Hello,

I am currently stuck with TW 20230518 because even the most recent snapshots do not allow me to start my VMs. 
Each attempt to start a VM fails with the following error message: "virtiofsd died unexpectedly". 
It seems that some changes made from TW 20230530 onwards are at the root of the problem. 
Unfortunately, I can't be more precise as I wasn't able to track snapshot updates from TW 20230520 to TW 20230628, but changes made amongst qemu, libvirt, virtiofsd, between these two snapshots are probably the root of the problem.
Last snapshot tried (TW 20230629) did not solve the issue.
Attached is the XML file of a virtual machine affected by the problem.
I will provide a libvirt log later.
Thanks for your attention.
Comment 1 bjurg orsku 2023-07-03 14:12:34 UTC
The culprit is virtiofsd-rs (rust version) that replace the C version coming with QEMU till QEMU 8 but does not (yet) support posix lock (see: https://gitlab.com/virtio-fs/virtiofsd/-/issues/53). 

For now, removing the <lock posix='on' flock='on'/> option from the XML file of the virtual machine solves the probleme.

Sorry for the noise.