This document is a work in progress to help me keep track of stuff while trying to get Rancher running on openSUSE MicroOS in a virtual machine on a Proxmox host.
# import a qcow2 as a disk to an existing vm
qm importdisk <vmid> openSUSE-MicroOS.x86_64-kvm-and-xen.qcow2 local-lvm
This is how I made the combustion/ignition virtual drive
# prep combustion
mkdir ./drive
mount /dev/pve/vm-104-disk-1 drive/
mkdir -p ./drive/combustion
umount drive
[ OK ] Closed D-Bus System Message Bus Socket.
Health checker emergency mode
Boot device: block:/dev/disk/by-uuid/a517d01d-d6a2-4e3f-8b30-6d5470a4cf22
my_root device: /dev/disk/by-uuid/a517d01d-d6a2-4e3f-8b30-6d5470a4cf22
my_root device exist
my_root mounted successfully
No successfull boot before
Generating "/run/initramfs/rdsosreport.txt"
Entery emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB strick or /boot
after mounting them and attach it to a bug report.
/bin/dracut-emergency: line 22: echo: write error: Input/output error
/bin/dracut-emergency: line 23: echo: write error: Input/output error
/bin/dracut-emergency: line 24: echo: write error: Input/output error
/bin/dracut-emergency: line 25: echo: write error: Input/output error
/bin/dracut-emergency: line 26: echo: write error: Input/output error
/bin/dracut-emergency: line 27: echo: write error: Input/output error
/bin/dracut-emergency: line 28: echo: write error: Input/output error
/bin/dracut-emergency: line 29: echo: write error: Input/output error
/bin/dracut-emergency: line 30: echo: write error: Input/output error
/bin/dracut-emergency: line 31: echo: write error: Input/output error
sulogin: tcgetattr failed: Input/output error
Press Enter for maintenance
(or press Control-D to continue):
Then I did the following in the vm shell to get the rdsosreport.txt and other info dumped to the combustion drive
# remount the combustion drive as rw
mount -o remount,rw /run/combustion/mount
# copy rdsosreport
cp /run/initramfs/rdsosreport.txt /run/combustion/mount
# make a dump of mount
mount > /run/combustion/mount/mount.txt
# get journalctl
journalctl > /run/combustion/mount/journalctl.txt
# get dmesg
dmesg > /run/combustion/mount/dmesg.txt
# stop the vm
poweroff
To extract the info from the combustion drive onto the proxmox host
mkdir drive
mount /dev/pve/vm-104-disk-1 drive
cp drive/*.txt .
umount drive
# rdosreport.txt
[ 3.670920] localhost kernel: sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 3.692776] localhost kernel: EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 3.695239] localhost kernel: BTRFS: device label ROOT devid 1 transid 27 /dev/sda3 scanned by systemd-udevd (293)
[ 3.700941] localhost kernel: BTRFS: device label SPARE devid 1 transid 7 /dev/sda4 scanned by systemd-udevd (288)
[ 3.708018] localhost systemd[1]: Found device QEMU_HARDDISK ROOT.
[ 3.708842] localhost ignition-setup-user-suse[324]: File /mnt/boot_partition/ignition/config.ign does not exist.. Skipping copy
[ 3.737312] localhost systemd[1]: Finished Ignition (setup user config).
[ 3.738408] localhost systemd[1]: Starting Combustion (preparations)...
[ 3.810603] localhost kernel: usb 1-1: new full-speed USB device number 2 using uhci_hcd
[ 3.815019] localhost kernel: EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 3.839747] localhost combustion[342]: sh: line 5: /lib/dracut/hooks/pre-udev/60-net-genrules.sh: No such file or directory
[ 3.840773] localhost systemd[1]: combustion-prepare.service: Main process exited, code=exited, status=1/FAILURE
[ 3.840821] localhost systemd[1]: combustion-prepare.service: Failed with result 'exit-code'.
[ 3.840851] localhost systemd[1]: Failed to start Combustion (preparations).
[ 3.840872] localhost systemd[1]: Dependency failed for Combustion.
[ 3.840893] localhost systemd[1]: Dependency failed for Initrd Default Target.
[ 3.840910] localhost systemd[1]: initrd.target: Job initrd.target/start failed with result 'dependency'.
[ 3.840927] localhost systemd[1]: initrd.target: Triggering OnFailure= dependencies.
[ 3.841834] localhost systemd[1]: combustion.service: Job combustion.service/start failed with result 'dependency'.
[ 3.841871] localhost systemd[1]: combustion.service: Triggering OnFailure= dependencies.
[ 3.841893] localhost systemd[1]: combustion-prepare.service: Triggering OnFailure= dependencies.
[ 3.841909] localhost systemd[1]: Stopped target Local File Systems.
[ 3.841929] localhost systemd[1]: Stopped target Paths.
[ 3.841949] localhost systemd[1]: systemd-ask-password-console.path: Succeeded.
[ 3.861331] localhost systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
[ 3.861395] localhost systemd[1]: Stopped target Slices.
[ 3.861418] localhost systemd[1]: Stopped target Sockets.
[ 3.861445] localhost systemd[1]: Stopped target Swap.
[ 3.861465] localhost systemd[1]: Stopped target Timers.
[ 3.862044] localhost systemd[1]: Started Emergency Shell.
[ 3.862385] localhost systemd[1]: Reached target Emergency Mode.
[ 3.862537] localhost systemd[1]: ignition-setup-base.service: Succeeded.
[ 3.862670] localhost systemd[1]: Stopped Ignition (setup base config).
[ 3.862826] localhost systemd[1]: ignition-setup-user.service: Succeeded.
[ 3.862937] localhost systemd[1]: Stopped Ignition (setup user config).
[ 3.863086] localhost systemd[1]: systemd-sysctl.service: Succeeded.
[ 3.863190] localhost systemd[1]: Stopped Apply Kernel Variables.
[ 3.863322] localhost systemd[1]: systemd-modules-load.service: Succeeded.
[ 3.863422] localhost systemd[1]: Stopped Load Kernel Modules.
[ 3.863572] localhost systemd[1]: systemd-tmpfiles-setup.service: Succeeded.
[ 3.863670] localhost systemd[1]: Stopped Create Volatile Files and Directories.
[ 3.864942] localhost systemd-journald[165]: Journal stopped