~mpontillo/maas:backport-maas-common--2.2

Last commit made on 2017-09-18
Get this branch:
git clone -b backport-maas-common--2.2 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:
backport-maas-common--2.2
Repository:
lp:~mpontillo/maas

Recent commits

9daa703... by Mike Pontillo

LP: #1702703 - Add /usr/lib/maas/maas-common command

 * Any commands not specific to the rack controller will
   now be available in /usr/lib/maas/maas-common.
 * Add a symbolic link in the snap to point to the maas-rack
   command.
 * Add buildout rules to generate bin/maas-common.
 * Change packaging to have maas-common depend on
   the Python code for the provisioning server, so that the
   command can successfully run.
 * Rename some scripts in /usr/lib/maas to remove the
   redundant maas- prefix, and prevent conflicts with
   the old packaging.
 * Update the debhelper compat level to 9, so dh-exec
   can be used to copy and rename files in the same step
   in .install files.
 * Rename get_maas_provision_command() to
   get_maas_common_command().

Backports: e4146a7bf1c58c9aaad94d850360192419093eaf

254b99d... by Blake Rouse

Backport 0a9d968925552226479a80333240943f3cb504af from master.

LP: #1715634 - Prefetch all node data in the tags API so SQL queries are consistent.

With the nodes, machines, devices, rack_controllers, and region_controllers on the tags endpoint returning the correct objects Piston will convert them into the correct result object which results in large number of queries per node. This prefetches all the required data making the number of queries consistent.

58dee18... by Данило Шеган

Backport 529d83cf15f9d0b227761a4dfc3dd892e5e3ca7d from master.

Fixes LP #1676992: force Postgresql restart on maas-region-controller installation.

This ensures it restarts even when running in chroot (eg. during server installation from an ISO/CD).

8e27f6b... by Andres Rodriguez

utilities/release-build: Replace with the one from master

314b2b2... by Andres Rodriguez

debian/changelog: Fix to match current releases

5231013... by Blake Rouse

Backport 404d1299a735e57670609f27005f00cad7bc6c28 from master.

Fixes LP: #1711700 - Improve DNS reloading so its happens only when required.

This refactors all the the database triggers that alert all the active regions that DNS needs to be reloaded. The refactor ensures that DNS actually needs to be reloaded by checking to ensure that data was adjusted that requires a reload.

Trigger also now provide a proper message on what caused it to request the reload to be perform. The reload code now looks at the reasons and prints a log message each time it actually performs a reload for the reason it was performed.

ffe5fd8... by Blake Rouse

Backport eebad83a13bf1d1ec99d2bba4fdcd831cbede3f1 from master.

Fixes LP: #1710308, #1710278 - After BIND reload verify that the serial for all authoritative domains the new value before continuing.

224314c... by Lee Trager

LP: #1710681 - Allow architecture to be deselected in the UI.

The UI was preventing architectures from being deselected because removing the architecture meant removing the commissioning series for that architecture. The user is now allowed to deselect an architecture as long as another architecture is selected.

This is a backport of 79247ae722b4abe84154a1305b9be69e6158b490

719e54c... by Matt Rae

Backport dc1df66f0d87d6753b546b384eb665ece44e48e2 from master.

LP: #1708052 -- Quick erase doesn't remove md superblock

Increase write to 2 MB to beginning of the disk so software raid superblock are wiped.

e34eded... by Blake Rouse

Backport c2aed3017ef73b5af23c72d40c9c0c0fc1cf475f and 6ffe84b98701cff8ead64d082b807642da83f326 from master.

LP: #1707971 - Only expose the source address for each subnet on a region controller.