[2.x] Failure to render drivers.yaml apt key in curtin_userdata
Bug #1667426 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo | ||
2.1 |
Won't Fix
|
Medium
|
Mike Pontillo |
Bug Description
When we go to render the a preseed containing a custom driver, we have the following code in the template:
{{py: key_string = ''.join(['\\x%x' % x for x in map(ord, driver[
As of Python 3, driver[
{{py: key_string = ''.join(['\\x%x' % x for x in driver[
Workaround: edit /etc/maas/
Related branches
lp:~mpontillo/maas/fix-curtin-custom-driver-preseed--bug-1667426
- Lee Trager (community): Approve
-
Diff: 108 lines (+65/-2)2 files modifiedcontrib/preseeds_v2/curtin_userdata (+16/-2)
src/maasserver/tests/test_preseed.py (+49/-0)
lp:~mpontillo/maas/fix-curtin-custom-driver-preseed--bug-1667426--2.1
On hold
for merging
into
lp:maas/2.1
- Mike Pontillo (community): Approve
-
Diff: 121 lines (+67/-2)3 files modifiedcontrib/preseeds_v2/curtin_userdata (+16/-2)
docs/changelog.rst (+2/-0)
src/maasserver/tests/test_preseed.py (+49/-0)
Changed in maas: | |
milestone: | none → 2.2.0 |
assignee: | nobody → Mike Pontillo (mpontillo) |
summary: |
- [2.x] Custom driver support has been broken since the move to Python 3 + [2.x] drivers.yaml rendering in curtin_userdata crashes when rendering + apt key |
summary: |
- [2.x] drivers.yaml rendering in curtin_userdata crashes when rendering - apt key + [2.x] Failure to render drivers.yaml apt key in curtin_userdata |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.