I would like to install Maas on a bare metal host using Snaps or Packages and then be able to register LXD containers that are running on the same host. This Github post seems to indicate some changes were made to support this but I’m still running into an issue where LXD Init can’t find the host in Maas. Presumably because the controller doesn’t show up as a host. The end goal is to be able to colocate some containers for some other services like FreeIPA on the same host and have those containers show up in Maas.
config:
maas.api.key: CFrysYtgAQsU9Z8rFs:fT6RZdAaz7NLmFwXe8:WMmkWVbGVHNKnbRebQ24femqjdDZAhHL
maas.api.url: http://192.168.1.76:5240/MAAS
maas.machine: ubuntu.maas
networks:
- config:
ipv4.address: auto
ipv6.address: auto
description: ""
managed: false
name: lxdbr0
type: ""
storage_pools:
- config:
size: 24GB
description: ""
name: default
driver: zfs
profiles:
- config: {}
description: ""
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
cluster: null
Error: Failed to update server configuration: Couldn't find the specified machine: ubuntu.maas