~adam-collard/maas:event-node-migration-donothing

Last commit made on 2020-02-07
Get this branch:
git clone -b event-node-migration-donothing https://git.launchpad.net/~adam-collard/maas
Only Adam Collard can upload to this branch. If you are Adam Collard please log in for upload directions.

Branch merges

Branch information

Name:
event-node-migration-donothing
Repository:
lp:~adam-collard/maas

Recent commits

6b94f20... by Adam Collard

Blacken

46bae71... by Adam Collard

Add migration for event.node to on_delete DO_NOTHING

Fixes LP:1862379

01f3713... by Alberto Donato

a few cleanups for the deb/snap migration script

cfd5599... by Alberto Donato

add a helper script that will be called from the transitional deb package to perform migration tasks to the snap.

Note that the script will not be called inside snap containment, it's just
shipped in the snap so that it's easier to update.

f590d12... by Björn Tillenius

Fix intermittent test failures in the numa node tests.

The tests got unordered lists of numa nodes and network interfaces. Most
of the time, the lists were in the order the tests expected, but now and
then postgres would return them in a different order.

860fa4b... by Björn Tillenius

Fix test__reassign_interfaces intermittent failure.

Instead of replacing the existing PENDING script result, the test ended
up with 3 script results for the same script. Most of the time postgres
would return the latest one first, but now and then it would return one
of the others, that were still PENDING.

acf9e6e... by Björn Tillenius

LP #1794882: dhcpd doesn't start until maas-rackd is restarted

The code that registers the listener for dhcp events were called from
multiple thread, and wasn't threadsafe.

Considering that we shouldn't do db work inside the main twisted loop, I
refactored the code so that register a listener only modifies the
listener dicts. Then a separate looping call goes through the list of
channels to listen to and issue the db call in a separate thread.

That removed the race condition where the rack controller service would
register itself to listen for dhcp events, but the listen wouldn't
actually listen to that channel.

This branch also makes use of the fact that we now use the asyncio
reactor and can thus use async function definitions.

38d14a4... by Alberto Donato

fix database-port option for maas init

d8cfb42... by Newell Jensen

LP: #1858201 -- Round down to the nearest MiB for zfs storage pools for virsh.

d2f4300... by Alberto Donato

LP: #1859210 - only update interface info for physical interfaces