Add watcher-k8s charm

Add charm for watcher-k8s
Add unit tests and update integration tests
Add zuul related changes to build and publish
watcher-k8s charm

Change-Id: I8295780743d9db976df753986884d1e031454cb3
This commit is contained in:
Hemanth Nakkina 2024-08-30 09:45:24 +05:30
parent d6619680e1
commit 9342f56111
No known key found for this signature in database
GPG Key ID: 2E4970F7B143168E
19 changed files with 1107 additions and 73 deletions

View File

@ -0,0 +1,20 @@
external-libraries:
- charms.data_platform_libs.v0.data_interfaces
- charms.rabbitmq_k8s.v0.rabbitmq
- charms.traefik_k8s.v2.ingress
- charms.certificate_transfer_interface.v0.certificate_transfer
- charms.loki_k8s.v1.loki_push_api
- charms.tempo_k8s.v2.tracing
- charms.tempo_k8s.v1.charm_tracing
internal-libraries:
- charms.keystone_k8s.v1.identity_service
- charms.gnocchi_k8s.v0.gnocchi_service
templates:
- parts/section-database
- parts/database-connection
- parts/database-connection-settings
- parts/section-identity
- parts/identity-data
- parts/section-oslo-messaging-rabbit
- parts/section-oslo-notifications
- ca-bundle.pem.j2

View File

@ -0,0 +1,31 @@
# Contributing
To make contributions to this charm, you'll need a working [development setup](https://juju.is/docs/sdk/dev-setup).
You can create an environment for development with `tox`:
```shell
tox devenv -e integration
source venv/bin/activate
```
## Testing
This project uses `tox` for managing test environments. There are some pre-configured environments
that can be used for linting and formatting code when you're preparing contributions to the charm:
```shell
tox run -e fmt # update your code according to linting rules
tox run -e pep8 # code style
tox run -e linters # static type checking
tox run -e py3 # unit tests
tox # runs 'format', 'lint', 'static', and 'unit' environments
```
## Build the charm
Build the charm in this git repository using:
```shell
tox run -e build watcher-k8s
```

202
charms/watcher-k8s/LICENSE Normal file
View File

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2023 Chi Wai CHAN
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -0,0 +1,68 @@
# watcher-k8s
## Description
watcher-k8s is an operator to manage the watcher services watcher api,
watcher decision engine and watcher applier on a Kubernetes based environment.
## Usage
### Deployment
watcher-k8s is deployed using below command:
juju deploy watcher-k8s watcher --trust
Now connect the watcher operator to existing database, keystone identity,
and rabbitmq operators:
juju relate mysql:database watcher:database
juju relate keystone:identity-service watcher:identity-service
juju relate rabbitmq:amqp watcher:amqp
### Configuration
This section covers common and/or important configuration options. See file
`config.yaml` for the full list of options, along with their descriptions and
default values. See the [Juju documentation][juju-docs-config-apps] for details
on configuring applications.
### Actions
This section covers Juju [actions][juju-docs-actions] supported by the charm.
Actions allow specific operations to be performed on a per-unit basis. To
display action descriptions run `juju actions watcher`. If the charm is not
deployed then see file `actions.yaml`.
## Relations
watcher-k8s requires the following relations:
`database`: To connect to MySQL
`identity-service`: To register endpoints in Keystone
`ingress-internal`: To expose service on underlying internal network
`ingress-public`: To expose service on public network
`amqp`: To connect to Rabbitmq
## OCI Images
The charm by default uses following images:
ghcr.io/canonical/watcher-consolidated:2024.1
## Contributing
Please see the [Juju SDK docs](https://juju.is/docs/sdk) for guidelines
on enhancements to this charm following best practice guidelines, and
[CONTRIBUTING.md](contributors-guide) for developer guidance.
## Bugs
Please report bugs on [Launchpad][lp-bugs-charm-watcher-k8s].
<!-- LINKS -->
[contributors-guide]: https://opendev.org/openstack/charm-watcher-k8s/src/branch/main/CONTRIBUTING.md
[juju-docs-actions]: https://jaas.ai/docs/actions
[juju-docs-config-apps]: https://juju.is/docs/configuring-applications
[lp-bugs-charm-watcher-k8s]: https://bugs.launchpad.net/sunbeam-charms/+filebug

View File

@ -0,0 +1,130 @@
type: "charm"
bases:
- build-on:
- name: "ubuntu"
channel: "22.04"
run-on:
- name: "ubuntu"
channel: "22.04"
parts:
update-certificates:
plugin: nil
override-build: |
apt update
apt install -y ca-certificates
update-ca-certificates
charm:
after: [update-certificates]
build-packages:
- git
- libffi-dev
- libssl-dev
- rustc
- cargo
- pkg-config
charm-binary-python-packages:
- cryptography
- jsonschema
- pydantic
- jinja2
name: watcher-k8s
title: OpenStack watcher service
summary: Resource Optimization service for OpenStack
description: |
watcher-k8s is a charm for OpenStack Watcher service which
provides a flexible and scalable resource optimization
for multi-tenant OpenStack-based clouds.
The charm handles instantiation, scaling, configuration and
Day 2 operations for OpenStack Watcher services.
links:
source: https://opendev.org/openstack/sunbeam-charms
issues: https://bugs.launchpad.net/sunbeam-charms
assumes:
- k8s-api
- juju >= 3.1
containers:
watcher-api:
resource: watcher-image
watcher-applier:
resource: watcher-image
watcher-decision-engine:
resource: watcher-image
resources:
watcher-image:
description: OCI image for OpenStack Watcher services
type: oci-image
upstream-source: ghcr.io/canonical/watcher-consolidated:2024.1
requires:
amqp:
interface: rabbitmq
limit: 1
database:
interface: mysql_client
limit: 1
gnocchi-db:
interface: gnocchi
optional: true
identity-service:
interface: keystone
limit: 1
ingress-internal:
interface: ingress
limit: 1
optional: true
ingress-public:
interface: ingress
limit: 1
logging:
interface: loki_push_api
limit: 1
optional: true
receive-ca-cert:
interface: certificate_transfer
limit: 1
optional: true
tracing:
interface: tracing
limit: 1
optional: true
peers:
peers:
interface: watcher-peer
config:
options:
collector-plugins:
default: compute
description: |
A comma separated list of cluster data model plugin names.
.
Available collector-plugins are: compute and storage.
type: string
debug:
default: false
description: Enable debug logging.
type: boolean
enable-telemetry-notifications:
default: false
description: Enable notifications to send to telemetry.
type: boolean
maas-api-key:
description: MAAS API authentication key
type: string
maas-url:
description: MAAS URL to connect
type: string
region:
default: RegionOne
description: Name of the OpenStack region
type: string
actions: {}

View File

@ -0,0 +1 @@
b47d3d6a-641c-11ef-ae1f-278a03cb283b

View File

@ -0,0 +1,7 @@
ops
jinja2
lightkube
pydantic<2.0
# From ops_sunbeam
tenacity

270
charms/watcher-k8s/src/charm.py Executable file
View File

@ -0,0 +1,270 @@
#!/usr/bin/env python3
# Copyright 2024 Canonical Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Watcher Operator Charm.
This charm provide watcher services as part of an OpenStack deployment
"""
import logging
import ops
import ops_sunbeam.charm as sunbeam_charm
import ops_sunbeam.container_handlers as sunbeam_chandlers
import ops_sunbeam.core as sunbeam_core
import ops_sunbeam.relation_handlers as sunbeam_rhandlers
import ops_sunbeam.tracing as sunbeam_tracing
logger = logging.getLogger(__name__)
WATCHER_API_CONTAINER = "watcher-api"
WATCHER_DECISION_ENGINE_CONTAINER = "watcher-decision-engine"
WATCHER_APPLIER_CONTAINER = "watcher-applier"
@sunbeam_tracing.trace_type
class WatcherDecisionEnginePebbleHandler(
sunbeam_chandlers.ServicePebbleHandler
):
"""Pebble handler for Watcher decision engine."""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.enable_service_check = True
def get_layer(self) -> dict:
"""Watcher decision engine service layer.
:returns: pebble layer configuration for watcher decision engine service
:rtype: dict
"""
return {
"summary": "watcher decision engine layer",
"description": "pebble configuration for watcher services",
"services": {
"watcher-decision-engine": {
"override": "replace",
"summary": "Watcher decision engine",
"command": "watcher-decision-engine",
"user": self.charm.service_user,
"group": self.charm.service_group,
}
},
}
@property
def service_ready(self) -> bool:
"""Determine whether the service the container provides is running."""
if self.enable_service_check:
logger.debug("Service checks enabled for watcher decision engine")
return super().service_ready
else:
logger.debug("Service checks disabled for watcher decision engine")
return self.pebble_ready
@sunbeam_tracing.trace_type
class WatcherApplierPebbleHandler(sunbeam_chandlers.ServicePebbleHandler):
"""Pebble handler for Watcher applier."""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.enable_service_check = True
def get_layer(self) -> dict:
"""Watcher applier service layer.
:returns: pebble layer configuration for watcher applier service
:rtype: dict
"""
return {
"summary": "watcher applier layer",
"description": "pebble configuration for watcher services",
"services": {
"watcher-applier": {
"override": "replace",
"summary": "Watcher applier",
"command": "watcher-applier",
"user": self.charm.service_user,
"group": self.charm.service_group,
}
},
}
@property
def service_ready(self) -> bool:
"""Determine whether the service the container provides is running."""
if self.enable_service_check:
logger.debug("Service checks enabled for watcher applier")
return super().service_ready
else:
logger.debug("Service checks disabled for watcher applier")
return self.pebble_ready
class WatcherOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
"""Charm the service."""
service_name = "watcher-api"
wsgi_admin_script = "/usr/bin/watcher-api-wsgi"
wsgi_public_script = "/usr/bin/watcher-api-wsgi"
mandatory_relations = {"database", "amqp", "identity-service"}
db_sync_cmds = [
[
"sudo",
"-u",
"watcher",
"watcher-db-manage",
"upgrade",
]
]
@property
def service_conf(self) -> str:
"""Service default configuration file."""
return "/etc/watcher/watcher.conf"
@property
def service_user(self) -> str:
"""Service user file and directory ownership."""
return "watcher"
@property
def service_group(self) -> str:
"""Service group file and directory ownership."""
return "watcher"
@property
def service_endpoints(self):
"""Service endpoints configuration."""
return [
{
"service_name": "watcher",
"type": "infra-optim",
"description": "Infrastructure Optimization",
"internal_url": f"{self.internal_url}",
"public_url": f"{self.public_url}",
"admin_url": f"{self.admin_url}",
}
]
@property
def default_public_ingress_port(self):
"""Default port."""
return 9322
@property
def container_configs(self) -> list[sunbeam_core.ContainerConfigFile]:
"""Container config files for the service."""
_cconfigs = super().container_configs
_cconfigs.extend(
[
sunbeam_core.ContainerConfigFile(
self.service_conf,
self.service_user,
self.service_group,
0o640,
),
sunbeam_core.ContainerConfigFile(
"/usr/local/share/ca-certificates/ca-bundle.pem",
"root",
self.service_group,
0o640,
),
]
)
return _cconfigs
def get_pebble_handlers(
self,
) -> list[sunbeam_chandlers.ServicePebbleHandler]:
"""Pebble handlers for operator."""
pebble_handlers = super().get_pebble_handlers()
pebble_handlers.extend(
[
WatcherDecisionEnginePebbleHandler(
self,
WATCHER_DECISION_ENGINE_CONTAINER,
"watcher-decision-engine",
self.container_configs,
self.template_dir,
self.configure_charm,
),
WatcherApplierPebbleHandler(
self,
WATCHER_APPLIER_CONTAINER,
"watcher-applier",
self.container_configs,
self.template_dir,
self.configure_charm,
),
]
)
return pebble_handlers
def get_relation_handlers(
self, handlers: list[sunbeam_rhandlers.RelationHandler] = None
) -> list[sunbeam_rhandlers.RelationHandler]:
"""Relation handlers for the service."""
handlers = handlers or []
if self.can_add_handler("gnocchi-db", handlers):
self.gnocchi_svc = sunbeam_rhandlers.GnocchiServiceRequiresHandler(
self,
"gnocchi-db",
self.configure_charm,
"gnocchi-db" in self.mandatory_relations,
)
handlers.append(self.gnocchi_svc)
return super().get_relation_handlers(handlers)
def configure_charm(self, event: ops.framework.EventBase) -> None:
"""Callback handler for watcher operator configuration."""
# Do not run service check for watcher decision engine and watcher
# applier as it is broken until db migrations have run.
decision_engine_handler = self.get_named_pebble_handler(
WATCHER_DECISION_ENGINE_CONTAINER
)
decision_engine_handler.enable_service_check = False
applier_handler = self.get_named_pebble_handler(
WATCHER_APPLIER_CONTAINER
)
applier_handler.enable_service_check = False
super().configure_charm(event)
if decision_engine_handler.pebble_ready:
logger.debug(
"Starting watcher decision engine service, pebble ready"
)
# Restart watcher-decision-engine service
decision_engine_handler.start_all()
decision_engine_handler.enable_service_check = True
else:
logger.debug(
"Not starting watcher decision engine service, pebble not ready"
)
if applier_handler.pebble_ready:
logger.debug("Starting watcher applier service, pebble ready")
# Restart watcher-applier service
applier_handler.start_all()
applier_handler.enable_service_check = True
else:
logger.debug(
"Not starting watcher applier service, pebble not ready"
)
if __name__ == "__main__": # pragma: nocover
ops.main(WatcherOperatorCharm) # type: ignore

View File

@ -0,0 +1,73 @@
[DEFAULT]
debug = {{ options.debug }}
transport_url = {{ amqp.transport_url }}
{% include "parts/section-database" %}
{% include "parts/section-identity" %}
[watcher_clients_auth]
{% include "parts/identity-data" %}
{% include "parts/section-oslo-notifications" %}
{% include "parts/section-oslo-messaging-rabbit" %}
[api]
# The listen IP address for the watcher API server (host address value)
host = 0.0.0.0
workers = 4
[watcher_applier]
# Number of workers for applier, default value is 1. (integer value)
# Minimum value: 1
workers = 4
[watcher_decision_engine]
# metric_map_path = /etc/watcher/metric_map.yaml
[watcher_datasources]
# ceilometer is deprecated, monasca is not supported in sunbeam-charms
# grafana works only with InfluxDB
# Available datasources are gnocchi
datasources = gnocchi
{% if options.collector_plugins -%}
[collector]
# maas is not supported as baremetal collector as watcher strategy
# implementations are not using baremetal collectors
# https://opendev.org/openstack/watcher/commit/c95ce4ec17aa7844f64e97d67cf66c017d656c47
# Not adding baremetal as ironic is not supported in sunbeam-charms
collector_plugins = {{ options.collector_plugins }}
{% endif -%}
[cinder_client]
region_name = {{ options.region }}
[glance_client]
region_name = {{ options.region }}
[keystone_client]
region_name = {{ options.region }}
[neutron_client]
region_name = {{ options.region }}
[nova_client]
region_name = {{ options.region }}
[placement_client]
region_name = {{ options.region }}
[gnocchi_client]
region_name = {{ options.region }}
[ironic_client]
region_name = {{ options.region }}
{% if options.maas_url and options.maas_api_key -%}
[maas_client]
url = {{ options.maas_url }}
api_key = {{ options.maas_api_key }}
{% endif -%}

View File

@ -0,0 +1,27 @@
Listen {{ wsgi_config.public_port }}
<VirtualHost *:{{ wsgi_config.public_port }}>
WSGIDaemonProcess {{ wsgi_config.name }} processes=4 threads=1 user={{ wsgi_config.user }} group={{ wsgi_config.group }} \
display-name=%{GROUP}
WSGIProcessGroup {{ wsgi_config.name }}
{% if ingress_public and ingress_public.ingress_path -%}
WSGIScriptAlias {{ ingress_public.ingress_path }} {{ wsgi_config.wsgi_public_script }}
{% endif -%}
WSGIScriptAlias / {{ wsgi_config.wsgi_public_script }}
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
<IfVersion >= 2.4>
ErrorLogFormat "%{cu}t %M"
</IfVersion>
ErrorLog {{ wsgi_config.error_log }}
CustomLog {{ wsgi_config.custom_log }} combined
<Directory /usr/bin>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
</Directory>
</VirtualHost>

View File

@ -0,0 +1,15 @@
# Copyright 2024 Canonical Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Unit tests for watcher operator."""

View File

@ -0,0 +1,125 @@
#!/usr/bin/env python3
# Copyright 2024 Canonical Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Tests for watcher charm."""
from pathlib import (
Path,
)
import charm
import ops_sunbeam.test_utils as test_utils
import yaml
charmcraft = (Path(__file__).parents[2] / "charmcraft.yaml").read_text()
config = yaml.dump(yaml.safe_load(charmcraft)["config"])
actions = yaml.dump(yaml.safe_load(charmcraft)["actions"])
class _WatcherOperatorCharm(charm.WatcherOperatorCharm):
def __init__(self, framework):
self.seen_events = []
super().__init__(framework)
def _log_event(self, event):
self.seen_events.append(type(event).__name__)
def configure_charm(self, event):
super().configure_charm(event)
self._log_event(event)
@property
def public_ingress_address(self):
return "watcher.juju"
class TestWatcherOperatorCharm(test_utils.CharmTestCase):
"""Class for testing watcher charm."""
PATCHES = []
def setUp(self):
"""Setup Watcher tests."""
super().setUp(charm, self.PATCHES)
self.harness = test_utils.get_harness(
_WatcherOperatorCharm,
container_calls=self.container_calls,
charm_metadata=charmcraft,
charm_config=config,
charm_actions=actions,
)
# clean up events that were dynamically defined,
# otherwise we get issues because they'll be redefined,
# which is not allowed.
from charms.data_platform_libs.v0.data_interfaces import (
DatabaseRequiresEvents,
)
for attr in (
"database_database_created",
"database_endpoints_changed",
"database_read_only_endpoints_changed",
):
try:
delattr(DatabaseRequiresEvents, attr)
except AttributeError:
pass
self.addCleanup(self.harness.cleanup)
def test_pebble_ready_handler(self):
"""Test Pebble ready event is captured."""
self.harness.begin()
self.assertEqual(self.harness.charm.seen_events, [])
test_utils.set_all_pebbles_ready(self.harness)
self.assertEqual(
self.harness.charm.seen_events,
["PebbleReadyEvent", "PebbleReadyEvent", "PebbleReadyEvent"],
)
def test_all_relations(self):
"""Test all the charms relations."""
self.harness.begin_with_initial_hooks()
self.harness.set_leader()
test_utils.set_all_pebbles_ready(self.harness)
test_utils.add_api_relations(self.harness)
test_utils.add_complete_ingress_relation(self.harness)
# Add gnochi-db optional relation
self.harness.add_relation(
"gnocchi-db", "gnocchi", app_data={"ready": "true"}
)
setup_cmds = [
[
"sudo",
"-u",
"watcher",
"watcher-db-manage",
"upgrade",
],
]
for cmd in setup_cmds:
self.assertIn(cmd, self.container_calls.execute["watcher-api"])
for f in [
"/etc/apache2/sites-available/wsgi-watcher-api.conf",
"/etc/watcher/watcher.conf",
]:
self.check_file("watcher-api", f)
self.check_file("watcher-decision-engine", "/etc/watcher/watcher.conf")
self.check_file("watcher-applier", "/etc/watcher/watcher.conf")

View File

@ -23,3 +23,4 @@ publish_channels:
openstack-hypervisor: latest/edge openstack-hypervisor: latest/edge
sunbeam-machine: latest/edge sunbeam-machine: latest/edge
sunbeam-clusterd: latest/edge sunbeam-clusterd: latest/edge
watcher-k8s: latest/edge

View File

@ -77,8 +77,8 @@ applications:
scale: 1 scale: 1
trust: true trust: true
resources: resources:
gnocchi-api-image: ghcr.io/canonical/gnocchi-consolidated:2023.1 gnocchi-api-image: ghcr.io/canonical/gnocchi-consolidated:2024.1
gnocchi-metricd-image: ghcr.io/canonical/gnocchi-consolidated:2023.1 gnocchi-metricd-image: ghcr.io/canonical/gnocchi-consolidated:2024.1
ceilometer: ceilometer:
{% if ceilometer_k8s is defined and ceilometer_k8s is sameas true -%} {% if ceilometer_k8s is defined and ceilometer_k8s is sameas true -%}
charm: ../../../ceilometer-k8s.charm charm: ../../../ceilometer-k8s.charm
@ -108,6 +108,18 @@ applications:
aodh-notifier-image: ghcr.io/canonical/aodh-consolidated:2024.1 aodh-notifier-image: ghcr.io/canonical/aodh-consolidated:2024.1
aodh-listener-image: ghcr.io/canonical/aodh-consolidated:2024.1 aodh-listener-image: ghcr.io/canonical/aodh-consolidated:2024.1
aodh-expirer-image: ghcr.io/canonical/aodh-consolidated:2024.1 aodh-expirer-image: ghcr.io/canonical/aodh-consolidated:2024.1
watcher:
{% if watcher_k8s is defined and watcher_k8s is sameas true -%}
charm: ../../../watcher-k8s.charm
{% else -%}
charm: ch:watcher-k8s
channel: 2024.1/edge
{% endif -%}
base: ubuntu@22.04
scale: 1
trust: true
resources:
watcher-image: ghcr.io/canonical/watcher-consolidated:2024.1
relations: relations:
- - mysql:database - - mysql:database
@ -163,3 +175,16 @@ relations:
- aodh:ingress-public - aodh:ingress-public
- - keystone:send-ca-cert - - keystone:send-ca-cert
- aodh:receive-ca-cert - aodh:receive-ca-cert
- - mysql:database
- watcher:database
- - watcher:amqp
- rabbitmq:amqp
- - keystone:identity-service
- watcher:identity-service
- - traefik:ingress
- watcher:ingress-public
- - keystone:send-ca-cert
- watcher:receive-ca-cert
- - gnocchi:gnocchi-service
- watcher:gnocchi-db

View File

@ -41,3 +41,6 @@ target_deploy_status:
gnocchi: gnocchi:
workload-status: blocked workload-status: blocked
workload-status-message-regex: '^.*ceph.*$' workload-status-message-regex: '^.*ceph.*$'
watcher:
workload-status: waiting
workload-status-message-regex: '^.*integration incomplete$'

View File

@ -310,6 +310,18 @@
- rebuild - rebuild
vars: vars:
charm: sunbeam-clusterd charm: sunbeam-clusterd
- job:
name: charm-build-watcher-k8s
description: Build sunbeam watcher-k8s charm
run: playbooks/charm/build.yaml
timeout: 3600
match-on-config-updates: false
files:
- ops-sunbeam/ops_sunbeam/*
- charms/watcher-k8s/*
- rebuild
vars:
charm: watcher-k8s
- job: - job:
name: func-test-core name: func-test-core
@ -423,6 +435,8 @@
soft: true soft: true
- name: charm-build-aodh-k8s - name: charm-build-aodh-k8s
soft: true soft: true
- name: charm-build-watcher-k8s
soft: true
- name: charm-build-keystone-k8s - name: charm-build-keystone-k8s
soft: true soft: true
files: files:
@ -432,6 +446,7 @@
- charms/gnocchi-k8s/* - charms/gnocchi-k8s/*
- charms/ceilometer-k8s/* - charms/ceilometer-k8s/*
- charms/aodh-k8s/* - charms/aodh-k8s/*
- charms/watcher-k8s/*
- rebuild - rebuild
vars: vars:
charm_jobs: charm_jobs:
@ -440,6 +455,7 @@
- charm-build-gnocchi-k8s - charm-build-gnocchi-k8s
- charm-build-ceilometer-k8s - charm-build-ceilometer-k8s
- charm-build-aodh-k8s - charm-build-aodh-k8s
- charm-build-watcher-k8s
- charm-build-keystone-k8s - charm-build-keystone-k8s
test_dir: tests/ceph test_dir: tests/ceph
- job: - job:
@ -883,3 +899,16 @@
secrets: secrets:
- charmhub_token - charmhub_token
timeout: 3600 timeout: 3600
- job:
name: publish-charm-watcher-k8s
description: |
Publish watcher-k8s built in gate pipeline.
run: playbooks/charm/publish.yaml
files:
- ops-sunbeam/ops_sunbeam/*
- charms/watcher-k8s/*
- rebuild
secrets:
- charmhub_token
timeout: 3600

View File

@ -90,6 +90,8 @@
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- charm-build-tempest-k8s: - charm-build-tempest-k8s:
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- charm-build-watcher-k8s:
nodeset: ubuntu-jammy
gate: gate:
fail-fast: true fail-fast: true
jobs: jobs:
@ -145,6 +147,8 @@
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- charm-build-tempest-k8s: - charm-build-tempest-k8s:
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- charm-build-watcher-k8s:
nodeset: ubuntu-jammy
- project-template: - project-template:
name: charm-publish-jobs name: charm-publish-jobs
@ -204,3 +208,5 @@
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- publish-charm-tempest-k8s: - publish-charm-tempest-k8s:
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- publish-charm-watcher-k8s:
nodeset: ubuntu-jammy

View File

@ -1,75 +1,75 @@
- secret: - secret:
name: charmhub_token name: charmhub_token
data: data:
# Generated on 2024-07-11T12:47:55+00:00 with 90 days ttl # Generated on 2024-09-05T09:40:42+00:00 with 90 days ttl
value: !encrypted/pkcs1-oaep value: !encrypted/pkcs1-oaep
- eZpzbvPzNpDuIH4hJWe9lQ+O++mhHALsVmzLAdHtFJZMZrjpZhW+aV2x9plsrLuG2MYSy - eeEtn8Na30jMSqGixOIufIJJfX7WA9C/zJQ4jUYkiDR0xQoyutAT8oYtRIXNlHxxVJFLR
j2L8iBwPF1ruDaeKI3EdVeqbaRMdIw0KnO6jLspgMITmQC3QWckq/ErulAjYNBTUEfCQ/ 5i0Oi+kOWMq+Jsuw0+sx3C62XWhjkGp48O+AvF+S5nyhvdFXkXAg+UJRqmY2TvllpK50F
VoEnX82hU34ugchfn2j5t6sdt8yDK382wWNMbI2o2DY16FhKC+IONVx6mElVsVOllvuPJ n11wgKNCh6Gzm5yVV/8g4QlDsPZ2E9nvMwXas6Q1R15hV15loTpZG0nUktVyw1ufRyhQ/
ZqkJIDVq7fuXKY52xjmREyCsPxnrLsrlBzq08Y44GTwnnm5iYn9SCrh0/bK29NWsS9JaA FxSbgNHxD9s2ZZtz8JK2sxQbUl2xqSh3Y+HkfBWLf6SHNonTqOHhb3CY5UNsKApOimh3s
SZzHz1evTjpDIzjPSjz7FyMliqxszk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
t1naYCXhMbPiwi58jGEVAn49YMItzrqGzfuKgorm/7O2oISh879K00Gxr8kRd6oKgmE41 BS0rv73IZ7dnJS0sELGeJjSe/GaqqyoIlm68mA2kp1XzmgmcsdpJEyTCtTa3aDhJQpnop
Q1FtRXqF9DWCGUBoW0qCJ+Aex6LHvVlDCg6qh2qPcXrZNJc1JUxYI9epGC0bT7e2WsUqn U0gBF2IM9bPTqwxBt+mfU0HlFLmveQXSrlcbAa34H+FXkBMp50/PFmJAXUP6ztqR22BAQ
UuVcxqsrKEc2ORSk3DM35KE1BFsHwmmsWn90n/vjtHnxE3m6sq+DrXFmowFgKnO8BWzzr IJzhaHnq1eHMYLyWK2hJaNkZsHDRerACo8sToddP7Pdosi+JQh9B2q8WWTOMUTp5BFOY7
edM/5RQ5A6QfDo6lJiirKNPml2giLqk/lL9jagtg5p2sJcI5RvIWxu2PzkMjZQ= stWXkzgsEL4Qh+xtyoioJa3Wc+xkaDkAPknF5XoUDKDJunI5AYTc1RBrjeyCRY=

View File

@ -52,3 +52,4 @@
sunbeam-machine: 2024.1/edge sunbeam-machine: 2024.1/edge
sunbeam-clusterd: 2024.1/edge sunbeam-clusterd: 2024.1/edge
tempest-k8s: 2024.1/edge tempest-k8s: 2024.1/edge
watcher-k8s: 2024.1/edge