Installation of flake8 in the tox environment is done via tox.ini.
Sync with global requirements files for charms.
Change-Id: I30e68b0abf9d621b8198b61e244f49f3f026c294
Older style sql_connection in the DEFAULT section is not supported
at caracal; use sectional configuration instead.
Change-Id: Ia9ed91f550ce0c761c82151aa03e5c448b57a7b0
Summary of changes:
- Update the charmcraft.yaml file to use base and platforms, only
allowing noble support.
- Update config to default to caracal.
- Update osci.yaml to use the charmcraft 3.x/beta
- Drop non-noble tests
- Update constraints file from -2024.1.txt to -noble.txt
- Add charmbuild to .zuul.yaml
Change-Id: I4f09f3a4549d35f3fb57235aaddee2ff997a2a49
Summary of changes:
- Bump flake8 from 3.9.2 to 7.1.1
- Remove pinning for setuptools
- Add py312 section to tox.ini [testenv]
Change-Id: I2261074718e3b4473f54f4bb3fec2cd6d822616b
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal. They do NOT lock the charms
down, and don't change the testing branches to stable branches.
Change-Id: Icee2b7a7f37e6ec1f0371ea3ee1e235fa1ce10ac
Tests sporadically fail the live-migration portion when the compute
nodes have different processor families. Set the cpu-mode and cpu-model
to the lowest denominator in the CI to prevent this.
Change-Id: Ie5010ad306295835f963022cb53e601d47db7f03
The API service needs to listen on all IP addresses to allow different
haproxy frontends reach it out.
By default the service binds to 127.0.0.1, and binding it to
options.service_listen_info.watcher_api.ip prevents the assess_status()
code to succeed, this is a common pattern[0]
[0] d073130639/templates/stein/neutron.conf (L14)
Change-Id: I3e7b43d0208e251a6b6ab59d0383c989310f2b3b
Summary of changes:
- Add charmcraft.yaml to build the charm using charmcraft-2.2
- Add osci.yaml to run CI jobs on zosci
- Align tox.ini and src/tox.ini with the rest of the charms
- Add testing bundles jammy-zed, jammy-antelope and lunar-antelope. The
other bundles are dropped
- Clean up requirements.txt removing unneeded dependencies
- Update metadata.yaml to declare jammy and lunar only
- Use generic zuul job templates
- Add src/wheelhouse.txt
- Install python3-apt instead of python-apt
- Drop pip.sh
- Drop unneeded pining from test-requirements.txt
Change-Id: I28df31910c869f813682c3b436e5481dc607772e
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: Idcd1e9db466ec4d1ffd302dee97c453b1b822323
The default for charm-build changed, which means the the CI looks in the
wrong place to find the built charm to upload it to the charm-store.
this patch fixes that.
Change-Id: I4e93296a5ba1c635e42fea7197d2c17aa079fc00
This patch adds support for Victoria and adds relevant testcases
as well.
Change-Id: Id358d8c7d7e73d9035fa12db00a421bf715b0c55
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
This patch adds a new handler to make charm react to non
action_managed_upgrades.
Change-Id: If8a4e19ca03d4b4570f2e20edee36cf64df70da9
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
This patch updates charms.openstack which, among other things, it
configures TLS in config_changed [1] which is essential since without
it, the ssl-* config options are ignored.
[1] https://github.com/openstack/charms.openstack/blob/master/charms_openstack/charm/classes.py#L431
Change-Id: I8efb8ed0bed83c5676a836db9d63cfb44d75e851
Closes-bug: #1903583
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
Add support for Ussuri to be able to able to upgrade via config
automatically and also fix CI tests
Change-Id: Idb5491fad04756d782c4f0cc1979e8857da1c3b8
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
Add planner_ prexix to relevant configuration values in order to be
correctly filled inside templated configuration file.
Change-Id: I5afdacb1f5b33f79c3e83d39a43a056e01aa682f
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
This patch changes the initial information to point to upstream after
the official release of charm-watcher.
Change-Id: I2dc7b1777c70fa5aa4eb28aa7a24bb4638ecf94e
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>
This patch adds a bare minimum bundle.yaml for deploying watcher
charm and running a noop basic test.
Change-Id: Id09cbce851dcc6be9e452b5c0ea82c24673404d8
Signed-off-by: Stamatis Katsaounis <skatsaounis@admin.grnet.gr>