-
|
Hello, we found a strange situation yesterday and hope somebody can try to recreate it. virsh domblkinfo i-29-423-VM vda It looks like the new Capacity is not shown in virsh domblkinfo and we see some changes in virsh dumpxml regarding source dev. Is anybody able to recreate this behavior? You need to run on 4.22.1 and you need access to instances which are not being stopped since the upgrade. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
This looks like a libvirt/QEMU live-resize issue rather than a Linstor/ACS problem. When the volume is resized via ACS, it issues a virsh blockresize (or updates the disk via Linstor's DRBD/LVM layer), but if the VM's underlying device mapping or DRBD metadata wasn't refreshed properly post-upgrade, libvirt's cached domblkinfo will keep reporting the old capacity until a fresh dumpxml/device re-attach happens, which only occurs on a full stop/start (since reboot alone doesn't re-read block device geometry). Compare virsh dumpxml source dev paths for an affected VM vs. a newly created one, you mentioned seeing differences there, which suggests the older domains may still be referencing a stale Linstor resource path/minor number from before the upgrade. For now, the stop/start workaround seems to be the only reliable fix until this is patched. If you haven't already, definitely open a GitHub issue with your dumpxml diffs, that'll help maintainers spot exactly where the stale reference is held. |
Beta Was this translation helpful? Give feedback.
-
|
@herrickP thx for your reply! What we see is the following change in path: After Start/Stop @rp- can you take a look at this? |
Beta Was this translation helpful? Give feedback.
Then I'm afraid qemu/libvirt is confused about the path change and it will only work after a start/stop of the VM.