~blake-rouse/maas:fix-1841807

Last commit made on 2019-09-10
Get this branch:
git clone -b fix-1841807 https://git.launchpad.net/~blake-rouse/maas
Only Blake Rouse can upload to this branch. If you are Blake Rouse please log in for upload directions.

Branch merges

Branch information

Name:
fix-1841807
Repository:
lp:~blake-rouse/maas

Recent commits

ee25f48... by Blake Rouse

Fixes LP: #1841807 - Handle the case where the RPC connection can be lost in a list-boot-images API call.

ddd1275... by Blake Rouse

Fixes LP: #1811222 - Add conditional unique index to ensure that only 1 physical interface with the same mac address can exist in the database.

This prevents serialization issues where it was possible for 2 database connections to create the same physical interface with the same MAC address at the same time. Adds a data migration to remove any duplicates that would have been previously allowed into the database before the unique index is added.

472eb52... by Steve Rydz

Add DHCP column to network table

801e08d... by Steve Rydz

Add link speed and interface speed fields to interface edit form

614c7c8... by Alberto Donato

add NumaNode model, and link it to nodes, and physical block devices and interfaces

The migration logic adds a default NUMA node 0 for each existing node, and links all resources to it.
Eventually we'll track all NUMA nodes in a node, and which resources are attached to them

e9a218e... by Newell Jensen

Add hooks for LXD cpu information. Remove lscpu and related tests.

26a0abd... by Alberto Donato

update python linters versions, fix spacing around = for kwargs with type annotations

bb8958e... by Björn Tillenius

Move DeferredAttribute loading prevention to a monkeypatch.

We currently prevent DeferredAttributes from being loaded from the
database in CleanSave.__getattribute__. However, that is very expensive,
since for each attribute get, we apply this check.

As an example, in a test that gets 30 nodes using the machine.list
websocket call, this patch took it down from 1.1 seconds to 0.6 seconds.

91b0f26... by Alberto Donato

lint fixes: remove "except" clauses, fix string escape and indentation issues

4dabd6d... by Alberto Donato

add patch for adding a unique index to the piston Nonce model

The actual model change to Piston is here:

https://code.launchpad.net/~ack/ubuntu/+source/django-piston3/+git/django-piston3/+merge/372061

Once this package is updated in bionic, we should udpate maas dependency to the new python3-django-piston3 version.