Hi, I am trying to create VM in MAAS following this tutorial https://github.com/antongisli/maas-baremetal-k8s-tutorial/blob/main/maas-setup.sh
I made sure virtualisation was activated in my bios and kvm-ok
is returning:
INFO: /dev/kvm exists
KVM acceleration can be used
but when I run:
# add a VM for the juju controller with minimal memory
maas admin vm-host compose $VM_HOST_ID cores=8 memory=2048 architecture="amd64/generic" \
storage="main:16(pool1)" hostname="juju-controller"
# get the system-id and tag the machine with "juju-controller"
export JUJU_SYSID=$(maas admin machines read | jq '.[]
| select(."hostname"=="juju-controller")
| .["system_id"]' | tr -d '"')
maas admin tag update-nodes "juju-controller" add=$JUJU_SYSID
I got:
VM host does not support composability.
Success.
Machine-readable output follows:
{
"added": 0,
"removed": 0
}
I tried to compose a VM from the GUI, and I can see the error: “Error: An architecture is required”
Did I forgot to configure something?