The COMMISSIONING_SCRIPT setting uses a relative path.

Bug #1021382 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Raphaël Badin
maas (Ubuntu)
Fix Released
Critical
Andres Rodriguez

Bug Description

in src/maas/settings.py we have:
COMMISSIONING_SCRIPT = 'etc/maas/commissioning-user-data'
This is a relative path which will work on a dev instance but not in production.

We need to change the value in settings.py to
COMMISSIONING_SCRIPT = '/etc/maas/commissioning-user-data'
and override that value in src/maas/development.py

Related branches

Raphaël Badin (rvb)
Changed in maas:
importance: High → Critical
Raphaël Badin (rvb)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
status: New → Confirmed
importance: Undecided → Critical
Raphaël Badin (rvb)
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
Changed in maas:
status: Fix Committed → Fix Released
Changed in maas (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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