~pguimaraes/maas:vm-creation-lp-1842896

Last commit made on 2019-09-10
Get this branch:
git clone -b vm-creation-lp-1842896 https://git.launchpad.net/~pguimaraes/maas
Only Pedro Guimarães can upload to this branch. If you are Pedro Guimarães please log in for upload directions.

Branch merges

Branch information

Name:
vm-creation-lp-1842896
Repository:
lp:~pguimaraes/maas

Recent commits

8fabedc... by Pedro Guimarães

Added logs to check the new change during test

29f2f44... by Pedro Guimarães

Machine composition will always follow the same procedure, generate same valid_pod_forms list and eventually lead to same pod being picked each time. Removed original logic to choose a suitable pod and added a random pick instead
Closes-bug: #1842896

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