~bjornt/maas:bug-1873430-2.7

Last commit made on 2020-04-21
Get this branch:
git clone -b bug-1873430-2.7 https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Branch information

Name:
bug-1873430-2.7
Repository:
lp:~bjornt/maas

Recent commits

7e34ee0... by Björn Tillenius

LP #1873430: Subnet pages take a long time to load.

Speed up space.list websocket handler when there are many ip addresses.

The space.list handler prefetched staticipaddress, which make scales
very badly with the number of statipaddress records.

Added tests to ensure that the number of queries is constant and
modified the prefetch and logic to make it pass.

Also remove unneeded prefetch for fabric.list websocket call.

(cherry picked from commit 4cffcfabb2c9e4bfedd8d05c67cdffc2da01ff2a)

1a40e06... by Björn Tillenius

LPP: #1873478 - Deleting a secondary rack controller will make the primary secondary as well

This fixes the logic when deleting a rack controller, so that we don't
make the primary controller secondary as well.

(cherry picked from commit d4a3a53693eb593a8a469952b84a24f2838c8d45)

c25d426... by Lee Trager

LP: #1870171 - Remove token associations when transferring ownership of a Node.

210510d... by Alberto Donato

LP: #1871584 - include MAAS IP in DNS zone even if subnet has allow_dns false

5b60ef7... by Alberto Donato

LP: #1872868 add the "no_users" info to JSON login response

228eb84... by Lee Trager

Backport of d0653c9 LP: #1870171 - Remove the token column from the Node table.

The token column is only used by the API when allocating and machine and
listing allocated machines. When a User Token is deleted this association
causes the Node to be deleted as well. Allocated machines are already
filtered by owner and status so the token column isn't needed.

In the backport Node.token is no longer used but the column remains to
avoid creating a migration.

333b3d8... by Alberto Donato

add message at "maas init" that "all" mode will be deprecated in 2.8

9c6e036... by Alberto Donato

LP: #1868908 - start services when not disabled in the snap to run migrations

5a3f927... by Alberto Donato

LP: #1871423 - handle BACKOFF status from supervisord
LP: #1871582 - add "startsecs" to supervisor program stanzas to avoid quick respawns

e7f55d3... by Alberto Donato

LP: #1863597 - handle interface name matching existing one with different MAC