lp:~troyanov/maas

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

Branches

Name Last Modified Last Commit
add-sslerror-reason 2023-03-16 08:22:45 UTC
test(cli): test SSLError.reason is printed

Author: Anton Troyanov
Author Date: 2023-03-16 08:22:45 UTC

test(cli): test SSLError.reason is printed

backport-print-sslerror-3.3 2023-03-16 07:17:49 UTC
chore(cli): print SSLError.reason

Author: Anton Troyanov
Author Date: 2023-03-17 08:27:27 UTC

chore(cli): print SSLError.reason

(cherry picked from commit 1dc51ed9092eb3fcaa8d5bc9f6ec8ee1f886c80e)

backport-print-sslerror-3.2 2023-03-16 07:15:45 UTC
chore(cli): print SSLError.reason

Author: Anton Troyanov
Author Date: 2023-03-17 08:27:27 UTC

chore(cli): print SSLError.reason

(cherry picked from commit 1dc51ed9092eb3fcaa8d5bc9f6ec8ee1f886c80e)

proxy-headers-backport-3.3 2023-03-15 23:42:25 UTC
fix(region): use $http_host to read Host header

Author: Anton Troyanov
Author Date: 2023-03-16 16:32:43 UTC

fix(region): use $http_host to read Host header

$http_name
arbitrary request header field;

the last part of a variable name is the field name converted to lower case
with dashes replaced by underscores

Resolves LP:2009186

(cherry picked from commit eff39899eab1331f712aa8c4f9f2004f9aded683)

proxy-headers-backport-3.2 2023-03-15 23:41:52 UTC
fix(region): use $http_host to read Host header

Author: Anton Troyanov
Author Date: 2023-03-16 16:32:43 UTC

fix(region): use $http_host to read Host header

$http_name
arbitrary request header field;

the last part of a variable name is the field name converted to lower case
with dashes replaced by underscores

Resolves LP:2009186

(cherry picked from commit eff39899eab1331f712aa8c4f9f2004f9aded683)

proxy-headers 2023-03-14 22:59:36 UTC
fix(region): use $http_host to read Host header

Author: Anton Troyanov
Author Date: 2023-03-13 16:21:02 UTC

fix(region): use $http_host to read Host header

$http_name
arbitrary request header field;

the last part of a variable name is the field name converted to lower case
with dashes replaced by underscores

backport-testtools-fix-3.3 2023-03-14 22:56:33 UTC
fix: set explicit testtools version

Author: Anton Troyanov
Author Date: 2023-03-14 22:50:16 UTC

fix: set explicit testtools version

testtools 2.6.0 has a breaking change [1] that leads to an error:

    AttributeError: module 'email' has no attribute 'message'

[1]: https://github.com/testing-cabal/testtools/commit/b4bcd3c3d1964352d5f51def08629114057541a8

(cherry picked from commit f08e136c52d5dab55e73da9f9e65042bb28ad612)

fix-testtools 2023-03-14 21:55:09 UTC
fix: set explicit testtools version

Author: Anton Troyanov
Author Date: 2023-03-14 21:18:15 UTC

fix: set explicit testtools version

testtools 2.6.0 has a breaking change [1] that leads to an error:

    AttributeError: module 'email' has no attribute 'message'

[1]: https://github.com/testing-cabal/testtools/commit/b4bcd3c3d1964352d5f51def08629114057541a8

backport-fix-2009186-to-3.3 2023-03-06 18:27:43 UTC
fix(cli): use profile.url to build absolute uri

Author: Anton Troyanov
Author Date: 2023-03-06 18:23:06 UTC

fix(cli): use profile.url to build absolute uri

When MAAS is behind a load-balancer or proxy
(e.g. HAProxy with `mode tcp`), CLI should use MAAS URL stored in profile
to build absolute URI of a resource, instead of relying on `uri` property
returned by `/describe`.

Resolves LP:2009186

(cherry picked from commit 28c72b81ed318b283cd3f2ddcae2e199ca067228)

backport-fix-2009186-to-3.2 2023-03-06 18:25:35 UTC
fix(cli): use profile.url to build absolute uri

Author: Anton Troyanov
Author Date: 2023-03-06 18:23:06 UTC

fix(cli): use profile.url to build absolute uri

When MAAS is behind a load-balancer or proxy
(e.g. HAProxy with `mode tcp`), CLI should use MAAS URL stored in profile
to build absolute URI of a resource, instead of relying on `uri` property
returned by `/describe`.

Resolves LP:2009186

(cherry picked from commit 28c72b81ed318b283cd3f2ddcae2e199ca067228)

describe-maas-url 2023-03-06 17:23:50 UTC
test(cli): test uri f-string

Author: Anton Troyanov
Author Date: 2023-03-06 17:23:50 UTC

test(cli): test uri f-string

backport-fix-1993618-to-3.3 2023-02-15 07:03:44 UTC
LP:1993618 use relative redirects from nginx

Author: Alberto Donato
Author Date: 2023-01-10 18:17:02 UTC

LP:1993618 use relative redirects from nginx

(cherry picked from commit b872597ef539288b241a4338049c51ed97dbdcd1)

backport-fix-1993618-to-3.2 2023-02-15 07:02:10 UTC
LP:1993618 use relative redirects from nginx

Author: Alberto Donato
Author Date: 2023-01-10 18:17:02 UTC

LP:1993618 use relative redirects from nginx

(cherry picked from commit b872597ef539288b241a4338049c51ed97dbdcd1)

isolate-power-drivers 2023-01-11 12:06:27 UTC
wip: move each driver to a python package

Author: Anton Troyanov
Author Date: 2023-01-11 12:06:27 UTC

wip: move each driver to a python package

backport-fix-1996997-to-3.3 2023-01-09 08:02:09 UTC
chore: update lxd version

Author: Thorsten Merten
Author Date: 2022-12-09 16:42:46 UTC

chore: update lxd version

see #1996997

(cherry picked from commit a82c692315e32718347349bb74b8fb94957ead2e)

backport-fix-1996997-to-3.2 2023-01-09 07:17:20 UTC
chore: update lxd version

Author: Thorsten Merten
Author Date: 2022-12-09 16:42:46 UTC

chore: update lxd version

see #1996997

(cherry picked from commit a82c692315e32718347349bb74b8fb94957ead2e)

fix-pod-ws-handler 2022-11-25 22:11:18 UTC
fixup! fix(vault): vmhost use get/set power_parameters

Author: Anton Troyanov
Author Date: 2022-11-25 18:35:07 UTC

fixup! fix(vault): vmhost use get/set power_parameters

vmhost-power-params 2022-11-22 17:46:13 UTC
fix(vault): vmhost should use get_power_parameters

Author: Anton Troyanov
Author Date: 2022-11-22 14:23:31 UTC

fix(vault): vmhost should use get_power_parameters

create-pod 2022-11-21 08:59:00 UTC
feat(vault): add create_pod method to create Pods

Author: Anton Troyanov
Author Date: 2022-11-21 08:56:04 UTC

feat(vault): add create_pod method to create Pods

migrate-node-power-credentials 2022-11-18 14:11:06 UTC
chore: rename test_delete_deletes_node_power_secrets

Author: Anton Troyanov
Author Date: 2022-11-18 13:27:40 UTC

chore: rename test_delete_deletes_node_power_secrets

fix-snap-requirements-3.0 2022-11-16 09:31:55 UTC
fix: github.com/Supervisor/supervisor master->main

Author: Anton Troyanov
Author Date: 2022-11-16 09:23:37 UTC

fix: github.com/Supervisor/supervisor master->main

(cherry picked from commit fa9343be7d9d5950b68d08480a9096630ac27cf8)

fix-snap-requirements-3.1 2022-11-16 09:31:00 UTC
fix: github.com/Supervisor/supervisor master->main

Author: Anton Troyanov
Author Date: 2022-11-16 09:23:37 UTC

fix: github.com/Supervisor/supervisor master->main

(cherry picked from commit fa9343be7d9d5950b68d08480a9096630ac27cf8)

fix-snap-requirements-3.2 2022-11-16 09:29:48 UTC
fix: github.com/Supervisor/supervisor master->main

Author: Anton Troyanov
Author Date: 2022-11-16 09:23:37 UTC

fix: github.com/Supervisor/supervisor master->main

(cherry picked from commit fa9343be7d9d5950b68d08480a9096630ac27cf8)

fix-snap-requirements 2022-11-16 07:47:29 UTC
fix: github.com/Supervisor/supervisor master->main

Author: Anton Troyanov
Author Date: 2022-11-15 22:02:28 UTC

fix: github.com/Supervisor/supervisor master->main

backport-token-leak-3.2 2022-11-09 08:02:59 UTC
fix(security): maas_hardware_sync credentials leak

Author: Anton Troyanov
Author Date: 2022-11-02 07:39:36 UTC

fix(security): maas_hardware_sync credentials leak

Resolves LP:1993032

(cherry picked from commit 0b9a9d8421d301569af12cc8127f440d68914a0a)

fix-token-leak 2022-11-02 06:49:46 UTC
fixup! fix(security): maas_hardware_sync credentials leak

Author: Anton Troyanov
Author Date: 2022-11-02 06:49:46 UTC

fixup! fix(security): maas_hardware_sync credentials leak

set_vault_enabled_only_from_master 2022-10-21 17:23:43 UTC
fix(vault): set vault_configured only from master

Author: Anton Troyanov
Author Date: 2022-10-21 16:30:37 UTC

fix(vault): set vault_configured only from master

vault-metrics 2022-10-17 10:29:13 UTC
feat(vault): collect metrics [vault enabled]

Author: Anton Troyanov
Author Date: 2022-10-14 23:03:52 UTC

feat(vault): collect metrics [vault enabled]

flag-vault-migrated 2022-10-14 14:43:17 UTC
feat(vault): ws api vault_configured flag to controllers

Author: Anton Troyanov
Author Date: 2022-10-14 09:18:35 UTC

feat(vault): ws api vault_configured flag to controllers

fix-1990014-backport-3.2 2022-10-03 14:45:25 UTC
LP:1990014 fix debug middleware

Author: Anton Troyanov
Author Date: 2022-09-16 22:52:07 UTC

LP:1990014 fix debug middleware

When response jas no `content` attribute, default value will be
returned.

Default value should be of type `bytes`, not `str`, otherwise it will
fail to decode with an exception:

```
AttributeError: 'str' object has no attribute 'decode'.
```

From Django documentation:
  HttpResponse.content
  A bytestring representing the content, encoded from a string if necessary.

(cherry picked from commit e9587d9158ba3e4cfe8681413e7ce85ce16027af)

fix-1990014 2022-09-16 21:53:12 UTC
LP:1990014 fix debug middleware

Author: Anton Troyanov
Author Date: 2022-09-16 21:23:26 UTC

LP:1990014 fix debug middleware

When response jas no `content` attribute, default value will be
returned.

Default value should be of type `bytes`, not `str`, otherwise it will
fail to decode with an exception:

```
AttributeError: 'str' object has no attribute 'decode'.
```

From Django documentation:
  HttpResponse.content
  A bytestring representing the content, encoded from a string if necessary.

autoclose-gh-pr 2022-09-13 17:29:16 UTC
chore: autoclose GitHub PRs

Author: Anton Troyanov
Author Date: 2022-09-13 17:29:16 UTC

chore: autoclose GitHub PRs

update-docs-for-node-api 2022-09-08 19:10:48 UTC
docs(api): add example of parent property for node

Author: Anton Troyanov
Author Date: 2022-09-08 19:10:48 UTC

docs(api): add example of parent property for node

fix-dpu-linking 2022-09-07 00:55:43 UTC
fix: apply missing query when linking dependent nodes

Author: Anton Troyanov
Author Date: 2022-09-07 00:42:14 UTC

fix: apply missing query when linking dependent nodes

parent-child-host-vm 2022-09-06 12:32:49 UTC
fixup! feat: link machines that depend on each other

Author: Anton Troyanov
Author Date: 2022-09-06 12:02:06 UTC

fixup! feat: link machines that depend on each other

Add data migration step, to create parent-child relation for existing
VMs

api-return-parent-for-machine 2022-09-06 12:26:07 UTC
feat(api): return parent for machine

Author: Anton Troyanov
Author Date: 2022-09-02 23:50:20 UTC

feat(api): return parent for machine

allow-null-vpd 2022-09-06 11:12:38 UTC
LP:1988769 better handling VPD data that has non alphanumeric characters

Author: Anton Troyanov
Author Date: 2022-09-05 19:08:50 UTC

LP:1988769 better handling VPD data that has non alphanumeric characters

bluefield 2022-09-01 14:32:06 UTC
feat(bluefield): link machines that depend on each other

Author: Anton Troyanov
Author Date: 2022-08-29 10:37:31 UTC

feat(bluefield): link machines that depend on each other

A data processing unit (DPU) is a channel controller.
Host machine might have DPU installed, and we want MAAS to detect DPU
as a separate machine, but maintaining parent-child relation with the host.

update-lxd-backport-to-3.2 2022-08-01 12:09:38 UTC
fix(deps): update github.com/lxc/lxd to v0.0.0-20220801070811-efce00b764d8

Author: Anton Troyanov
Author Date: 2022-08-01 12:07:09 UTC

fix(deps): update github.com/lxc/lxd to v0.0.0-20220801070811-efce00b764d8

Update LXD package to a newer version that has a fix for VPD parser
https://github.com/lxc/lxd/issues/10708

(cherry picked from commit 60b3666995c6581b8f4037316b36d0b699886007)

revert-1938296-to-3.2 2022-08-01 12:00:05 UTC
Revert "fix RAID device available space reporting"

Author: Anton Troyanov
Author Date: 2022-08-01 11:48:06 UTC

Revert "fix RAID device available space reporting"

This reverts commit 47edd13773def85a776d5c517e0dc9830c30f91b.

LP:1981536
(cherry picked from commit 7a6e7bafd63c87e75265c16aeec9dcf3a34bfa19)

update-lxd 2022-08-01 11:02:25 UTC
fix(deps): update github.com/lxc/lxd to v0.0.0-20220801070811-efce00b764d8

Author: Anton Troyanov
Author Date: 2022-08-01 11:02:25 UTC

fix(deps): update github.com/lxc/lxd to v0.0.0-20220801070811-efce00b764d8

Update LXD package to a newer version that has a fix for VPD parser
https://github.com/lxc/lxd/issues/10708

revert-1938296 2022-08-01 09:28:08 UTC
Revert "fix RAID device available space reporting"

Author: Anton Troyanov
Author Date: 2022-08-01 09:27:42 UTC

Revert "fix RAID device available space reporting"

This reverts commit 47edd13773def85a776d5c517e0dc9830c30f91b.

LP:1981536

fix-setuptools-data_files-backport-to-3.2 2022-07-26 17:38:23 UTC
fix: avoid conversion from hyphen to underscore

Author: Anton Troyanov
Author Date: 2022-07-26 16:50:37 UTC

fix: avoid conversion from hyphen to underscore

In v54.1.0 setuptools introduced a change that causes the
difference how hyphens are handled [1]

That causes different behaviour when running `setup.py install`
with different version of Python.

Use underscores to avoid conversion of dashes to underscores.

[1]: https://setuptools.pypa.io/en/latest/history.html#id368

(cherry picked from commit 2441acb3d5d54b39aeb276e35fc8a32db6d3c16e)

fix-setuptools-data_files 2022-07-26 16:08:17 UTC
fixup! fix: avoid conversion from hyphen to underscore

Author: Anton Troyanov
Author Date: 2022-07-26 16:08:17 UTC

fixup! fix: avoid conversion from hyphen to underscore

backport-lp1929478-to-3.2 2022-07-26 08:10:00 UTC
Fix utf-8 character error when bmc-config

Author: Seyeong Kim
Author Date: 2022-06-23 15:49:04 UTC

Fix utf-8 character error when bmc-config

Related LP and article

https://bugs.launchpad.net/bugs/1892983
https://bugs.launchpad.net/bugs/1929478
https://discourse.maas.io/t/maas-failed-commissioning/4904
(cherry picked from commit 3eec5b5161515a23f58c72638a5ff8aac7486622)

backport-fix-1982208-to-3.2 2022-07-25 23:21:33 UTC
fix: add missing o11y sample configs into deb pkg

Author: Anton Troyanov
Author Date: 2022-07-25 21:43:36 UTC

fix: add missing o11y sample configs into deb pkg

Fixes bug #1982208

(cherry picked from commit fa2959b88352334146519dc6b68b160953351bd1)

fix-1982208 2022-07-25 21:11:17 UTC
fix: add missing sample configs into deb pkg

Author: Anton Troyanov
Author Date: 2022-07-25 17:42:21 UTC

fix: add missing sample configs into deb pkg

Fixes bug #1982208

201247 of 247 results
This repository contains Public information 
Everyone can see this information.

Subscribers