~mpontillo/maas:xenial-to-bionic--utilities-cleanup

Last commit made on 2018-01-05
Get this branch:
git clone -b xenial-to-bionic--utilities-cleanup https://git.launchpad.net/~mpontillo/maas
Only Mike Pontillo can upload to this branch. If you are Mike Pontillo please log in for upload directions.

Branch merges

Branch information

Name:
xenial-to-bionic--utilities-cleanup
Repository:
lp:~mpontillo/maas

Recent commits

e4435b5... by Mike Pontillo

Change utility scripts to use Bionic instead of Xenial.

8c8657a... by Blake Rouse

Get development environment to work on bionic.

Add new bionic packages. Remove old releases that 2.4 will not run on. Fix versions.cfg to work with new dependencies in bionic.

8469104... by Alberto Donato

LP #1741302 - don't use class attribute for mutable object

6db74f5... by Lee Trager

When the for_hardware field is set only autoselect Scripts by tag when hardware matches

23ce9d7... by Lee Trager

Set status_expired when a reboot is detected by the node status monitor.

If the heartbeat has flatlined and a Script.may_reboot is True assume the
system is rebooting. Set node.status_expires to the time remaining as defined
in NODE_FAILURE_MONITORED_STATUS_TIMEOUTS.

02468bf... by Lee Trager

Add scripts associated with the node through a for_hardware field on redownload.

When a script tar download request comes in look for scripts associated with
the nodes hardware if the client has sent a result. This allows the script
runner to receive newly found matching scripts after sending the result of
the modalias script.

34602c4... by Lee Trager

When receiving a result from a recommissioning script set all built in commissioning scripts.

If a user sets a custom script to recommission when receiving the result the
region will reset all built in recommissioning scripts to pending. This
allows a user to create a custom commissioning script which reconfigures
hardware and ensures MAAS knows the current hardware configuration of the
machine.

593570c... by Lee Trager

Redownload scripts after finishing commissioning and handle 204 status.

After finishing commissioning redownload the tarball of scripts. This allows
the region to process commissioning script output and add new commissioning
and testing scripts based on available hardware. If there are no new scripts
to run the region will now return 204 which the script runner acknowledges by
successfully terminating.

96f0548... by Newell Jensen

Add model signals for Audit logging.

When a User or Node is deleted, the signals set the username and node_hostname for the Event model instance.

38d6bb0... by Alberto Donato

add Role model to link users to resource pools.