~ltrager/maas:load_scripts_before_creating_region

Last commit made on 2020-08-19
Get this branch:
git clone -b load_scripts_before_creating_region https://git.launchpad.net/~ltrager/maas
Only Lee Trager can upload to this branch. If you are Lee Trager please log in for upload directions.

Branch merges

Branch information

Name:
load_scripts_before_creating_region
Repository:
lp:~ltrager/maas

Recent commits

8ae4236... by Lee Trager

Load all scripts into the database before creating the region in the database.

When a new MAAS is added one of the first things that happens is the new region
is added to the database as a node. Creating a controller node object also
creates a ScriptSet and related ScriptResults to store commissioning scripts
from the region which are run later in startup. fe5acf1 moved all commissioning
scripts into the database. Because load_builtin_scripts() was being called
after the region was created the region was never able to be created in the
database causing startup to fail.

04a5818... by Alberto Donato

makefile: switch snap/snap-clean targets to local build

This is currently needed as maas needs some dependencies from the dev PPA.
Using the package-repositories feature is not currently possible because it
requires an explicit CLI switch which can't be used on Launchpad builds.

9da2d38... by Anthony Dillon <email address hidden>

Update maas-ui to c56ec0d
fix(legacy): Pass checkTestParameterValues and setDefaultValues to commissioning scripts selector (#1478)

Co-authored-by: Caleb Ellis <email address hidden>

f18fd2e... by Huw Wilkins

Update maas-ui to 292af5c
Remove old deploy warning.

bfc6e0c... by Caleb Ellis

Update maas-ui to 321a013
feat(ui): Set up scaffolding components and grid layouts for KVM resources cards. (#1480)

fe5acf1... by Lee Trager

Reorder commissioning scripts and move them into the database.

Reorder commissioning scripts to allow custom commissioning scripts to
easily run before MAAS scripts run. This is necessary to migrate BMC
detection code to a commissioning script. MAAS commissioning scripts which
have no dependencies are now run in parallel. This will speed up
commissioning by a couple of seconds. Commissioning time will not exceed
60s, LLDPD runtime.

All commissioning scripts are now stored in the database like testing
scripts. This allows MAAS to model which commissioning script version was
used during commissioning. MAAS commissioning scripts can now be easily
downloaded by users via the API or UI.

044f97c... by Dimitri John Ledkov

Drop python3-djorm-ext-pgarray dependency.

Unused since port to Django 1.8 ArrayField in 2015. See 0e181eca4677909387f175c96d6f6295a6bd8ca5

4c9664e... by Kit Randel

Update maas-ui to f2e8464
feat(workspace): Add commitizen. (#1474)

Add commitizen, a utility for making commits using the conventional commit format, via "yarn
commit". Additionally, update the Contributing section of README with relevant information for formatting commits.

2830c8f... by Huw Wilkins

Update maas-ui to 9f4329d
Move the status handler type's definition out of the function.

42aa557... by Anthony Dillon <email address hidden>

Update maas-ui to 9fdae4f
Add Python action to set up with version 3.8 (#1476)