~newell-jensen/maas:lxd-commissioning-hooks-memory

Last commit made on 2019-09-10
Get this branch:
git clone -b lxd-commissioning-hooks-memory 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:
lxd-commissioning-hooks-memory
Repository:
lp:~newell-jensen/maas

Recent commits

0e10985... by Newell Jensen

Update current average frequency when there is no max.

24c6cac... by Newell Jensen

Review updates.

c9db21b... by Newell Jensen

LXD commissioning output memory is used instead of lshw output. Update cpu_speed to iterate over the sockets to take average frequency.

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.

f01a97d... by Blake Rouse

Fix regiond.conf and rackd.conf parser to handle StringBool correctly for reading the value from the store.

f8a0ec1... by Blake Rouse

Remove usage of django.contrib.admin when debug mode is enabled.