lp:~bjornt/maas
- Get this repository:
-
git clone
https://git.launchpad.net/~bjornt/maas
Branches
Name | Last Modified | Last Commit |
---|---|---|
bug-2056740-3.5 | 2024-03-13 15:51:17 UTC |
Bug #2056740: Can't commission/deploy AMT machines
Author:
Björn Tillenius
Bug #2056740: Can't commission/deploy AMT machines The maas-power script was passed "--boot-mode pxe" for AMT machines All other power drivers, including the newer AMT one, sets PXE boot every (cherry picked from commit 116ccedb102a781 |
bug-2057750-3.5 | 2024-03-13 10:38:29 UTC |
Bug #2057750: Can't pxe boot legacy non-uefi machines
Author:
Björn Tillenius
Bug #2057750: Can't pxe boot legacy non-uefi machines The rewrite rules in maas agent had 'bootloader' instead of (cherry picked from commit c9c16ac166c1eab |
bug-2056740- |
2024-03-13 10:32:46 UTC |
Bug #2056740: Can't commission/deploy AMT machines
Author:
Björn Tillenius
Bug #2056740: Can't commission/deploy AMT machines The maas-power script was passed "--boot-mode pxe" for AMT machines All other power drivers, including the newer AMT one, sets PXE boot every |
bug-2057750- |
2024-03-13 08:08:10 UTC |
Bug #2057750: Can't pxe boot legacy non-uefi machines
Author:
Björn Tillenius
Bug #2057750: Can't pxe boot legacy non-uefi machines The rewrite rules in maas agent had 'bootloader' instead of |
bug-2052958-3.4 | 2024-03-12 09:23:04 UTC |
fix: LP:2052958 cope with disks with missing serial metadata
Author:
Adam Collard
fix: LP:2052958 cope with disks with missing serial metadata (cherry picked from commit f57ed04744e7110 |
region-ip-not-valid | 2024-02-20 09:56:58 UTC |
failed to detect a valid IP address from 'None'
Author:
Björn Tillenius
failed to detect a valid IP address from 'None' In the configure workflow, the query for getting the region IPs Changed the query not to include any None values. |
bug-2053033- |
2024-02-14 14:07:16 UTC |
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error)
Author:
Björn Tillenius
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error) For some reason virsh prints out an error about executing But the error seems harmless. This patch ignores the error and (cherry picked from commit f0005e39bcadfc3 |
bug-2053033-3.3 | 2024-02-14 13:30:14 UTC |
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error)
Author:
Björn Tillenius
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error) For some reason virsh prints out an error about executing But the error seems harmless. This patch ignores the error and (cherry picked from commit f0005e39bcadfc3 |
bug-2053033- |
2024-02-14 13:26:39 UTC |
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error)
Author:
Björn Tillenius
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error) For some reason virsh prints out an error about executing But the error seems harmless. This patch ignores the error and (cherry picked from commit f0005e39bcadfc3 |
bug-2053033-3.4 | 2024-02-14 10:43:40 UTC |
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error)
Author:
Björn Tillenius
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error) For some reason virsh prints out an error about executing But the error seems harmless. This patch ignores the error and (cherry picked from commit f0005e39bcadfc3 |
bug-2053033- |
2024-02-14 09:31:00 UTC |
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error)
Author:
Björn Tillenius
Bug #2053033: Creating MAAS Virsh VM does not work (libvirt: error) For some reason virsh prints out an error about executing But the error seems harmless. This patch ignores the error and |
maas-agent-http-206 | 2024-02-01 15:50:01 UTC |
Lint.
Author:
Björn Tillenius
Lint. |
temporal- |
2024-01-23 14:15:16 UTC |
Add a new asyncio worker that can run workflows.
Author:
Björn Tillenius
Add a new asyncio worker that can run workflows. |
inter-tech- |
2024-01-23 14:13:10 UTC |
Initial version inter-tech power driver.
Author:
Björn Tillenius
Initial version inter-tech power driver. |
power-driver- |
2023-11-21 09:53:39 UTC |
Add more logging for when power action fails.
Author:
Björn Tillenius
Add more logging for when power action fails. We had the issue that a machine wouldn't turn on when told |
fix-self-reference | 2023-11-20 16:32:42 UTC |
Don't reference self inside of a @transaction block.
Author:
Björn Tillenius
Don't reference self inside of a @transaction block. Inside a @transaction block, a new transaction is being created |
bug-2042540- |
2023-11-02 10:16:01 UTC |
Bug #204254: Machine sometimes revert to old status after power control Edit
Author:
Björn Tillenius
Bug #204254: Machine sometimes revert to old status after power control Edit The async methods related to power control uses multiple threads When using deferToDatabase and transational(), you must always |
maas-power- |
2023-11-01 10:08:21 UTC |
Allow maas-power to work with multiple-choice fields.
Author:
Björn Tillenius
Allow maas-power to work with multiple-choice fields. The IPMI driver allows multiple workaround flags to passed, but maas-power |
bug-2041854- |
2023-10-31 08:19:21 UTC |
Bug #2041854: Bump timeout for Vault secret migration
Author:
Björn Tillenius
Bug #2041854: Bump timeout for Vault secret migration MAAS can be busy and take more than 30 seconds to restart. Bump timeout to be twice as long. |
flag-image- |
2023-09-27 10:05:47 UTC |
Flag images that can be deployed to memory in the websocket handler.
Author:
Björn Tillenius
Flag images that can be deployed to memory in the websocket handler. bootresources. |
deploy- |
2023-09-27 09:32:19 UTC |
Allow non-Ubuntu OSes to be deployed to memory.
Author:
Björn Tillenius
Allow non-Ubuntu OSes to be deployed to memory. For uploaded files, deploying to memory is supported |
can-deploy- |
2023-09-27 09:00:32 UTC |
Use f-strings.
Author:
Björn Tillenius
Use f-strings. |
list-all- |
2023-09-25 08:49:50 UTC |
Add missing type annotation.
Author:
Björn Tillenius
Add missing type annotation. |
intermittent- |
2023-09-22 06:49:27 UTC |
Fix intermittent test_POST_creates_boot_resource failure.
Author:
Björn Tillenius
Fix intermittent test_POST_ |
tarball- |
2023-09-14 07:10:25 UTC |
Typo.
Author:
Björn Tillenius
Typo. |
custom- |
2023-09-13 12:39:01 UTC |
WIP make tarball ephemeral deploys work.
Author:
Björn Tillenius
WIP make tarball ephemeral deploys work. |
ephemeral- |
2023-09-05 06:37:01 UTC |
WIP
Author:
Björn Tillenius
WIP |
sqlalchemy- |
2023-07-20 13:44:13 UTC |
WIP - zone handler.
Author:
Björn Tillenius
WIP - zone handler. |
fastapi- |
2023-07-14 07:57:01 UTC |
Add tests for the db_conn FastAPI dependency.
Author:
Björn Tillenius
Add tests for the db_conn FastAPI dependency. |
sqlalchemy- |
2023-07-11 12:58:05 UTC |
Close db connections for each test.
Author:
Björn Tillenius
Close db connections for each test. |
sqlalchemy- |
2023-07-07 07:33:51 UTC |
Rework maasapiserver tests not to use pytest-postgresql.
Author:
Björn Tillenius
Rework maasapiserver tests not to use pytest-postgresql. |
pytest- |
2023-07-06 13:48:57 UTC |
Extract the non-Django database setup into its own pytest plugin.
Author:
Björn Tillenius
Extract the non-Django database setup into its own pytest plugin. The new database plugin still uses Django to setup the database, This allows the same fixtures to be used for sqlalchemy-based tests. |
sqlalchemy- |
2023-07-06 13:25:59 UTC |
Rework maasapiserver tests not to use pytest-postgresql.
Author:
Björn Tillenius
Rework maasapiserver tests not to use pytest-postgresql. |
sqlalchemy- |
2023-07-05 09:25:04 UTC |
Fix URL.
Author:
Björn Tillenius
Fix URL. |
jenkins-test | 2023-04-27 15:28:47 UTC |
Add another whitespace.
Author:
Björn Tillenius
Add another whitespace. |
current- |
2023-04-27 09:54:40 UTC |
Add foreign key constraints for current_foo_script_set attributes.
Author:
Björn Tillenius
Add foreign key constraints for current_ |
move-metadatase |
2023-04-27 07:15:35 UTC |
Move Script metadataserver models to maasserver.
Author:
Björn Tillenius
Move Script metadataserver models to maasserver. |
move-metadatase |
2023-04-26 07:37:01 UTC |
Move Node metadataserver models to maasserver.
Author:
Björn Tillenius
Move Node metadataserver models to maasserver. |
move-metadatase |
2023-04-26 07:37:01 UTC |
Add foreign key constraints for current_foo_script_set attributes.
Author:
Björn Tillenius
Add foreign key constraints for current_ |
bug-2009805-3.3 | 2023-03-13 12:35:23 UTC |
Bug #2009805: machine deploy install_kvm=True fails
Author:
Alberto Donato
Bug #2009805: machine deploy install_kvm=True fails exclude discovered IPs when selecting which to use for VM hosts deploys (cherry picked from commit 91442ef7aecbcd2 |
bug-2009805- |
2023-03-13 12:24:06 UTC |
LP #2009805: machine deploy install_kvm=True fails
Author:
Björn Tillenius
LP #2009805: machine deploy install_kvm=True fails Only consider IPs that have been configured by MAAS when choosing the right IP Previously it considered any IP associated with the interface, including I couldn't find a reliable way of testing this. There is already a test |
bug-2003310-3.3 | 2023-03-13 11:13:53 UTC |
Bug #2003310: Refresh scripts are not re-run if they pass, but fail to report...
Author:
Björn Tillenius
Bug #2003310: Refresh scripts are not re-run if they pass, but fail to report the results to the region While refreshing the hardware information for controllers, The exception was swallowed and ignored, though, so the This changes things so that the signal exception is caught (cherry picked from commit 42cdcb554f65574 |
bug-2003310- |
2023-03-10 14:25:33 UTC |
Improve log message.
Author:
Björn Tillenius
Improve log message. |
bug-2003310-debug | 2023-03-09 14:03:28 UTC |
Add some debug logging to debug bug #2003310.
Author:
Björn Tillenius
Add some debug logging to debug bug #2003310. |
machine- |
2023-01-27 14:35:34 UTC |
Make sqlalchemy handlers use new ip model.
Author:
Björn Tillenius
Make sqlalchemy handlers use new ip model. |
sqlalchemy- |
2023-01-25 10:06:43 UTC |
Allow boot_interface_id to be None in the sqlalchemy handlers.
Author:
Björn Tillenius
Allow boot_interface_id to be None in the sqlalchemy handlers. |
sampledata- |
2023-01-24 15:00:35 UTC |
Fix sample data generation to generate valid vids.
Author:
Björn Tillenius
Fix sample data generation to generate valid vids. MAAS ensures that the vid for VLANs are less than 4095. |
bug-1990172-3.3 | 2023-01-23 11:23:22 UTC |
LP #1990172: "20-maas-03-machine-resources" commissioning script improperly r...
Author:
Björn Tillenius
LP #1990172: "20-maas- The results was piped to 'tee', but pipefail wasn't set. (cherry picked from commit 15f64a96a59ef39 |
bug-1990172- |
2023-01-20 16:37:13 UTC |
LP #1990172: "20-maas-03-machine-resources" commissioning script improperly r...
Author:
Björn Tillenius
LP #1990172: "20-maas- The results was piped to 'tee', but pipefail wasn't set. |
perf-test- |
2023-01-20 11:36:03 UTC |
Run the performance tests together with the normal pytest tests.
Author:
Björn Tillenius
Run the performance tests together with the normal pytest tests. They are quick to run with an empty database, and by running them Also change run-perf-tests-ci to not hide the output, to make |
list-spike- |
2023-01-18 12:45:31 UTC |
Add an sqlalchemy handler that performs multiple queries.
Author:
Björn Tillenius
Add an sqlalchemy handler that performs multiple queries. The purpose of that is to see if we can optimize each query Also change the way status_message is calculated, from a CTE |
listing- |
2023-01-13 10:13:50 UTC |
Add sqlalchemy core handler that gets all data in one query.
Author:
Björn Tillenius
Add sqlalchemy core handler that gets all data in one query. Currently it's not optimized at all. It returns the right data, but probably There's also a handler using sqlalchemy ORM, but it's incomplete and disabled |
pytest- |
2023-01-09 13:28:58 UTC |
Make seeds reporting work when no setup has been done.
Author:
Björn Tillenius
Make seeds reporting work when no setup has been done. |
perftests- |
2023-01-05 10:12:45 UTC |
Control the garbage collection for the performance tests.
Author:
Björn Tillenius
Control the garbage collection for the performance tests. Before, one test could create a lot of garbage that then got Now we collect the garbage before a test being run, and also |
baseline-test | 2022-12-02 08:17:19 UTC |
Compare ids instead of the length.
Author:
Björn Tillenius
Compare ids instead of the length. |
test_handles_ |
2022-11-28 16:50:41 UTC |
Add debug logging to test_handles_missing_system_handler_on_notification.
Author:
Björn Tillenius
Add debug logging to test_handles_ It sometimes fails intermittently. I have a theory on why, but I want to see |
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
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 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 |
pytest- |
2022-11-28 14:26:15 UTC |
Print out the seeds for pytest test only if they fail.
Author:
Björn Tillenius
Print out the seeds for pytest test only if they fail. |
perf-test- |
2022-11-25 10:07:58 UTC |
Fix tests.
Author:
Björn Tillenius
Fix tests. |
perf-test- |
2022-11-24 15:19:22 UTC |
Drop default scope
Author:
Björn Tillenius
Drop default scope |
perf-test- |
2022-11-24 13:47:55 UTC |
Remove the @perf_test decorator.
Author:
Björn Tillenius
Remove the @perf_test decorator. It's not needed, and it was somewhat broken. It reverted back to The transaction is rolled back elsewhere for each tests, so no |
perf-test- |
2022-11-23 09:55:08 UTC |
Make it move explicit what the measure in the performance tests
Author:
Björn Tillenius
Make it move explicit what the measure in the performance tests Before, we measured how long the whole test took to run. That includes |
perftest- |
2022-11-22 14:41:50 UTC |
Add a performance tests for listing all machines with the websocket.
Author:
Björn Tillenius
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- |
2022-11-22 14:28:31 UTC |
No implicit, hardcoded, path for bin/test.perf
Author:
Björn Tillenius
No implicit, hardcoded, path for bin/test.perf bin/test.perf always passed src/maasperf to pyttest. This made it CI uses utilities/ |
move-authorizat |
2022-11-21 10:24:11 UTC |
Lint.
Author:
Björn Tillenius
Lint. |
schemaspy-jammy | 2022-11-16 08:42:28 UTC |
Fix schemaspy after switch to jammy.
Author:
Björn Tillenius
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
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 (cherry picked from commit 425a78cfd666e05 |
bug-1990383- |
2022-11-15 09:13:12 UTC |
LP #1990383: Link subnet on new machine
Author:
Björn Tillenius
LP #1990383: Link subnet on new machine Fixed the API so that it allows editing interfaces the same way the UI allows. |
bug-1988229- |
2022-11-15 08:26:31 UTC |
Rename parameter.
Author:
Björn Tillenius
Rename parameter. |
bug-1996074- |
2022-11-11 13:50:50 UTC |
LP #1996074: Machine details stuck at "Loading" for machines with no disks
Author:
Björn Tillenius
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 I've changed things so that when you create a new scriptset, we only clean up Now the real issue is that Node.current_ |
admin_can_ |
2022-11-10 13:42:14 UTC |
Fix test_PUT_admin_can_change_power_type intermittent failure.
Author:
Björn Tillenius
Fix test_PUT_ If the power type is 'lxd', it fails, since it can't generate the certificate. |
bug-1955709- |
2022-11-09 17:20:16 UTC |
Fix lint.
Author:
Björn Tillenius
Fix lint. |
bug-1835271- |
2022-11-09 17:14:49 UTC |
LP #1835271: Ephemeral deployment keeps cloud-inits autogenerated netplan config
Author:
Björn Tillenius
LP #1835271: Ephemeral deployment keeps cloud-inits autogenerated netplan config |
snap-bind- |
2022-11-09 10:03:24 UTC |
Make snap-bind-mounts work with jammy.
Author:
Björn Tillenius
Make snap-bind-mounts work with jammy. |
get-boot- |
2022-10-28 12:42:11 UTC |
Don't return ipv6 boot addresses for ipv4 subnets.
Author:
Björn Tillenius
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 |
bug-1937138- |
2022-10-24 09:11:38 UTC |
LP #1937138: Calling mark_intro_complete doesn't respond correctly
Author:
Björn Tillenius
LP #1937138: Calling mark_intro_complete doesn't respond correctly Change UserHandler not to operate on self.user directly. self.user |
bug-1992975- |
2022-10-14 15:26:52 UTC |
Add a few different test cases.
Author:
Björn Tillenius
Add a few different test cases. |
bug-1992332- |
2022-10-12 13:35:22 UTC |
Use hostname as label and value when grouping by parent in the websocket.
Author:
Björn Tillenius
Use hostname as label and value when grouping by parent in the websocket. |
maas-deployment |
2022-09-30 10:15:12 UTC |
Review fixes:
Author:
Björn Tillenius
Review fixes: |
release- |
2022-09-23 09:18:06 UTC |
Explicity delete device children only when release a machine.
Author:
Björn Tillenius
Explicity delete device children only when release a machine. Previously, only devices could be a child of a machine. Now that DPUs shouldn't be deleted, and VMs will be deleted when the VM |
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
Bug #1989970: Can't enlist machines on subnets with DNS set Fix the logic in build_metadata_ Also fix get_apt_url() to use the same logic. Additional logic was added to deal with DHCP relays. (cherry picked from commit 2517f3acf519fc6 |
bug-1989970- |
2022-09-21 14:58:00 UTC |
Review fixes.
Author:
Björn Tillenius
Review fixes. |
prepare-3.2.5 | 2022-09-09 07:48:49 UTC |
Prepare for 3.2.5 release
Author:
Björn Tillenius
Prepare for 3.2.5 release |
fix-perf- |
2022-07-05 10:38:55 UTC |
Fix test_perf_list_machines_MachinesHander_direct_call.
Author:
Björn Tillenius
Fix test_perf_ When creating the emitter, it didn't pass in anonymous=False, which meant that 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
Add Raritan PDU power driver. (cherry picked from commit 2aa1d2b147aa8d5 |
power-driver- |
2022-06-03 16:06:30 UTC |
Add stats for power drivers.
Author:
Björn Tillenius
Add stats for power drivers. Also added an attribute to BMC, so that we can track whether the BMC was (cherry picked from commit ab360b09b24e750 |
metrics- |
2022-06-03 14:00:25 UTC |
Fix intermittent test failure.
Author:
Björn Tillenius
Fix intermittent test failure. |
set-power- |
2022-06-01 15:34:13 UTC |
Remove unused code from Node.set_power_config().
Author:
Björn Tillenius
Remove unused code from Node.set_ There was code that checked for self.bmc, even though it couldn't really |
move-store- |
2022-05-24 13:42:30 UTC |
Move store_node_power_parameters to metadataserver.api.
Author:
Björn Tillenius
Move store_node_ That's the only place where it's used. |
earlier- |
2022-05-20 14:49:00 UTC |
Fix make lint-shell
Author:
Björn Tillenius
Fix make lint-shell |
api-batch-render | 2022-05-05 14:45:50 UTC |
Serialize Subnets in batch.
Author:
Björn Tillenius
Serialize Subnets in batch. |
api-better-tests | 2022-04-14 11:39:43 UTC |
Fix test failures.
Author:
Björn Tillenius
Fix test failures. |
perf-spike | 2022-03-30 14:22:36 UTC |
Add discovered
Author:
Björn Tillenius
Add discovered |
fix-broken- |
2022-03-07 13:41:44 UTC |
Don't use TYPE_CHECKING.
Author:
Björn Tillenius
Don't use TYPE_CHECKING. It was used incorrect, breaking real execution for the code. Given that |
sampledata- |
2022-03-04 12:44:30 UTC |
Factor out common logic.
Author:
Björn Tillenius
Factor out common logic. |
remove- |
2022-02-28 11:40:39 UTC |
Don't specify PYTHONPATH when building the snap.
Author:
Björn Tillenius
Don't specify PYTHONPATH when building the snap. Having a PYTHONPATH there breaks the build if a systemwide pip is I tried building it without having build-environment defined. The snap |
move-fake- |
2022-02-24 08:17:24 UTC |
Move FakeCommissioningData to maasserver.testing.
Author:
Björn Tillenius
Move FakeCommissioni 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
Make sure the subnets are big enough. Don't create new users when creating events. |
move-vlan- |
2022-02-11 10:34:13 UTC |
Review comments.
Author:
Björn Tillenius
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
Allow VLAN names to be cleared in websocket and API. Also ensure that you need to be an admin to edit the VLAN. |
1 → 100 of 398 results | First • Previous • Next • Last |