~mpontillo/maas:fix-region-ip-selection--bug-1743005--2.3

Last commit made on 2018-01-27
Get this branch:
git clone -b fix-region-ip-selection--bug-1743005--2.3 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:
fix-region-ip-selection--bug-1743005--2.3
Repository:
lp:~mpontillo/maas

Recent commits

6326359... by Mike Pontillo

LP: #1743005 - Use Host header to determine host for metadata URL.

Backports: 3eda375636385a33c1f3fc447a86592b3a5a5f4b

6564105... by Lee Trager

Backport of d2d9197 LP: #1742137 - Make sure awk always outputs integers

memtester.sh uses awk to calculate the amount of memory available to test.
When systems have a large amount of memory awk was returning these values in
e notation which caused the kernel minimum value to be used instead.

c50ea74... by Alberto Donato

Backport 2c8be509e37f0509a4cd55b3f241b0b8000d20b1 - LP: #1642916: check if user has assigned resources before trying to remove

ec7f6c7... by Lee Trager

Backport of c70cb5e - LP: #1742290 - Ensure DEBIAN_FRONTEND=noninteractive is set in the script runner

While DEBIAN_FRONTEND=noninteractive is set in user_data.sh which calls
maas-run-remote-scripts sudo cleans the environment. Make sure noninteractive
mode is set in the current environment and whenever sudo is used.

28d46e8... by Andres Rodriguez

Drop pyopenssl and service_identity from requirements.txt.

These two packages are already installed as dependencies of python3-twisted. As such, these are not required to be listed in requirements.txt nor in the 'packages' part.

7b90188... by Andres Rodriguez

Backport 62aee4ec0461c62a5cd3cd290232f359b1d34973

Use the correct user-agent across the board.

26f5c08... by Andres Rodriguez

Partially backport cb8d5d4b8a1678f130e4fe632b33bb04c671ac52

Improve the snap so that it builds regardless of the python version and better organize files.

8471ef9... by Lee Trager

Backport of 74e13f4 -LP: #1730916 - Fix TestParametersForm.test__input_runtime_validates_min and TestRunScripts.test_run_scripts

3972861... by Lee Trager

LP: #1718706 - Set TGT_IPC_SOCKET when run in snap

When TGT is run in a snap the socket is stored in the SNAP_DATA path. Define
it before calling tgt-admin otherwise the stanard path is used and the call
will fail.

b6f0401... by Mike Pontillo

LP: #1702527 - Fix errors when attempting to perform range usage calculations on deleted subnets.

This is a workaround for inconsistent Django behavior when checking
or the existence of foreign key relationships within signal handlers.
Bugs have been reported which include evidence of cached objects
with stale FK IDs, which can raise exceptions in our signal handlers.

Backports: e33e25b6777de740fb5089f2ecd5466a739d4504