~bjornt/maas:2.6-bug-1835316-add-event-index

Last commit made on 2019-09-03
Get this branch:
git clone -b 2.6-bug-1835316-add-event-index 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:
2.6-bug-1835316-add-event-index
Repository:
lp:~bjornt/maas

Recent commits

58158cf... by Björn Tillenius

Fix test failures.

a1ca33a... by Björn Tillenius

Backport b745a2765caa132eb76a542435d0b1116f420c82.

LP: #1835316 - Requesting machine listing results in 100% postgresql CPU
usage

Add index to the event table to speed up machine listing.

The index speeds up getting the latest event for each node that is
displayed on the machine listing.

3856207... by Alberto Donato

backport f1d879bfcac9494d6684eec7ecbdd8c3d0bf6c11 - LP: 1840667 - rework maasserver patch 0192 to depend on 0187 to allow backporting

5b03a93... by Alberto Donato

backport 43a0388e57160046d5fcb3251f5a3cfcdefd3fa1 - cleanup unused prometheus files on regiond and rackd startup

3182da1... by Alberto Donato

backport ff5b35db6492b40c3b0645c6c412ee7c76789be4 - optimize code for ListNodePowerParameters by reducing queries and materilized objects

4fab2b2... by Alberto Donato

backport 73dc1256c22560d5f6fb3c46eca518efacd06f61 - add metrics for websocket queries count and latency

4181033... by Alberto Donato

backport eb195721af45a2a7eaffea9cbf580c70f67e3a04 - move rack/region RPC latency collection to the Client class.

The RPCFetcher is not used for all RPC calls, so only the GetBootConfig one
ended up being tracked.

30f06cb... by Blake Rouse

Fixes LP: #1836276 - Select IP address from interface for shared network defined from the region controller, allowing relayed VLAN's to point to the correct IP address on the rack controller.

Backport of 563a8ff12e6aafb4f144c40fb2568071621cb2fb

1024037... by Lee Trager

Backport of df8ae4e LP: #1840181 - Use model to get device name for ScriptResult events

f73b1cc... by Newell Jensen

backport of f0331a265c1096ad7ee5cb1a24223b3c6b5813ff

LP: #1834500, #1468830 -- Mark previously deployed machines deployed when mark fixed. Allow marking a machine fixed if power is not on.