Machines can't be deployed after deselecting all archs in the "Ubuntu extra architectures" package repo
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| MAAS |
Fix Released
|
Medium
|
Unassigned | ||
| 2.7 |
Fix Released
|
Medium
|
Victor Tapia | ||
| 2.8 |
Fix Released
|
Medium
|
Victor Tapia | ||
| 2.9 |
Fix Released
|
Medium
|
Victor Tapia | ||
| maas-ui |
Fix Released
|
Unknown
|
|||
Bug Description
Deselecting all archs in the "Ubuntu extra architectures"
"Error:Failed to retrieve curtin config: 'NoneType' object has no attribute 'url'"
When deselecting all archs and saving, the default archs are pulled in again (["amd64", "i386"]), which are filtered out by PackageReposito
The message doesn't give any information about the origin of the error. Given that this is a default repo, changing the archs pulled in when left empty or raising a warning when saving the changes seem to be good options for this bug.
Traceback from logs:
2020-11-25 16:29:01 maasserver.
Traceback (most recent call last):
File "/usr/lib/
File "/snap/
return target()
File "/snap/
task()
File "/snap/
task()
--- <exception caught here> ---
File "/snap/
result = inContext.theWork()
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/
return self._call_
File "/snap/
result = method(params)
File "/snap/
return action.
File "/snap/
File "/snap/
raise NodeActionError
Related branches
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 47 lines (+22/-2)2 files modifiedsrc/maasserver/forms/packagerepository.py (+6/-2)
src/maasserver/forms/tests/test_packagerepository.py (+16/-0)
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 47 lines (+22/-2)2 files modifiedsrc/maasserver/forms/packagerepository.py (+6/-2)
src/maasserver/forms/tests/test_packagerepository.py (+16/-0)
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 47 lines (+22/-2)2 files modifiedsrc/maasserver/forms/packagerepository.py (+6/-2)
src/maasserver/forms/tests/test_packagerepository.py (+16/-0)
| tags: | added: ui |
| no longer affects: | maas |
| affects: | maas-ui → maas |
| description: | updated |
| Changed in maas-ui: | |
| importance: | Undecided → Unknown |
| Changed in maas: | |
| status: | New → Fix Committed |
| importance: | Undecided → Medium |
| milestone: | none → 2.10-beta1 |
| Changed in maas: | |
| status: | Fix Committed → Fix Released |
| Changed in maas-ui: | |
| status: | New → Fix Released |

Adding maas-ui because this could be fixed by setting a different set of default values or just showing an error message when left empty.