manual machine with local lxd controller has no apiaddresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Incomplete
|
High
|
Joseph Phillips |
Bug Description
Juju 2.9.4, Focal controller, Bionic machine.
I created a lxd based controller with `juju bootstrap localhost controller --bootstrap-series focal`.
I want to have the hardware that the LXD lives on managed by this controller, so I added a model, then a manual machine for the local host:
juju add-machine ssh:<email address hidden>
Regardless of the interface I use, the logs on the unit show:
ERROR juju.worker.
The agent.conf for the machine agent appears complete except there's no 'apiaddresses' field at all.
I tried adding that field with the relevant information, but when the agent restarts it wipes that information out again.
Note that this leaves the machine in the pending state forever.
Changed in juju: | |
milestone: | none → 2.9.6 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
milestone: | 2.9.6 → 2.9.7 |
Changed in juju: | |
milestone: | 2.9.7 → none |
Tried making a manual cloud with multiple LXC containers. Same result as above, I can add LXD containers to the manual cloud as machines without any problem, but when I add the machine that's hosting the LXDs as a manual machine, there's no apiaddresses in the agent.conf and it is stuck in 'pending'.