lp:~bjornt/maas

Owned by Björn Tillenius
Get this repository:
git clone https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this repository. If you are Björn Tillenius please log in for upload directions.

Branches

Name Last Modified Last Commit
listing-spike-sqlalchemy-core 2022-12-08 12:55:37 UTC
WIP

Author: Björn Tillenius
Author Date: 2022-12-08 12:55:37 UTC

WIP

baseline-test 2022-12-02 08:17:19 UTC
Compare ids instead of the length.

Author: Björn Tillenius
Author Date: 2022-12-02 08:17:19 UTC

Compare ids instead of the length.

test_handles_missing_system_handler_on_notification-debug 2022-11-28 16:50:41 UTC
Add debug logging to test_handles_missing_system_handler_on_notification.

Author: Björn Tillenius
Author Date: 2022-11-28 16:50:41 UTC

Add debug logging to test_handles_missing_system_handler_on_notification.

It sometimes fails intermittently. I have a theory on why, but I want to see
some debug logs from a failure to confirm my finding, since I can't reproduce
it locally.

pytest-django-setup 2022-11-28 14:33:43 UTC
Add a pytest DB fixture to set up the database for the tests.

Author: Björn Tillenius
Author Date: 2022-11-24 14:48:55 UTC

Add a pytest DB fixture to set up the database for the tests.

You now no longer have to run the pytest tests that require a DB using
bin/database. Instead you run bin/pytest and it will set up the DB
automatically. It still uses the bin/database infrastructure under the hood,
and it will re-use the DB by default. So the time it takes to run the tests is
the same as before.

For the performance tests, it's possible to pass in a DB dump to use as well.

I removed pytest-django, since we want to control how the DB is
created and cleaned up.

pytest-seeds-cleanup 2022-11-28 14:26:15 UTC
Print out the seeds for pytest test only if they fail.

Author: Björn Tillenius
Author Date: 2022-11-28 14:26:15 UTC

Print out the seeds for pytest test only if they fail.

perf-test-cli-options 2022-11-25 10:07:58 UTC
Fix tests.

Author: Björn Tillenius
Author Date: 2022-11-25 10:07:58 UTC

Fix tests.

perf-test-no-custom-runner 2022-11-24 15:19:22 UTC
Drop default scope

Author: Björn Tillenius
Author Date: 2022-11-24 15:19:22 UTC

Drop default scope

perf-test-no-custom-decorator 2022-11-24 13:47:55 UTC
Remove the @perf_test decorator.

Author: Björn Tillenius
Author Date: 2022-11-23 10:52:32 UTC

Remove the @perf_test decorator.

It's not needed, and it was somewhat broken. It reverted back to
a savepoint, unless commit_transaction was true. In that case
it simply removed the savepoint. I'm not quite sure what the intent
was there. If it was to simulate a commit, it was in the wrong
place, since it was outside the block that measures the duration.

The transaction is rolled back elsewhere for each tests, so no
need for a custom decorator. The decorator also had logic for
skipping the tests if django wasn't loaded, but I don't see
a use case for that.

perf-test-dont-measure-setup 2022-11-23 09:55:08 UTC
Make it move explicit what the measure in the performance tests

Author: Björn Tillenius
Author Date: 2022-11-23 08:17:27 UTC

Make it move explicit what the measure in the performance tests

Before, we measured how long the whole test took to run. That includes
any local setup you do in the test, but also the setup of any fixtures
the test uses.

perftest-websocket-machine-list-all 2022-11-22 14:41:50 UTC
Add a performance tests for listing all machines with the websocket.

Author: Björn Tillenius
Author Date: 2022-11-22 14:41:50 UTC

Add a performance tests for listing all machines with the websocket.

With this it's easier to track what the default page size should be.

perftest-no-implicit-path 2022-11-22 14:28:31 UTC
No implicit, hardcoded, path for bin/test.perf

Author: Björn Tillenius
Author Date: 2022-11-22 14:28:31 UTC

No implicit, hardcoded, path for bin/test.perf

bin/test.perf always passed src/maasperf to pyttest. This made it
impossible to run only a single test.

CI uses utilities/run-perf-tests-ci, which already explicitly passes
src/maasperf as the path.

move-metadataserver-models 2022-11-21 15:47:37 UTC
Add foreign key constraints for current_foo_script_set

Author: Björn Tillenius
Author Date: 2022-11-21 14:37:14 UTC

Add foreign key constraints for current_foo_script_set

move-authorization-backend 2022-11-21 10:24:11 UTC
Lint.

Author: Björn Tillenius
Author Date: 2022-11-21 10:24:11 UTC

Lint.

schemaspy-jammy 2022-11-16 08:42:28 UTC
Fix schemaspy after switch to jammy.

Author: Björn Tillenius
Author Date: 2022-10-11 09:26:00 UTC

Fix schemaspy after switch to jammy.

bug-1992330-3.2 2022-11-16 08:13:45 UTC
Don't return ipv6 boot addresses for ipv4 subnets.

Author: Björn Tillenius
Author Date: 2022-10-28 13:05:36 UTC

Don't return ipv6 boot addresses for ipv4 subnets.

An ipv4 subnet won't be able to use ipv6 addresses, and it would break the
DHCP config.

(cherry picked from commit 425a78cfd666e05757bf6f72e63c48bdf0f807df)

bug-1990383-link-subnet-new 2022-11-15 09:13:12 UTC
LP #1990383: Link subnet on new machine

Author: Björn Tillenius
Author Date: 2022-11-15 09:13:12 UTC

LP #1990383: Link subnet on new machine

Fixed the API so that it allows editing interfaces the same way the UI allows.

bug-1988229-dhcp-snippet-relay 2022-11-15 08:26:31 UTC
Rename parameter.

Author: Björn Tillenius
Author Date: 2022-11-15 08:26:31 UTC

Rename parameter.

bug-1996074-diskless-machine-ephemeral 2022-11-11 13:50:50 UTC
LP #1996074: Machine details stuck at "Loading" for machines with no disks

Author: Björn Tillenius
Author Date: 2022-11-11 13:50:50 UTC

LP #1996074: Machine details stuck at "Loading" for machines with no disks

The issue was that if you delete all disks from a machine, the testing
node's current scriptset will be empty. Then when the machine was deploy, the
creation of the installation scriptset would clean up the empty testing
scripset, leaving a reference to a deleted row.

I've changed things so that when you create a new scriptset, we only clean up
scriptsets of the same type. I also fixed the tests, since they didn't actually
create any empty sets. The reason the tests passed before was that they set the
max limit to 1.

Now the real issue is that Node.current_testing_script_set doesn't have a
foreign key in the database, and that the 'on_delete=SET_NULL' doesn't work.
But considering that might be hard to fix, I think it's worth landing this
workaround for now.

admin_can_change_power_type-intermittent 2022-11-10 13:42:14 UTC
Fix test_PUT_admin_can_change_power_type intermittent failure.

Author: Björn Tillenius
Author Date: 2022-11-10 13:42:14 UTC

Fix test_PUT_admin_can_change_power_type intermittent failure.

If the power type is 'lxd', it fails, since it can't generate the certificate.

bug-1955709-may-reboot 2022-11-09 17:20:16 UTC
Fix lint.

Author: Björn Tillenius
Author Date: 2022-11-09 17:20:16 UTC

Fix lint.

bug-1835271-ephemeral-networking 2022-11-09 17:14:49 UTC
LP #1835271: Ephemeral deployment keeps cloud-inits autogenerated netplan config

Author: Björn Tillenius
Author Date: 2022-11-09 16:28:30 UTC

LP #1835271: Ephemeral deployment keeps cloud-inits autogenerated netplan config

snap-bind-mounts-jammy 2022-11-09 10:03:24 UTC
Make snap-bind-mounts work with jammy.

Author: Björn Tillenius
Author Date: 2022-11-09 10:03:24 UTC

Make snap-bind-mounts work with jammy.

get-boot-ips-ip-version 2022-10-28 12:42:11 UTC
Don't return ipv6 boot addresses for ipv4 subnets.

Author: Björn Tillenius
Author Date: 2022-10-28 12:40:01 UTC

Don't return ipv6 boot addresses for ipv4 subnets.

An ipv4 subnet won't be able to use ipv6 addresses, and it would break the
DHCP config.

bug-1937138-websocket-user-no-cache 2022-10-24 09:11:38 UTC
LP #1937138: Calling mark_intro_complete doesn't respond correctly

Author: Björn Tillenius
Author Date: 2022-10-24 09:11:38 UTC

LP #1937138: Calling mark_intro_complete doesn't respond correctly

Change UserHandler not to operate on self.user directly. self.user
is the autenticated user and should only be used to check the authentication
and authorizations.

bug-1992975-group-none-next-page 2022-10-14 15:26:52 UTC
Add a few different test cases.

Author: Björn Tillenius
Author Date: 2022-10-14 15:26:52 UTC

Add a few different test cases.

bug-1992332-parent-group-label 2022-10-12 13:35:22 UTC
Use hostname as label and value when grouping by parent in the websocket.

Author: Björn Tillenius
Author Date: 2022-10-12 12:42:51 UTC

Use hostname as label and value when grouping by parent in the websocket.

maas-deployment-script 2022-09-30 10:15:12 UTC
Review fixes:

Author: Björn Tillenius
Author Date: 2022-09-30 10:15:12 UTC

Review fixes:
  * Exit after help
  * Don't switch the LXD project
  * Better help message at the end

release-delete-devices-only 2022-09-23 09:18:06 UTC
Explicity delete device children only when release a machine.

Author: Björn Tillenius
Author Date: 2022-09-23 09:18:06 UTC

Explicity delete device children only when release a machine.

Previously, only devices could be a child of a machine. Now that
machines (like VMs and DPUs) can be children, we need to explicitly
filter out the non-device nodes.

DPUs shouldn't be deleted, and VMs will be deleted when the VM
host is deleted. There are checks that prevents a VM host from
being released.

bug-1989970-3.2 2022-09-21 16:17:23 UTC
Bug #1989970: Can't enlist machines on subnets with DNS set

Author: Björn Tillenius
Author Date: 2022-09-21 16:16:14 UTC

Bug #1989970: Can't enlist machines on subnets with DNS set

Fix the logic in build_metadata_url() to get the right rack
controller IP to use in case an external DNS is used.

Also fix get_apt_url() to use the same logic.

Additional logic was added to deal with DHCP relays.

(cherry picked from commit 2517f3acf519fc6d7f16e9e6b51b42180af1dc73)

bug-1989970-wrong-metadata-ip 2022-09-21 14:58:00 UTC
Review fixes.

Author: Björn Tillenius
Author Date: 2022-09-21 14:58:00 UTC

Review fixes.

prepare-3.2.5 2022-09-09 07:48:49 UTC
Prepare for 3.2.5 release

Author: Björn Tillenius
Author Date: 2022-09-09 07:48:49 UTC

Prepare for 3.2.5 release

fix-perf-test-direct-call 2022-07-05 10:38:55 UTC
Fix test_perf_list_machines_MachinesHander_direct_call.

Author: Björn Tillenius
Author Date: 2022-07-05 10:38:55 UTC

Fix test_perf_list_machines_MachinesHander_direct_call.

When creating the emitter, it didn't pass in anonymous=False, which meant that
the default anonymous=True was being used.

When anonymous=True, a lot less data is returned.

raritan-pdu-3.2 2022-06-03 16:09:05 UTC
Add Raritan PDU power driver.

Author: Gavin Lin
Author Date: 2022-06-03 15:16:33 UTC

Add Raritan PDU power driver.

(cherry picked from commit 2aa1d2b147aa8d544c1bff1742cce9047d3f1ee6)

power-driver-metrics-3.2 2022-06-03 16:06:30 UTC
Add stats for power drivers.

Author: Björn Tillenius
Author Date: 2022-06-03 14:17:02 UTC

Add stats for power drivers.

Also added an attribute to BMC, so that we can track whether the BMC was
auto-detected in commissioning, or whether the user created it manually.

(cherry picked from commit ab360b09b24e750d106e07778574e72a8dfc99fc)

metrics-power-drivers 2022-06-03 14:00:25 UTC
Fix intermittent test failure.

Author: Björn Tillenius
Author Date: 2022-06-03 14:00:25 UTC

Fix intermittent test failure.

set-power-config-cleanup 2022-06-01 15:34:13 UTC
Remove unused code from Node.set_power_config().

Author: Björn Tillenius
Author Date: 2022-06-01 15:34:13 UTC

Remove unused code from Node.set_power_config().

There was code that checked for self.bmc, even though it couldn't really
be None, except for in unit tests.

move-store-node-power-parameters 2022-05-24 13:42:30 UTC
Move store_node_power_parameters to metadataserver.api.

Author: Björn Tillenius
Author Date: 2022-05-24 13:29:31 UTC

Move store_node_power_parameters to metadataserver.api.

That's the only place where it's used.

earlier-machine-resources 2022-05-20 14:49:00 UTC
Fix make lint-shell

Author: Björn Tillenius
Author Date: 2022-05-20 14:49:00 UTC

Fix make lint-shell

api-batch-render 2022-05-05 14:45:50 UTC
Serialize Subnets in batch.

Author: Björn Tillenius
Author Date: 2022-04-13 09:25:24 UTC

Serialize Subnets in batch.

api-better-tests 2022-04-14 11:39:43 UTC
Fix test failures.

Author: Björn Tillenius
Author Date: 2022-04-14 11:39:43 UTC

Fix test failures.

perf-spike 2022-03-30 14:22:36 UTC
Add discovered

Author: Björn Tillenius
Author Date: 2022-03-30 14:22:36 UTC

Add discovered

fix-broken-import-sampledata 2022-03-07 13:41:44 UTC
Don't use TYPE_CHECKING.

Author: Björn Tillenius
Author Date: 2022-03-07 13:41:44 UTC

Don't use TYPE_CHECKING.

It was used incorrect, breaking real execution for the code. Given that
importing Machine is cheap, since the sampledata code already makes use
of it, it doesn't make much sense to optimize things using TYPE_CHECKING
checks here.

sampledata-disable-event-triggers 2022-03-04 12:44:30 UTC
Factor out common logic.

Author: Björn Tillenius
Author Date: 2022-03-04 12:44:30 UTC

Factor out common logic.

remove-snap-build-pythonpath 2022-02-28 11:40:39 UTC
Don't specify PYTHONPATH when building the snap.

Author: Björn Tillenius
Author Date: 2022-02-28 11:40:39 UTC

Don't specify PYTHONPATH when building the snap.

Having a PYTHONPATH there breaks the build if a systemwide pip is
installed.

I tried building it without having build-environment defined. The snap
built ok, and the installed snap started up without any problems.

move-fake-commissioning-data 2022-02-24 08:17:24 UTC
Move FakeCommissioningData to maasserver.testing.

Author: Björn Tillenius
Author Date: 2022-02-24 08:14:36 UTC

Move FakeCommissioningData to maasserver.testing.

This makes it easier to reuse it for other tests and for sampledata.

fix-sampledata 2022-02-16 10:11:06 UTC
Make sure the subnets are big enough. Don't create new users when creating ev...

Author: Björn Tillenius
Author Date: 2022-02-16 10:11:06 UTC

Make sure the subnets are big enough. Don't create new users when creating events.

move-vlan-linked-to-vlan-interface 2022-02-11 10:34:13 UTC
Review comments.

Author: Björn Tillenius
Author Date: 2022-02-11 10:34:13 UTC

Review comments.

clear-vlan-name 2022-02-09 14:12:45 UTC
Allow VLAN names to be cleared in websocket and API.

Author: Björn Tillenius
Author Date: 2022-02-09 14:12:06 UTC

Allow VLAN names to be cleared in websocket and API.

Also ensure that you need to be an admin to edit the VLAN.

storage-model-spike-new-python 2021-12-08 15:25:42 UTC
Rework Python model not to use inheritance.

Author: Björn Tillenius
Author Date: 2021-12-02 11:07:48 UTC

Rework Python model not to use inheritance.

schemaspy-script 2021-11-30 15:58:55 UTC
Use postgresql-42.2.10.jar from deb pacakge.

Author: Björn Tillenius
Author Date: 2021-11-30 15:58:55 UTC

Use postgresql-42.2.10.jar from deb pacakge.

apc-ancient-power-driver 2021-10-27 19:53:49 UTC
Allow APC power driver to support more types of PDUs.

Author: Björn Tillenius
Author Date: 2021-10-27 19:48:19 UTC

Allow APC power driver to support more types of PDUs.

The APC driver was hardcoded to work with PDUs of type "rPDU". This
change allows you to specify either "rPDU" or "masterswitch", which has
a slightly different SNMP API.

maas-wipe-bad-file-descriptor 2021-10-15 07:42:05 UTC
Fix filedescriptor bug in secure_erase_hdparam()

Author: Björn Tillenius
Author Date: 2021-10-15 07:42:05 UTC

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.

dns-test-timeout 2021-10-13 15:42:35 UTC
Allow more time for DNS reload in tests.

Author: Björn Tillenius
Author Date: 2021-10-13 15:42:35 UTC

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.

bootresources-intermittent-timeout 2021-10-13 14:18:38 UTC
Increase timeout for bootresources tests.

Author: Björn Tillenius
Author Date: 2021-10-13 14:18:38 UTC

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.

intermittent-largefile-failure 2021-10-13 07:05:36 UTC
Lint.

Author: Björn Tillenius
Author Date: 2021-10-13 07:05:36 UTC

Lint.

lxd-auth-metrics 2021-10-11 12:08:01 UTC
Rename migration.

Author: Björn Tillenius
Author Date: 2021-10-11 12:08:01 UTC

Rename migration.

release-prepare-fail-if-no-change 2021-10-08 14:35:19 UTC
Prevent release-prepare from committing if the version didn't change.

Author: Björn Tillenius
Author Date: 2021-10-08 14:21:48 UTC

Prevent release-prepare from committing if the version didn't change.

The main reason for this is to prevent it being run by mistake and add
unneeded entries to debian/changelog.

certificate-class-generate 2021-10-05 09:45:34 UTC
Move non-db generate_certificate() to Certificate.generate().

Author: Björn Tillenius
Author Date: 2021-10-05 09:45:34 UTC

Move non-db generate_certificate() to Certificate.generate().

We currently have two generate_certificate() functions. One in
maasserver, and one in provisioningserver. This change makes it easier
to see which one is being used.

import-db-dump-script 2021-10-04 12:43:51 UTC
Pass -A when listing database names.

Author: Björn Tillenius
Author Date: 2021-10-04 12:43:51 UTC

Pass -A when listing database names.

slow-image-sync 2021-09-29 08:56:15 UTC
Don't gzip responses in Django.

Author: Björn Tillenius
Author Date: 2021-09-29 08:51:58 UTC

Don't gzip responses in Django.

This caused the image sync from region to rack to slow down considerable
and use up a lot of CPU resources.

On my machine, with rack and region on the same machine, it took around
15 seconds to sync one 450 Mb image, with regiond using 100% CPU most of
the time.

With this change, the sync takes only a couple of seconds, and the CPU
spike is gone.

generate-cert-maas-id 2021-09-24 13:51:40 UTC
Add back a generate_certificate in provisioningserver that can be used for te...

Author: Björn Tillenius
Author Date: 2021-09-24 13:51:40 UTC

Add back a generate_certificate in provisioningserver that can be used for tests, and generate_certificate in maasserver.

test 2021-09-24 10:33:47 UTC
Add whitespace.

Author: Björn Tillenius
Author Date: 2021-09-24 10:33:47 UTC

Add whitespace.

really-fix-dblocks-failures 2021-09-20 15:50:10 UTC
Fix docstring.

Author: Björn Tillenius
Author Date: 2021-09-20 15:50:10 UTC

Fix docstring.

Create a dedicated sequence for the dblocks tests.

release-status-missing-macaroon 2021-09-17 16:05:24 UTC
Check for missing macaroon in utilities/release-status

Author: Björn Tillenius
Author Date: 2021-09-17 16:05:24 UTC

Check for missing macaroon in utilities/release-status

If the macaroon is missing, instructions on how to get the macaroon is
printed out, rather than erroring out with a KeyError, like it did
before.

brownfield-metrics 2021-09-17 15:37:07 UTC
Add stats for brownfield machines.

Author: Björn Tillenius
Author Date: 2021-09-14 14:57:47 UTC

Add stats for brownfield machines.

dblock-failure 2021-09-07 13:59:55 UTC
Fix dblocks intermittent test failure.

Author: Björn Tillenius
Author Date: 2021-09-07 13:59:55 UTC

Fix dblocks intermittent test failure.

Postgres advisory locks are global across sessions and databases, which
meant that other tests that run in parallel might acquire and release
locks.

The test_lock_actually_locked tests did grab an exclusive lock for the
cluster, but most tests using locks didn't respect that lock.

I change is so that the test only looks at the lock it's interested in,
and don't care if there are additional locks.

pod-initial-sync 2021-09-03 14:55:34 UTC
Factor out logic into function.

Author: Björn Tillenius
Author Date: 2021-09-03 14:55:34 UTC

Factor out logic into function.

pod-dynamic-host-owner 2021-09-02 09:16:36 UTC
Set the owner for dynamically created host machines for VM hosts.

Author: Björn Tillenius
Author Date: 2021-09-02 09:16:36 UTC

Set the owner for dynamically created host machines for VM hosts.

When creating a VM host that didn't have a corresponding machine in
MAAS, one was created without setting the user. This meant that any
logged in user could see the machine and claim it.

pod-delete-dynamic-host 2021-09-02 09:04:16 UTC
Don't use @inlineCallbacks

Author: Björn Tillenius
Author Date: 2021-09-02 09:04:16 UTC

Don't use @inlineCallbacks

controller-factory-unify 2021-09-02 08:16:18 UTC
Use assertGreater

Author: Björn Tillenius
Author Date: 2021-09-02 08:16:18 UTC

Use assertGreater

pod-handler-asyncio 2021-09-01 08:22:33 UTC
Fix async def.

Author: Björn Tillenius
Author Date: 2021-09-01 08:22:33 UTC

Fix async def.

wait-for-asyncio 2021-08-31 10:47:59 UTC
Allow async def to be used for pod handler tests.

Author: Björn Tillenius
Author Date: 2021-08-31 10:47:59 UTC

Allow async def to be used for pod handler tests.

get-projects-accept-cert 2021-08-31 08:44:10 UTC
Add tests ensuring that pod.get_projects accepts credentials.

Author: Björn Tillenius
Author Date: 2021-08-31 08:44:10 UTC

Add tests ensuring that pod.get_projects accepts credentials.

The pod.get_projects websocket method already can pass through the
certificate and private key.

This branch adds test to ensure that it works, and will continue
working. The mocking is moved to the RPC layer, so that this test will
start to fail if we change the RPC call to be more strict in the future.

create-certificate-websocket 2021-08-30 13:45:00 UTC
No need to include the public key.

Author: Björn Tillenius
Author Date: 2021-08-30 13:45:00 UTC

No need to include the public key.

create-deployed-with-user 2021-08-26 15:21:54 UTC
Ensure the owner is set when creating deployed machines.

Author: Björn Tillenius
Author Date: 2021-08-26 15:21:54 UTC

Ensure the owner is set when creating deployed machines.

If the owner isn't set, any user may see and release the machine.

websocket-handlers-asyncio 2021-08-25 14:20:20 UTC
Remove stray #

Author: Björn Tillenius
Author Date: 2021-08-25 14:20:20 UTC

Remove stray #

release-process 2021-08-23 15:24:19 UTC
Lint.

Author: Björn Tillenius
Author Date: 2021-08-23 15:24:19 UTC

Lint.

testing-root-rename 2021-08-23 10:19:42 UTC
Fix import rules.

Author: Björn Tillenius
Author Date: 2021-08-23 10:19:42 UTC

Fix import rules.

brownfield-api-docs 2021-08-20 13:49:12 UTC
Document the deployed flag in the create machine API.

Author: Björn Tillenius
Author Date: 2021-08-20 13:43:00 UTC

Document the deployed flag in the create machine API.

Also some tweaks to the docs to make them more accurate.

deployed-update-os 2021-08-13 09:24:10 UTC
Typo.

Author: Björn Tillenius
Author Date: 2021-08-13 09:24:10 UTC

Typo.

machine-resources-metadata 2021-08-11 15:07:16 UTC
Include the resource binary in both regiond and rackd deb packages.

Author: Björn Tillenius
Author Date: 2021-08-11 13:57:30 UTC

Include the resource binary in both regiond and rackd deb packages.

snap-bind-mounts-committed 2021-08-06 15:23:45 UTC
Check to ensure that the 'maas' snap is installed.

Author: Björn Tillenius
Author Date: 2021-08-06 15:20:12 UTC

Check to ensure that the 'maas' snap is installed.

maas-run-scripts-write-endpoint 2021-08-06 15:10:05 UTC
Add comment.

Author: Björn Tillenius
Author Date: 2021-08-06 15:10:05 UTC

Add comment.

deployed-commissioning-scripts 2021-08-04 15:34:47 UTC
Allow script results to be updated while the machine is deployed.

Author: Björn Tillenius
Author Date: 2021-07-30 15:32:19 UTC

Allow script results to be updated while the machine is deployed.

Previously only pods could update their commissioning results, but we
now allow any DEPLOYED node to do it. Nodes that are linked to a Pod
should be in a DEPLOYED state already.

fix-scripts-tag-update 2021-08-03 09:34:25 UTC
Always update tags for built-in scripts.

Author: Björn Tillenius
Author Date: 2021-07-30 14:24:16 UTC

Always update tags for built-in scripts.

If the run_on_controller flag changes for a script, its deploy-info tag
will be either remove or added, even if the content of the script didn't
change.

Without this change, someone upgrading from 3.0 won't get the
deploy-info tag added to all the scripts that should have it.

trust-vlan-iface-name 2021-07-28 16:18:46 UTC
Fix intermittent test failures.

Author: Björn Tillenius
Author Date: 2021-07-28 16:18:46 UTC

Fix intermittent test failures.

deploy-controller-nodes-db-patch 2021-07-28 15:41:34 UTC
Default to creating controllers as DEPLOYED in tests.

Author: Björn Tillenius
Author Date: 2021-07-28 15:41:34 UTC

Default to creating controllers as DEPLOYED in tests.

controller-deployed-node 2021-07-16 08:32:08 UTC
Decrease number of expected queries.

Author: Björn Tillenius
Author Date: 2021-07-16 08:32:08 UTC

Decrease number of expected queries.

bug-1936249-debug 2021-07-16 08:22:34 UTC
Add test (in the wrong place)

Author: Björn Tillenius
Author Date: 2021-07-16 08:22:34 UTC

Add test (in the wrong place)

ipnetwork-expansions 2021-07-13 16:34:17 UTC
Don't expand IPNetwork instances.

Author: Björn Tillenius
Author Date: 2021-07-13 15:47:37 UTC

Don't expand IPNetwork instances.

In a couple of places in tests, we iterated over IPNetwork instances.
That can go badly, since large ipv6 networks may contain billion of
addresses.

refresh-credendtials-fix 2021-06-24 12:39:00 UTC
Fix test failures.

Author: Björn Tillenius
Author Date: 2021-06-24 12:39:00 UTC

Fix test failures.

maas-scripts-endpoint-tags 2021-06-22 12:51:05 UTC
make format

Author: Björn Tillenius
Author Date: 2021-06-22 12:51:05 UTC

make format

prepare-3.0-final 2021-06-21 08:20:00 UTC
Prepare for 3.0.0 release

Author: Björn Tillenius
Author Date: 2021-06-21 08:20:00 UTC

Prepare for 3.0.0 release

bug-1932136-3.0 2021-06-18 14:40:15 UTC
LP #1932136: interface with a warning is not configured properly

Author: Björn Tillenius
Author Date: 2021-06-18 14:35:24 UTC

LP #1932136: interface with a warning is not configured properly

Now all interfaces are considered enabled, since an admin should
explicitly disable an interface if he doesn't want it configured.

I also noted that we never set link_connected, so all interfaces were
considered connected. Now we set link_connected to False if there's no
link.

(cherry picked from commit 002914bc25559eb1118e035040ed6be6089fff26)

bug-1932136-disconnected-interfaces-enabled 2021-06-18 13:58:03 UTC
Fix comment.

Author: Björn Tillenius
Author Date: 2021-06-18 13:58:03 UTC

Fix comment.

deployed-scripts 2021-06-18 08:54:26 UTC
Fix test name.

Author: Björn Tillenius
Author Date: 2021-06-18 08:54:26 UTC

Fix test name.

scripts-spike 2021-06-16 15:30:11 UTC
Return commissioning scripts while deployed.

Author: Björn Tillenius
Author Date: 2021-06-16 15:30:11 UTC

Return commissioning scripts while deployed.

reverse-dns-3.0-backport 2021-06-14 07:37:20 UTC
LP #1931838: Reverse DNS lookup fails for subnets smaller than /24

Author: Christian Grabowski
Author Date: 2021-06-01 16:17:56 UTC

LP #1931838: Reverse DNS lookup fails for subnets smaller than /24

pull the skip exclusions logic into its own function

correct the rfc2317 glue exclusions

(cherry picked from commit fdd0c41bba6b758416f460829b83d03e86200f36)

bug-1931215-3.0 2021-06-09 07:04:22 UTC
LP #1931215: two IPs assigned to one interface

Author: Björn Tillenius
Author Date: 2021-06-09 06:51:04 UTC

LP #1931215: two IPs assigned to one interface

While the root cause most likely is our primary/secondary DHCP setup,
this works around the case when the machine gets two different IPs from
the DHCP requests.

Even if we see multiple IPs for commissioned nodes, we only create one
link to the subnet.

In the case where the machine is a controller, we still record both the
IPs.

(cherry picked from commit 5331a0f2f9735d5d23bc375dde8450015069946b)

bug-1931215-dhcp-ha-multiple-ips 2021-06-08 16:19:16 UTC
LP #1931215: two IPs assigned to one interface

Author: Björn Tillenius
Author Date: 2021-06-08 16:19:16 UTC

LP #1931215: two IPs assigned to one interface

While the root cause most likely is our primary/secondary DHCP setup,
this works around the case when the machine gets two different IPs from
the DHCP requests.

Even if we see multiple IPs for commissioned nodes, we only create one
link to the subnet.

In the case where the machine is a controller, we still record both the
IPs.

1100 of 346 results
This repository contains Public information 
Everyone can see this information.

Subscribers