I have MAAS installed on a NUC running 19.10 desktop. I successfully deployed an LPMI-based server with Ubuntu 18.04. Now, I am trying to install Juju. When I get to the part where I run:
juju bootstrap {{ name }} maas-controller
It successfully creates the machine in MAAS and it has the green icon that says it is powered on but the status is stuck on “Powering on”.
I installed virsh and and here’s the output when I query the metal KVM host:
~/Documents/juju-openstack$ virsh -c qemu+ssh://ubuntu@10.0.0.147/system list --all
Id Name State
------------------------------
6 joint-bobcat running
Here’s the bash scripts I used to get this far:
#!/bin/bash
sudo snap install juju --classic
# https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/install-juju.html
juju add-cloud --local {{ name }} /tmp/servr/maas-cloud.yaml
juju add-credential --local {{ name }} -f /tmp/servr/maas-creds.yaml
# https://jaas.ai/docs/maas-cloud
###### THIS NEXT STEP IS THE ONE THAT FAILS ######
juju bootstrap {{ name }} maas-controller
# https://www.2stacks.net/blog/bare-metal-to-kubernetes-part-2/
juju add-model {{ model }}
juju deploy charmed-kubernetes
maas-cloud.yaml:
clouds:
{{ name }}:
type: maas
auth-types: [oauth1]
endpoint: http://{{ hostname }}:5240/MAAS
maas-creds.yaml
credentials:
{{ name }}:
anyuser:
auth-type: oauth1
maas-oauth: {{ key }}
Does anybody know how I can fix this?
Note: This error also occurs if I use MaaS to directly create a new pod in the KVM host.