Cannot compose VM in MAAS UI (again)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
As in ticket 1951842 described: I can't create vms on a LXD host.
I setup the lxd host like described, integrated into maas but when I try to create I just get error messages that memory and CPU count has to be less or equal to zero. I tried multiple times to refresh, the values about memory and CPU count are listed correctly in UI, running VM from command line works. MAAS correctly reads in all resources (CPU count, memory, storage). MAAS is version 3.3.
The only related messages in logs are below. I didn't see any other messages.
2024-01-09 11:32:25 maasserver.
Traceback (most recent call last):
File "/snap/
File "/snap/
File "/snap/
File "/snap/
--- <exception caught here> ---
File "/snap/
result = current_
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
form = await deferToDatabase
File "/snap/
result = inContext.theWork() # type: ignore[
File "/snap/
File "/snap/
return self.currentCon
File "/snap/
return func(*args, **kw)
File "/snap/
return func(*args, **kwargs)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
return func_outside_
File "/snap/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/snap/
raise HandlerValidati
duplicated of https:/ /bugs.launchpad .net/maas/ +bug/2048399