support running curtin in with debug
Bug #1467673 reported by
Scott Moser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Blake Rouse | ||
curtin |
Fix Released
|
Medium
|
Unassigned |
Bug Description
would be nice to be able to make a change to maas to be albe to run curtin with debug enabled.
that would allow people to see more debug output of curtin on the console at least.
also nice would be to run with --showtrace.
currently this can only be accomplished by changing maas region controller's
/usr/
the method 'pack_install' there just needs:
- command = ["curtin", "install"]
+ command = ["curtin", "-vv", "install"]
currently curtin's config cannot enable debug log or showtrace, so I'll add a task for that also.
Related branches
lp:~blake-rouse/maas/run-curtin-debug
- Andres Rodriguez (community): Approve
-
Diff: 108 lines (+43/-1)4 files modifiedsrc/maasserver/forms_settings.py (+10/-0)
src/maasserver/models/config.py (+2/-0)
src/maasserver/preseed.py (+15/-1)
src/maasserver/tests/test_preseed.py (+16/-0)
Changed in maas: | |
milestone: | none → 1.9.0 |
assignee: | nobody → Blake Rouse (blake-rouse) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Added this to curtin.
now you can add to your curtin config somethin glike:
verbosity: 3
showtrace: true
and get the equivalent of '-vvv' and '--showtrace'