Troubleshooting
Molecule 25.2+ introduced breaking changes.
dist-upgrade fails for grub-pc
Virtual disk device mapping changed during configuration, requiring interactive re-configuration. Re-create the VM.
Errors were encountered while processing:
grub-pc
MSG:
'/usr/bin/apt-get dist-upgrade ' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)
No Network Connection
libvirt switched to using nftables userspace directly. Immediate workaround is to set libvirt back to iptables backend or disable UFW.
UFW uses legacy iptables userspace tools and these create shared nftables top level tables. All different applications which use iptables userspace end up in same nftables table.
/etc/libvirt/network.conf
0644 root:root
firewall_backend = "iptables"