@mcbridematt @Krist To avoid polluting the other thread, decided to create new one.
Trying to create Rockstor vm in muvirt.
I have created /mnt/vm/rockstor.qcow2
with qemu-img
command.
When using the following configuration
config vm 'rockstor'
option numprocs '2'
option memory '4096'
option mac '52:54:00:55:48:df'
list disks '/mnt/vm/rockstor.qcow2,serial=rroot'
list disks '/dev/sda,serial=disk1'
list disks '/dev/sdb,serial=disk2'
option provinplace '1'
option imageurl 'https://rockstor.com/downloads/installer/leap/15.3/aarch64/Rockstor-Leap15.3-ARM64EFI.aarch64-4.1.0-0.qcow2'
option checksum 'sha256:91ba94169b40fa32ac0430148cfe041b7883d37724cf781f1fab9e0dea82952b'
option imageformat 'qcow2'
option _downloading '-1'
I get
root@openwrt:~# muvirt-provision rockstor
muvirt-provision: [rockstor] downloading https://rockstor.com/downloads/installer/leap/15.3/aarch64/Rockstor-Leap15.3-ARM64EFI.aarch64-4.1.0-0.qcow2 to /mnt/vm//rockstor/image.bin
...
Using image file /mnt/vm//rockstor/image.bin
qemu-img: Could not open '/mnt/vm/rockstor.qcow2,serial=rroot /dev/sda,serial=disk1 /dev/sdb,serial=disk2': Could not open '/mnt/vm/rockstor.qcow2,serial=rroot /dev/sda,serial=disk1 /dev/sdb,serial=disk2': No such file or directory
vm
muvirt-provision: [rockstor] ERROR: Provision in place - /mnt/vm/rockstor.qcow2,serial=rroot /dev/sda,serial=disk1 /dev/sdb,serial=disk2 does not exist
Trying various options for disks, even with single disk line like
list disks '/mnt/vm/rockstor.qcow2,serial=rroot'
fails like above.
Decided the simplest configuration for disks with the following line only in the configuration
list disks '/mnt/vm/rockstor.qcow2'
Trying to provision again
root@openwrt:~# muvirt-provision rockstor
muvirt-provision: [rockstor] downloading https://rockstor.com/downloads/installer/leap/15.3/aarch64/Rockstor-Leap15.3-ARM64EFI.aarch64-4.1.0-0.qcow2 to /mnt/vm//rockstor/image.bin
...
Using image file /mnt/vm//rockstor/image.bin
Writing image to /mnt/vm/rockstor.qcow2
Starting VM rockstor
vm
muvirt-provision: [rockstor] First time boot failed to launch qemu (possibly missing storage/files), check system log for details
vm
muvirt-provision: [rockstor] First VM boot failed
Trying to rescue this by changing configuration to
config vm 'rockstor'
option numprocs '2'
option memory '4096'
option mac '52:54:00:55:48:df'
list disks '/mnt/vm/rockstor.qcow2,serial=rroot'
list disks '/dev/sda,serial=disk1'
list disks '/dev/sdb,serial=disk2'
option provinplace '1'
option imageurl 'https://rockstor.com/downloads/installer/leap/15.3/aarch64/Rockstor-Leap15.3-ARM64EFI.aarch64-4.1.0-0.qcow2'
option checksum 'sha256:91ba94169b40fa32ac0430148cfe041b7883d37724cf781f1fab9e0dea82952b'
option imageformat 'qcow2'
(removed the downloading and oneshot indicators, re-added disks with serials)
Starting the vm, and it silently fails with logs
root@openwrt:~# logread | tail
...
Sun Jul 24 08:28:14 2022 user.notice muvirt: rpc start request for rockstor
Now, I am out of ideas.