Failure to create ephemeral VM when no architectures are found on the VM host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Igor Brovtsin | ||
3.2 |
Fix Released
|
Medium
|
Igor Brovtsin | ||
3.3 |
Fix Released
|
Medium
|
Igor Brovtsin |
Bug Description
MAAS version: 3.2.6
When sending post request to /MAAS/api/
Traceback from regoind.log:
2022-10-27 08:13:41 maasserver: [error] #######
2022-10-27 08:13:41 maasserver: [error] Traceback (most recent call last):
File "/snap/
response = wrapped_
File "/snap/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/snap/
response = super()
File "/snap/
response = func(*args, **kwargs)
File "/snap/
result = self.error_
File "/snap/
result = meth(request, *args, **kwargs)
File "/snap/
return function(self, request, *args, **kwargs)
File "/snap/
) = get_allocated_
File "/snap/
compose_form = ComposeMachineF
File "/snap/
self.pod_forms = [
File "/snap/
ComposeMach
File "/snap/
self.
IndexError: list index out of range
Related branches
- MAAS Lander: Approve
- Anton Troyanov: Approve
- Adam Collard (community): Approve
-
Diff: 37 lines (+14/-1)2 files modifiedsrc/maasserver/forms/pods.py (+3/-1)
src/maasserver/forms/tests/test_pods.py (+11/-0)
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 37 lines (+14/-1)2 files modifiedsrc/maasserver/forms/pods.py (+3/-1)
src/maasserver/forms/tests/test_pods.py (+11/-0)
Changed in maas: | |
status: | Incomplete → Triaged |
Changed in maas: | |
importance: | Undecided → Medium |
Changed in maas: | |
milestone: | none → 3.4.0 |
status: | Triaged → Fix Committed |
Changed in maas: | |
assignee: | nobody → Igor Brovtsin (igor-brovtsin) |
tags: | added: bug-council |
tags: | removed: bug-council |
summary: |
- Ephemeral machine not created + Failure to create ephemeral VM when no architectures are found on the VM + host |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
hmm it seems your VM Host is missing its architecture. Can you share the output of `maas $PROFILE vm-hosts read`? Additionally, was the VM Host added with "register as a KVM host" on deployment, or was this an existing host that was added to MAAS' VM Hosts?