machine allocation on a (virsh) pod fails: frozenset does not support indexing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
Having converted my machine to use virsh pod, I get the following error when juju (2.2~alpha1) tries to allocate a machine:
2017-03-21 12:26:21 maasserver: [error] #######
2017-03-21 12:26:21 maasserver: [error] Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
response = upcall(request, *args, **kwargs)
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/usr/lib/
return function(self, request, *args, **kwargs)
File "/usr/lib/
architecture = architectures[0]
TypeError: 'frozenset' object does not support indexing
Related branches
- Gavin Panella (community): Approve
- LaMont Jones (community): Approve
-
Diff: 61 lines (+38/-2)2 files modifiedsrc/maasserver/api/machines.py (+4/-2)
src/maasserver/api/tests/test_machines.py (+34/-0)
Changed in maas: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Blake Rouse (blake-rouse) |
milestone: | none → 2.2.0 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |