lp:~d0ugal/maas

Owned by Dougal Matthews
Get this repository:
git clone https://git.launchpad.net/~d0ugal/maas
Only Dougal Matthews can upload to this repository. If you are Dougal Matthews please log in for upload directions.

Branches

Name Last Modified Last Commit
owner-data-to-annotatons 2020-12-18 12:41:09 UTC
Start renaming ownerdata to annotation

Author: Dougal Matthews
Author Date: 2020-12-18 10:38:56 UTC

Start renaming ownerdata to annotation

This change begins the transition from owner data to annotation. It
updates the internals but leaves the model with the original name.

The websocket handler is renamed without a backwards compatability shim
as it hasn't yet been released.

The API was also renamed, but the old version is kept in place for
backwards compatability.

machine-list-owner-data 2020-12-18 12:40:54 UTC
Fix count

Author: Dougal Matthews
Author Date: 2020-12-18 12:32:00 UTC

Fix count

allow-owner-data-methods 2020-12-16 09:31:16 UTC
Allow use of the OwnerData websocket methods

Author: Dougal Matthews
Author Date: 2020-12-16 09:31:16 UTC

Allow use of the OwnerData websocket methods

scriptset-refactor 2020-12-01 14:10:38 UTC
Updates from feedback

Author: Dougal Matthews
Author Date: 2020-12-01 14:10:38 UTC

Updates from feedback

workload-annotations 2020-11-26 13:50:28 UTC
Revert the change in get_owner_data and add a note

Author: Dougal Matthews
Author Date: 2020-11-26 13:50:04 UTC

Revert the change in get_owner_data and add a note

assert-form-valid 2020-11-23 16:00:27 UTC
Improve the error message on tests that verify a form is valid

Author: Dougal Matthews
Author Date: 2020-11-23 16:00:27 UTC

Improve the error message on tests that verify a form is valid

Without this change the error is something like "False is not True" and
provides you with no other context. This will include the form error
messages in the failure.

lp-1867812-blockdevice-boot-disk 2020-11-18 08:47:07 UTC
Reduce

Author: Dougal Matthews
Author Date: 2020-11-17 16:08:01 UTC

Reduce

dont_check_for_early_imports 2020-11-11 11:26:58 UTC
Remove the find-early-imports utility script

Author: Dougal Matthews
Author Date: 2020-11-11 10:42:04 UTC

Remove the find-early-imports utility script

The benefit of this script is very limited, and after removing most of
the __all__ definitions it was even more limited. It was also buggy and
was confused by the use of __all__ in the signals.testing file, which is
why that could only be removed when the script was

__all__ 2020-11-11 10:04:12 UTC
Re-add used imports

Author: Dougal Matthews
Author Date: 2020-11-11 10:03:48 UTC

Re-add used imports

testtools-monkeypatch 2020-11-11 08:54:00 UTC
Remove unused imports

Author: Dougal Matthews
Author Date: 2020-11-11 08:54:00 UTC

Remove unused imports

correct-twisted-version 2020-10-30 09:54:41 UTC
Correct the assert on the Twisted version

Author: Dougal Matthews
Author Date: 2020-10-30 09:53:25 UTC

Correct the assert on the Twisted version

The upstream fix that the monkey patch replicates was added in Twisted
19.7.0. So we need to assert for anything *less* than that.

twisted-patch-disconnect 2020-10-29 15:37:20 UTC
Update the test name

Author: Dougal Matthews
Author Date: 2020-10-29 15:37:20 UTC

Update the test name

lowercase-self 2020-10-22 13:17:28 UTC
Use lowercase self

Author: Dougal Matthews
Author Date: 2020-10-22 13:17:28 UTC

Use lowercase self

debug-log-listener 2020-10-22 08:38:12 UTC
Debug log PostgresListenerService channels

Author: Dougal Matthews
Author Date: 2020-10-22 08:38:12 UTC

Debug log PostgresListenerService channels

remove-epoch 2020-10-21 12:05:31 UTC
LP: #1896826 - Don't include the epoch in the MAAS version

Author: Dougal Matthews
Author Date: 2020-10-21 10:46:47 UTC

LP: #1896826 - Don't include the epoch in the MAAS version

kiwf-templates 2020-10-21 10:03:10 UTC
Remove unused template files

Author: Dougal Matthews
Author Date: 2020-10-21 10:03:10 UTC

Remove unused template files

These files seem to be unmaintained and unused. Most of them only offer
minimal examples that can be seen in the docs.

release-notifications-2.9 2020-10-13 12:46:14 UTC
Use a delete query rather than select then delete.

Author: Dougal Matthews
Author Date: 2020-10-13 12:46:14 UTC

Use a delete query rather than select then delete.

release-notifications-2.8 2020-10-07 08:19:49 UTC
Add release notifications to MAAS

Author: Dougal Matthews
Author Date: 2020-10-07 08:05:29 UTC

Add release notifications to MAAS

This change adds a new release notification service which periodically
queries the configured simplestream and checks the metadata for any
release notifications.

The notifications are created for all users and if a user dismisses the
notification it will be resurfaced every six weeks.

(cherry picked from commit 2a342196f366aea386f3bc341f71786c43c94e0d)

release-notifications-2.7 2020-10-07 08:19:14 UTC
Add release notifications to MAAS

Author: Dougal Matthews
Author Date: 2020-10-07 08:05:29 UTC

Add release notifications to MAAS

This change adds a new release notification service which periodically
queries the configured simplestream and checks the metadata for any
release notifications.

The notifications are created for all users and if a user dismisses the
notification it will be resurfaced every six weeks.

(cherry picked from commit 2a342196f366aea386f3bc341f71786c43c94e0d)

release-notifications 2020-10-01 14:24:45 UTC
Include release notifications in the same way we do with bootloaders

Author: Dougal Matthews
Author Date: 2020-10-01 08:11:12 UTC

Include release notifications in the same way we do with bootloaders

This removes the inclusion hack and uses similar logic to the inclusion
of the bootloaders.

reblacken 2020-08-28 15:12:17 UTC
Upgrade Black and reblacken

Author: Dougal Matthews
Author Date: 2020-08-28 15:12:17 UTC

Upgrade Black and reblacken

node-metadata-lp-1891027-2.7 2020-08-12 13:30:38 UTC
Update for the feedback

Author: Dougal Matthews
Author Date: 2020-08-12 11:18:43 UTC

Update for the feedback

node-metadata-lp-1891027-master 2020-08-12 13:28:19 UTC
Update for the feedback

Author: Dougal Matthews
Author Date: 2020-08-12 11:18:43 UTC

Update for the feedback

node-metadata-lp-1891027 2020-08-12 11:18:43 UTC
Update for the feedback

Author: Dougal Matthews
Author Date: 2020-08-12 11:18:43 UTC

Update for the feedback

release-notification-setting 2020-07-31 13:43:17 UTC
Blacken code

Author: Dougal Matthews
Author Date: 2020-07-31 13:43:17 UTC

Blacken code

attrs-fix 2020-06-26 15:47:39 UTC
Use default not factory

Author: Dougal Matthews
Author Date: 2020-06-26 15:47:39 UTC

Use default not factory

slow_lxd_test 2020-06-22 12:30:37 UTC
Mock out get_maas_cert_tuple in test_get_client_raises_error_when_cannot_connect

Author: Dougal Matthews
Author Date: 2020-06-22 12:26:06 UTC

Mock out get_maas_cert_tuple in test_get_client_raises_error_when_cannot_connect

This LXD test can be slow in CI and fails semi-regularly with a 5s timeout.
The test otherwise should run quickly, so it is most likely that certificate
generation is slow. As the test doesn't need this we can mock it out.

object3 2020-06-19 15:59:57 UTC
Don't import from object as that is implied

Author: Dougal Matthews
Author Date: 2020-06-19 15:59:57 UTC

Don't import from object as that is implied

super3 2020-06-19 14:54:46 UTC
Use Python 3 super calls where possible

Author: Dougal Matthews
Author Date: 2020-06-19 14:54:46 UTC

Use Python 3 super calls where possible

typo 2020-06-17 19:25:47 UTC
Fix a small typo. to_pytion -> to_python

Author: Dougal Matthews
Author Date: 2020-06-17 19:25:27 UTC

Fix a small typo. to_pytion -> to_python

bug/1876855 2020-06-15 10:13:58 UTC
Identify power drivers that can be used with add_chassis

Author: Dougal Matthews
Author Date: 2020-05-21 08:51:18 UTC

Identify power drivers that can be used with add_chassis

This is a WIP change. Posting it for discussion.

- It adds a new property to the power drivers to identify those that can
  be used with add chassis.
- To handle backwards compatability there is also a new alias field so
  we can handle the different names used for power drivers such as virsh
  vs powerkvm and sm15k vs seamicro15k

Todo:
- Move the method in registry.py
- Allow filtering via the websocket api, so that the
generap.power_drivers method can return only those that can be used with
add_chassis.

Use can_probe rather than add_chassis

Lint

Add can_probe to the docstring and pass it along

Updated PowerDriverBase schema and corrected chassis spelling

Add can_probe to the pod drivers and the abstract base class

Use the existing get_all_power_types method

Fix the use of get_all_power_types

Make sure we allow both the names and the aliases

Correctly pass the aliases via rpc

Fix the driver parameters tests

Blacken

Don't add aliases for power drivers.

I think this overcomplicated things too much and essentially created a
new "feature" to work around the fact that the rest API allowed some
names previously that were different. Instead I think a more correct fix
is to add a small workaround in the API itself. Possibly with a warning
or log message noting that a deprecated name was used.

Add can_probe to the fake power driver

Fix tests

Filter by can_probe

Disable can_probe in lxd and rsd and add a test

Update submodule

remove-unused-power-drivers 2020-06-11 11:45:42 UTC
Only register the osystem if it isn't already present

Author: Dougal Matthews
Author Date: 2020-06-11 11:45:42 UTC

Only register the osystem if it isn't already present

maas-rack-power-driver 2020-06-10 15:38:29 UTC
Fix test

Author: Dougal Matthews
Author Date: 2020-06-08 09:56:03 UTC

Fix test

provserver-tests-2.8 2020-06-10 10:39:39 UTC
Include the provisioningserver tests in ./bin/test.rack

Author: Dougal Matthews
Author Date: 2020-06-10 10:12:32 UTC

Include the provisioningserver tests in ./bin/test.rack
This change also removes the apiclient and maascli tests from
this script.

provserver-tests 2020-06-10 09:03:31 UTC
Blacken

Author: Dougal Matthews
Author Date: 2020-06-10 08:24:33 UTC

Blacken

less-underscores-2.8 2020-06-08 13:49:30 UTC
Remove extra underscores from test method names

Author: Dougal Matthews
Author Date: 2020-06-08 08:33:14 UTC

Remove extra underscores from test method names

The normal convention in Python is to use test_ as a prefix to test
names. A number of tests in MAAS were prefixed with test__ or test___.
This change removes the superfluous underscores.

2.8 2020-06-08 13:30:29 UTC
Remove extra underscores from test method names

Author: Dougal Matthews
Author Date: 2020-06-08 08:33:14 UTC

Remove extra underscores from test method names

The normal convention in Python is to use test_ as a prefix to test
names. A number of tests in MAAS were prefixed with test__ or test___.
This change removes the superfluous underscores.

less-underscores 2020-06-05 16:06:41 UTC
Remove extra underscores from test method names

Author: Dougal Matthews
Author Date: 2020-06-05 16:06:41 UTC

Remove extra underscores from test method names

The normal convention in Python is to use test_ as a prefix to test
names. A number of tests in MAAS were prefixed with test__ or test___.
This change removes the superfluous underscores.

improve-error-message 2020-05-18 11:23:54 UTC
Blacken code

Author: Dougal Matthews
Author Date: 2020-05-18 11:23:54 UTC

Blacken code

bug/1662361 2020-05-18 09:09:17 UTC
Remove rbac from tests

Author: Dougal Matthews
Author Date: 2020-05-18 09:09:17 UTC

Remove rbac from tests

mark-broken-messsage 2020-04-20 12:45:27 UTC
Update the test

Author: Dougal Matthews
Author Date: 2020-04-20 12:45:27 UTC

Update the test

141 of 41 results
This repository contains Public information 
Everyone can see this information.

Subscribers