Unable to connect MAAS to an LXD VM host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
I deployed Ubuntu 20.04 to a machine and installed the latest stable LXD snap(2.49 rev 11109). I then configured it to be available over the network. When I tried to connect I get the following stack trace
==> /var/log/
2021-03-12 18:18:07 provisioningser
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
client = self._get_
File "/usr/lib/
client = Client(
builtins.
==> /var/log/
2021-03-12 18:18:07 maasserver.
Traceback (most recent call last):
File "/usr/lib/
current.result = callback(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
current.result = callback(
File "/usr/lib/
get_
File "/usr/lib/
raise exc
provisioningse
2021-03-12 18:18:07 maasserver.
Traceback (most recent call last):
File "/usr/lib/
current.result = callback(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
current.result = callback(
File "/usr/lib/
raise PodProblem(
maasserver.
Related branches
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 13 lines (+1/-1)1 file modifieddebian/control (+1/-1)
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Alberto Donato (ack) |
importance: | Critical → Low |
importance: | Low → High |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
If you install maas from master, you need the latest-deps PPA (https:/ /launchpad. net/~maas- committers/ +archive/ ubuntu/ latest- deps).
That being said, maas should depend on pylxd 2.3.0, which adds project support.
The python3-pylxd version we currently have in that PPA is badly named, as it is built from master and it's actually post-2.3.0.
I pushed a changelog entry, a package with the correct version should build soon.