[2.5.2][proposed] skip_storage and skip_networking used during commissioning affect restore-storage-configuration and restore-networking-configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Blake Rouse | ||
2.5 |
Fix Released
|
Medium
|
Blake Rouse |
Bug Description
It looks like skip_storage property applied to nodes during recommissioning affects `maas restore-
https:/
https:/
Code path:
https:/
So MAAS clears the storage by applying a default storage layout.
Tracing shows that self.skip_storage is set to True (I used that option during re-commissioning once or twice but it should not affect this operation):
https:/
3214 -> if self.skip_storage:
3215 return
3216 storage_layout = Config.
(Pdb) n
> /usr/lib/
-> return
Related branches
- Blake Rouse (community): Approve
-
Diff: 111 lines (+23/-2)4 files modifiedsrc/maasserver/models/node.py (+5/-0)
src/maasserver/models/tests/test_node.py (+10/-2)
src/metadataserver/builtin_scripts/hooks.py (+6/-0)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+2/-0)
- Andres Rodriguez (community): Approve
- Lee Trager (community): Approve
- MAAS Lander: Approve
- Newell Jensen (community): Approve
-
Diff: 111 lines (+23/-2)4 files modifiedsrc/maasserver/models/node.py (+5/-0)
src/maasserver/models/tests/test_node.py (+10/-2)
src/metadataserver/builtin_scripts/hooks.py (+6/-0)
src/metadataserver/builtin_scripts/tests/test_hooks.py (+2/-0)
Changed in maas: | |
milestone: | none → 2.6.0alpha2 |
importance: | Undecided → Medium |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Subscribed ~field-critical. We rely on restore- storage- configuration for subsequent reruns of FCE during deployments and not being able to clear-and-reapply storage config breaks our workflow.