~bjornt/maas:bug-1817056-multiple-null-ip

Last commit made on 2019-02-25
Get this branch:
git clone -b bug-1817056-multiple-null-ip 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-1817056-multiple-null-ip
Repository:
lp:~bjornt/maas

Recent commits

4af7a22... by Björn Tillenius

Don't re-use null ip records, unless it's already linke to the interface.

87246cd... by Björn Tillenius

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.

84b734f... by Björn Tillenius

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.

1a502e4... by Lee Trager

LP: #1816651 - Handle duplicate IP addresses when creating a BMC object.

f11cc4b... by Newell Jensen

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

d02a215... by Blake Rouse

Add ability to clone interfaces from a source node to a destination node.

Uses similar logic to how cloning the storage layout works. Each clone occurs in a layer until the parent layer is cloned, only then can the child layer be cloned. This must take special care to be ensure that the MAC addresses are from the destination node and not MAC address from the source node.

6a71d83... by Lee Trager

Add python3-prometheus-client dependency and set /var/lib/maas/prometheus permissions

db79e36... by Anthony Dillon

Muted uneditable form labels

2ea4ca5... by Anthony Dillon

Updated the layout of the commissioning action in the machine details page.

fda3964... by Steve Rydz

LP: #1815754 - Add pod refresh message to pod list