Log curtin config for debugging purposes.
Bug #1768911 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Andres Rodriguez | ||
curtin |
Invalid
|
Undecided
|
Unassigned |
Bug Description
As in bug 1768893, it's common for curtin config information to be requested to debug issues with maas/curtin.
Since this is dynamically generated, it's not stored anywhere on the maas file system or db. Additionally, it can only be retrieved while a node is in DEPLOYING state. Once the node has entered FAILED DEPLOYMENT, it's too late.
So, we don't have a good way to capture this during automated tests. The lack of this ability prevents us from getting the required logs to debug blocker issues, so this issue is itself a blocker.
Related branches
~andreserl/maas:lp1768911
Merged
into
maas:master
- Newell Jensen (community): Approve
- MAAS Lander: Approve
-
Diff: 18 lines (+7/-0)1 file modifiedsrc/maasserver/models/node.py (+7/-0)
tags: | added: cdo-qa cdo-qa-blocker foundations-engine |
description: | updated |
Changed in maas: | |
status: | New → Triaged |
milestone: | none → 2.4.x |
Changed in maas: | |
milestone: | 2.4.x → 2.4.0rc1 |
summary: |
- curtin configuration for node during installation should be logged by - default + Log curtin config for debugging purposes. |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in curtin: | |
status: | New → Invalid |
To post a comment you must log in.
You can use the get-curtin-config API to get the config even when the machine is in failed deployment. It is not too late.