I am trying to create a VM using virt-install. This is on a machine which is a MAAS node.
I do not want a pod. The truth is I’d like to ultimately do this on the MAAS rack+region controller. The VM will be used to host the juju controller.
I have created a bridge on the maas managed network. I’ve installed the right packages (qemu qemu-kvm libvirt-bin bridge-utils virt-manager)
When I run virt-install using the command below, I see no console output and a ‘New’ node never appears in the MAAS machine list. This is new SW for me so not sure where to start poking.
I imagine that I might have the console wrong but also imagined that this would eventually result in a New node in the machine list even if I never see anything on the console…
sudo virt-install --connect qemu:///system \
–name=juju-controller \
–ram=4096 --vcpus=1 \
–disk path=/var/lib/libvirt/images/juju-disk.qcow2,bus=virtio,size=10 \
–pxe \
–graphics=none \
–os-type=Linux \
–os-variant=ubuntu18.04 \
–network bridge:br0 \
–console pty,target_type=serial
When I run this command, I can see the juju-controller in a virsh list command. But it just does not appear to be doing anything.
Wondering are there logs I can explore on the rack to look for tftp and other early boot events…