~freyes/maas:lp1880495

Last commit made on 2020-05-26
Get this branch:
git clone -b lp1880495 https://git.launchpad.net/~freyes/maas
Only Felipe Reyes can upload to this branch. If you are Felipe Reyes please log in for upload directions.

Branch merges

Branch information

Name:
lp1880495
Repository:
lp:~freyes/maas

Recent commits

6c45d67... by Felipe Reyes

LP: #1880495 - Use get_or_create() in migration step

The function get_default_domain() sets the ttl which during the migration
step 0011 is not present in the database yet. This patch uses get_or_create()
instead to get the 'maas' domain object with the same defaults that
get_default_domain() uses.

6e95bd1... by Lee Trager

Backport of c25d426 LP: #1870171 - Remove token associations when transferring ownership of a Node.

407a5a9... by Lee Trager

Backport of d0653c9 LP: #1870171 - Remove the token column from the Node table.

The token column is only used by the API when allocating and machine and
listing allocated machines. When a User Token is deleted this association
causes the Node to be deleted as well. Allocated machines are already
filtered by owner and status so the token column isn't needed.

In the backport Node.token is no longer used but the column remains to
avoid creating a migration.

05dc17c... by Adam Collard

Release 2.3.7

49c39fc... by Adam Collard

Fix regression introduced in 182d29396be7019

Fixes LP:1835480, don't call dehydrate_pod method which doesn't exist

8d2bda2... by Björn Tillenius

LP #1845351: MAAS sometimes get in a state where machine tags aren't updated from their definitions

Don't use a proxy for the rack-region API communication.

We require the rack to have direct access to the region without going
through a proxy.

Using a proxy for the rack-region communication (HTTP API only) has
partly worked, but been broken.

This fixes the test_check_tag_applied_to_all_machines() failure that
fails intermittently in CI.

(cherry picked from commit 4eee730d67082731ed43fe1075a4ce883fcd3823)

0358024... by Andres Rodriguez

debian/changelog: Release 2.3.6; Open 2.3.7

182d293... by Lee Trager

LP: #1759091 - Limit the amount of queries used during a list operation.

Handlers can now specify a list_queryset which is used when the client calls
list(). The machine, device, and controller handlers have been updated to
only output data needed for the listing page for that node type. All node
types now have their query count tested for list and get.

Backport of 3a0114c for LP: #1830365

45c2e4c... by Lee Trager

LP: #1752754 - Request historic results over the websocket instead of always sending them.

Backport of 9e35f1a for LP: #1830365

7ba8e6c... by Lee Trager

Update ScriptResult cache on node listen from trigger

Backport of f0e252b for LP: #1830365