MAAS doesn't detect invalid YAML in curtin_userdata

Bug #1352582 reported by Jason Hobbs
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Unassigned

Bug Description

Users can edit curtin_userdata and introduce invalid yaml. MAAS doesn't detect this, and curtin has a hard to debug error message when it happens. It would be a lot cooler if MAAS detected this condition and warned the user.

James Troup (elmo)
tags: added: canonical-is
tags: added: tech-debt
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

This should apply to any YAML maas gets its hands on, since there is more than just curtin_userdata.

Changed in maas:
milestone: none → next
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Jason,

I believe this has now been fixed. MAAS now, before deployin a machine, checks that the preseed can be rendered. This is available in 2.3+.

tags: added: internal
Changed in maas:
status: Triaged → Fix Released
Changed in maas:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.