[kubic-bugs] [Bug 1165739] New: [MicroOS] 9p modules are not in initrd, systems where cloud-init defines 9p mounts in fstab will stuck on reboot
http://bugzilla.opensuse.org/show_bug.cgi?id=1165739 Bug ID: 1165739 Summary: [MicroOS] 9p modules are not in initrd, systems where cloud-init defines 9p mounts in fstab will stuck on reboot Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kubic Assignee: kubic-bugs@opensuse.org Reporter: jobbara.artalmatlan@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello Team, In my installation attempts I used cloud-init to deploy MicroOS-20200214 system. I use virt-install to setup a KVM virtual machine and add host local paths to the VM as virtio / 9p filesystems. Here is the virt-install command to define the VM and the relevan part from user-data file. ############# virt-install --import --connect qemu:///system --name microos --ram 2048 --vcpus 1 --disk size=20,backing_store=/var/lib/libvirt/images/openSUSE-MicroOS.x86_64-ContainerHost-kvm-and-xen.qcow2,bus=virtio --disk /var/lib/libvirt/images/testing-cidata.iso,device=cdrom --os-variant=opensusetumbleweed --network bridge=virbr0,model=virtio --noautoconsole --filesystem type=mount,mode=mapped,source=/var/lib/container_volumes,target=containervolumes ############# ############# mounts: - [ containervolumes, /opt/foo/bar/volumes, 9p, "trans=virtio", "0", "0" ] ############# The first boot is successful, however after reboot the system will stuck in boot as filesystems from /etc/fstab require relevant modules exist in initrd. I see that virtio_net, virtio_blk, virtio_scsi is already included but the filesystem modules for 9p and 9pnet_virtio do not. After manually adding them to dracut.conf and running "transactional-update initrd" it works. ############## filesystems+="9p nfs" add_drivers+="9pnet_virtio" ############## ps: recovering from stuck boot is only possible by using a SPICE remote access to VM's graphical interface so one could pick the previous snapshot from Grub. Do you have any advice how to accomplish the same from serial console (virsh console)? Should you have any questions please let me know. Thank you, -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1165739
http://bugzilla.opensuse.org/show_bug.cgi?id=1165739#c1
Ignaz Forster
http://bugzilla.opensuse.org/show_bug.cgi?id=1165739
http://bugzilla.opensuse.org/show_bug.cgi?id=1165739#c2
--- Comment #2 from Balázs Németh
participants (1)
-
bugzilla_noreply@novell.com