[2.3.x] Preseed fails to render when bcache backed partition is reformatted.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Newell Jensen | ||
2.3 |
Fix Committed
|
Critical
|
Newell Jensen | ||
2.4 |
Fix Committed
|
Critical
|
Newell Jensen |
Bug Description
=== Environment ===
OS: Xenial 16.04.4, Linux BLRKECROSINF32 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
MAAS version: 2.3.5
MAAS packages installed: https:/
=== Problem summary ===
While deploying some random Juju bundle (in this case it was "magpie"), Juju is not able to get a machine from MAAS: https:/
In the same time, MAAS regiond log contains following records:
2018-10-19 13:34:28 maasserver: [error] Traceback (most recent call last):
File "/usr/lib/
get_
File "/usr/lib/
yaml_config = get_curtin_
File "/usr/lib/
storage_config = compose_
File "/usr/lib/
return [generator.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
"backing_
AttributeError: 'NoneType' object has no attribute 'get_parent'
Full log: https:/
Manual deployment via GUI leads to same error messages in logs - "Logs > Installation output" shows only "System is booting", while similar log records appears in regiond log.
CLI:
ubuntu@
400 BAD REQUEST
Transfer-
X-Frame-
Failed to render preseed: 'NoneType' object has no attribute 'get_parent'
ubuntu@
Output of "maas admin machine read ....": https:/
Related branches
- Newell Jensen (community): Approve
-
Diff: 135 lines (+47/-9)4 files modifiedsrc/maasserver/api/tests/test_blockdevice.py (+1/-1)
src/maasserver/forms/__init__.py (+23/-6)
src/maasserver/forms/tests/test_blockdevice.py (+12/-1)
src/maasserver/forms/tests/test_partition.py (+11/-1)
- Newell Jensen (community): Approve
-
Diff: 135 lines (+47/-9)4 files modifiedsrc/maasserver/api/tests/test_blockdevice.py (+1/-1)
src/maasserver/forms/__init__.py (+23/-6)
src/maasserver/forms/tests/test_blockdevice.py (+12/-1)
src/maasserver/forms/tests/test_partition.py (+11/-1)
- Blake Rouse (community): Approve
- MAAS Lander: Approve
-
Diff: 135 lines (+47/-9)4 files modifiedsrc/maasserver/api/tests/test_blockdevice.py (+1/-1)
src/maasserver/forms/__init__.py (+23/-6)
src/maasserver/forms/tests/test_blockdevice.py (+12/-1)
src/maasserver/forms/tests/test_partition.py (+11/-1)
tags: | added: field-high |
tags: |
added: field-medium removed: field-high |
Changed in maas: | |
milestone: | none → 2.5.0rc1 |
Changed in maas: | |
status: | Incomplete → Confirmed |
importance: | Undecided → High |
Changed in maas: | |
importance: | High → Critical |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | Confirmed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
summary: |
- [2.3.x] "Failed to render preseed: 'NoneType' object has no attribute - 'get_parent'" on Juju acquisition event + [2.3.x] Preseed fails to render when bcache backed partition is + reformatted. |
+ ~field-medium team subscription