~troyanov/maas:fix-temporal-reload

Last commit made on 2023-08-06
Get this branch:
git clone -b fix-temporal-reload https://git.launchpad.net/~troyanov/maas
Only Anton Troyanov can upload to this branch. If you are Anton Troyanov please log in for upload directions.

Branch merges

Branch information

Name:
fix-temporal-reload
Repository:
lp:~troyanov/maas

Recent commits

4bd92f6... by Anton Troyanov

fix(temporal): _reload_service produce generator

965dd1b... by Igor Brovtsin

Allow changing the default expected state of `ToggleableService`

Some services can be managed by both region and rack, with the latter
being in control for rack-only deployments. In order to achieve that, a
layer of logic implemented in `RackOnlyExternalService` class checks the
deployment type and decides whether rack should control the service
state or not (service expected status = ANY). Once it have a decision,
the expected state of the service is updated by calling the appropriate
method of `ToggleableService` instance for the corresponding service.

However, this logic needs some time before the expected state is updated.
Since the current default expected service state is `SERVICE_STATE.OFF`,
in rack+region deployments, rack will try to bring the services down
until `RackOnlyExternalService` instance updates the state, while region
will bring the services back online. The side effects of such races are
devastating to some services, especially ones that have cleanup steps in
their startup shell script.

The proposed solution is to have the affected services default expected
state as `SERVICE_STATE.ANY` to prevent rack from bringing them down.

689cbe9... by Alberto Donato

apiserver: use sqlalchemy.URL for DSN

7857f52... by Christian Grabowski

defer process_dns_update_notify to database

a15c68d... by Anton Troyanov

feat(temporal): read config settings from agent

Add MAAS_AGENT_CONFIG ENV var pointing to agent.yaml
Template agent.yaml configuration file from rackd
Enable Payload encoding for Temporal client

95010da... by Christian Grabowski

lookup subnet for reverse record zone generation

54e0890... by Peter Makowski

Update maas-ui to 236e9165b
fix: AppSidePanel not closing on route change (#5088)

- add more thorough e2e tests
- update side panel test id

76d8942... by Anton Troyanov

chore(encryptor): move out from internal

We want to help users to build their own Temporal Codec Servers.
Therefore, we must allow them to import our codec package.

839075e... by Anton Troyanov

fix(rackd): add missing maas-agent for deb package

This fixes an issue introduced in da08c8bd922b0ea37d1220b4b010e17168f9d28c

Co-authored-by: Christian Grabowski <email address hidden>

9d07634... by Peter Makowski

Update maas-ui to 9074ea68b
feat: tag management panel MAASENG-1427 (#5051)

  - remove .l-aside visibility workaround
  - refactor AppSidePanel
  - update node action menu dropdown styles
  - remove eslint-disable-next-line cypress/no-force comments as we disable the rule globally due to vanillaframework implementation of form elements