~cgrabowski/maas:provide_additional_clustered_VM_info

Last commit made on 2021-10-18
Get this branch:
git clone -b provide_additional_clustered_VM_info https://git.launchpad.net/~cgrabowski/maas
Only Christian Grabowski can upload to this branch. If you are Christian Grabowski please log in for upload directions.

Branch merges

Branch information

Name:
provide_additional_clustered_VM_info
Repository:
lp:~cgrabowski/maas

Recent commits

1f4f4a6... by Christian Grabowski

add hugepages and pinned core info

860d101... by Christian Grabowski

add system id for virtual machines in cluster

5de8322... by Alberto Donato

refactor storage layout choices setup

33d7be0... by Björn Tillenius

Fix filedescriptor bug in secure_erase_hdparam()

Close the filedescriptor through its file object, instead of using
os.close.

The relevant code created a file descriptor using os.open, and then
creates a file object for the descriptor using os.fdopen. It then closed
the file descriptor using os.close(), which meant that the file object
didn't know that the file descriptor had been closed.

Then when the garbage collector delete the file object, it tried to
close the file descriptor again, and got a "bad file descriptor" error.

Not sure if this affected a running MAAS, but we say quite frequent
intermittent test failures due to this.

7b09152... by Alexsander de Souza

add version, zone and pool to the websocket API

Also create valid VMCluster by default for testing. All VMClusters should have at least one pod. In special cases an empty cluster is needed (e.g. we need control over the pod creation) and this should be explicitly requested.

c1b407e... by Christian Grabowski

check if either the configured power_address or discovered power_address is a substring rather than generating a new one

4a6a33f... by Alberto Donato

merge BCacheStorageLayoutBase with BCacheStorageLayout (the only subclass)

11875e8... by Alberto Donato

brownfield: create the MAAS_RESOURCES_FILE exists before running scripts

316da60... by Björn Tillenius

Increase timeout for bootresources tests.

test_finalize_calls_notify_errback was failing intermittently. Given the
timeout was only 1 seconds, it's likely the system was simply overloaded
and took longer than 1 second to complete.

Now it uses the standard 30 seconds timeout all other tests use.

6b5d438... by Björn Tillenius

Allow more time for DNS reload in tests.

The DNS tests in test_config.py sometimes error with a timeout when
reloading DNS. Considering the default timeout is 2 seconds, it's most
likely that the machine is simply slow.

Bump the timeout to 30 seconds for these tests.