~newell-jensen/maas:2.5-lp1806862

Last commit made on 2019-03-08
Get this branch:
git clone -b 2.5-lp1806862 https://git.launchpad.net/~newell-jensen/maas
Only Newell Jensen can upload to this branch. If you are Newell Jensen please log in for upload directions.

Branch merges

Branch information

Name:
2.5-lp1806862
Repository:
lp:~newell-jensen/maas

Recent commits

f82c078... by Newell Jensen

LP: #1806862 -- Surface tags in the controller websocket handler.

e4ecbd5... by Alberto Donato

backport 99acf449a - LP: #1817484 - add keepalive for Postgres connections and connect/disconnect events for the listener

3f9a741... by Björn Tillenius

Backport e19c69f8c and 5ad8283cd.

LP #1818132: Upgrading fails 0182_remove_duplicate_null_ips migration

All the staticipaddress foreign key constraints are now taking into
account.

LP #1817305: Remove duplicate null ip records for the same interface and subnet Edit

This cleans up the data mostly, so that we don't have 10s of thousands
redundant records in the database slowing things down.

This patch doesn't handle the case where there are multiple interfaces
sharing the same ip address records, but only a few redundant records
should remain, so they won't affect performance.

915438a... by Newell Jensen

Revert "backport of c2f9649da038a217caf91a96435e67a980cd0fed"

This reverts commit 1fd1b583a5b7ebb4faca81bbcb7ab57c728105ba.

2e37ab5... by Blake Rouse

Fixes LP: #1815091 - Unable to clear the nodes storage configuration when a virtual block device exists on top of another virtual block device.

Backport of 5fcf2bf0a46767b2aab9d76603768818464251f7.

67eeba1... by Björn Tillenius

Backport b5e689600c988b86171458939465616075142f36.

LP #1817056: StaticIPAddress records with NULL ip keeps adding up
When the update_lease() RCP method gets called for an expired
lease, it adds a null IP record so that the interface stays linked to
the subnet. It didn't re-use existing such records, though.

1fd1b58... by Newell Jensen

backport of c2f9649da038a217caf91a96435e67a980cd0fed

Ephemeral Deployment -- Adds capability to be able to deploy machines ephmerally if they have no disks.

af3db70... by Björn Tillenius

Backport 84b734f265d99c54946b9b25b6079d0b6006947e

LP: 1816452 - Loading network related page, such as 'interfaces' or 'add device' takes too long

The subnet.list websocket handler didn't scale with many observed IPs in
the database.

With the old code, subnet.list took 30 seconds when there were 40 000
observed IPs in the database. with the new code it takes 2.5 seconds.

There's a bug where we keep adding observered IP records in the database
with a null ip field. That was how we discovered the scaling problem in
the first place. But with the new code having those records in the
database doesn't affect performance.

2785cfe... by Lee Trager

Backport of 1a502e4 LP: #1816651 - Handle duplicate IP addresses when creating a BMC object.

6504e1c... by Newell Jensen

backport of f11cc4b9f5a8ea65f82bc40065dc7d9e2ad6119d

LP: #1814126 -- Only update the node's tags with the websocket handler if they are set in the parameters.