* Update charm-ceilometer from branch 'master'
to 9ea1a00bca8dbc9af828abf1ba510a7adfdb930c
- Updates for caracal testing support
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: I41641bebf78705ca3f5a3e09b8ac918a44a863aa
* Update charm-ceilometer from branch 'master'
to dcbebab56c283a637a2b25e18fc28e597bcfcf6a
- Add missing region setting in service_credentials
This change adds the missing region setting in service_credentials. In a
shared keystone multi region setup, this setting is mandatory in order
for ceilometer to properly find the services it relies upon from the
same region it resides in. Without this setting, the ceilometer-upgrade
action will fail (along with any other calls made to ceilometer) if the
first endpoint returned by keystone is from a different region.
Change-Id: Ie14df0f5fc7ee18072091dbdb3ada817615a6670
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
* Update charm-ceilometer from branch 'master'
to a1b25b993a901ba5790672c87a43b6a1c415a901
- Improve platform mocking
Patch out charmhelpers.osplatform.get_platform() and
charmhelpers.core.host.lsb_release() globally in the unit tests to
insulate the unit tests from the platform that the unit tests are being
run on.
Change-Id: I89fd1e19dd946f037615f9115e08aba8d78826db
* Update charm-ceilometer from branch 'master'
to a4ffe0e28c997c8bd19f1bcbf9501a86b31701e3
- Support disabling apache wsgi socket rotation
Bug LP 1863232 introduced a new Apache configuration option called
WSGISocketRotation which allows users to disable wsgi socket
rotation. This patch makes this configurable with a new
wsgi-socket-rotation config option that defaults to the Apache
default and can optionally be set to False.
Closes-Bug: #2021550
Change-Id: Ia50067e1f64a6003d5c2ca2ebc22903a1ab8d3ae
* Update charm-ceilometer from branch 'master'
to c4f153e5820f4103f0e7e1a16b2b959477f0ed3a
- Ensure get_requests_for_local_unit doesn't fail on incomplete relation
This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation. Fix in charmhelpers is in [1].
[1] https://github.com/juju/charm-helpers/pull/824
Closes-Bug: #2028683
Change-Id: I3393fc63fa066b15f3e67c526ab3f2abe0ead028
* Update charm-ceilometer from branch 'master'
to 2f053a6cefd0dee65a8be6f2dfd28fb89910e6ce
- Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/stable
Change-Id: I12adaadd0a5991c271fba3aa8ebaf6c4e5122df0
* Update charm-ceilometer from branch 'master'
to 2f55acb06a1c86584e2a7c1144127c59215f0978
- Fix typo in actions.yaml
There was a typo in actions.yaml for the resume action that was breaking
builds. This change fixes that typo. The charm will build.
Closes-Bug: 2030677
Change-Id: Iffc178326f880682ad3e1baf992bae86ba365f0a
* Update charm-ceilometer from branch 'master'
to d8fd7492d89f130eea558d4c48d5f771b0b7c98f
- Add docs key and point at Discourse
Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.
When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.
Change-Id: I3cbd3c8f3a57be26a599b32973d319f3994377f2
* Update charm-ceilometer from branch 'master'
to 150498576c93873a165fc78ea108d964341af1b9
- Merge "Replace remote-sink description with valid example"
- Replace remote-sink description with valid example
Remote sync configures ceilometer.event.publisher. Only a subset of
publishers are valid. They are test, messaging, http, gnocchi and
zaqar
Change-Id: I56028d674eae58d224ee843152623bdb0d2b5d45
* Update charm-ceilometer from branch 'master'
to 035ab02dc9f5bc3834e4ce1e51d831d672f6ecff
- Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
is turned on in individual charms
* Kinetic-zed bundles/tests are removed
Change-Id: I4efc0e7fb5eb1a8de43e5ac5fe62cf661ff08a7b
* Update charm-ceilometer from branch 'master'
to 8d3b3a658c1b2242d09731761af5aced0447865f
- [DOC] Update ceilometer-upgrade action note
The ceilometer-upgrade action will reapply default
resource-type definitions from templates and may
override any changes that would have been made to
gnocchi resources. Moreover, since Wallaby+, it will
override any attribute (within resource-types) as well.
Change-Id: I162926458181e2210c7b76479ee03b7862755901
* Update charm-ceilometer from branch 'master'
to 804b3ed06a03eca5d366f418f995f489929f0172
- Ensure that kinetic/22.10 is enabled
This patch adds kinetic to the metadata.yaml and ensures
that a run-on base for 22.10 is added in the
charmcraft.yaml
Change-Id: Icfaba3c1684e2a92bc502d03d940147f419d1b80
* Update charm-ceilometer from branch 'master'
to 118f10a7077ce87723240dbb1378cbbc661f1119
- Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml
Change-Id: I785cad8d470af5560ba2eb0616622d454e9d1c1b
* Update charm-ceilometer from branch 'master'
to b0b0c017a1a863c21632888509399268b2d62d3c
- charm-helpers-sync for release
Change-Id: I9dcb5ec669ead7f7bb56752b7789a60c90b38dbf
* Update charm-ceilometer from branch 'master'
to 9be9a1ab586d51c99f043e2ee58aca4ad2894714
- Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
target.
- ensure that the openstack-origin is yoga
Change-Id: Ibcb6a078314c0bd92a0d45d31cd2adaf60b8b68d
* Update charm-ceilometer from branch 'master'
to 26dd49b79db6a04d800ecd0b4c0319364426d8ca
- Update to classic charms to build using charmcraft in CI
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests. This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.
Change-Id: I9560c8801640e3629dc21716f2e0e4534f5a330e
* Update charm-ceilometer from branch 'master'
to 0b067893a859d1085f26c8ff88e6b2d26a72d527
- Fix syntax error in the juju-run command
This change fixes the syntax of juju-run command in the README file.
The command requires a <unit> parameter to work, otherwise it fails
with the error "no unit specified".
Change-Id: I2045fb2437a2d29c01fe14c1b9a3cf59fd1444c2
* Update charm-ceilometer from branch 'master'
to dc22f20319a2ac0c6b623d26fcba85ea7c92511a
- Use unittest.mock instead of mock
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: I27ccd34f2337533b217d8c6f817a6d5a14e47abb
* Update charm-ceilometer from branch 'master'
to f046895cdb0f8193e9374ef1a8aeb43a7c7b19a0
- Revert "Add meter-sink as an option"
This reverts commit 6ed691807de73b49f057a813b11ebb67bb517782.
The meter_sink is actually required in pipeline.yaml and not in
event_pipline.yaml, and this is something that needs to be enabled
for newton and above as the ceilometer-collector is not the
dependancy for this.
Change-Id: Ie40a99281f1f60de7a409e1e3a2025a850a8a446
* Update charm-ceilometer from branch 'master'
to f4d772e6a3af21d7917aec60e8ab8b93eaba3688
- Enable pipeline_yaml for mitaka and above
This configuration for pipeline.yaml is still valid for mitaka and
above, so adding this in.
The ceilometer-collector package is not available in newer openstack
releases, so basing this on QUEENS_SERVICES.
This should solve the custom requirement of pipeline moving forward.
Other fixes:
* Update test-requirements.txt for cffi and related pins.
* Update focal-xena bundle to fix memcached series bionic requirement.
Closes-Bug: 1938807
Change-Id: I1946b6f172cdae6f444d07999d5e54d4e11a450e
* Update charm-ceilometer from branch 'master'
to 6ed691807de73b49f057a813b11ebb67bb517782
- Add meter-sink as an option
If the user wants to add a meter-sink to the pipeline.yaml
at the moment this cannot be done. Previously, pipeline-yaml
config option was allowed and could replace the whole config.
This will now allow to also add meter-sink as an option to
the event_pipeline.yaml, and allow a new source of collecting
all meters, and pushing to the value of meter-sink URLs.
Closes-Bug: 1938807
Change-Id: If6cd82e4153b29c1d8fdb6df150d0d4bb11d4e49
* Update charm-ceilometer from branch 'master'
to b98af6c3242bf972761e5f842fbc9c10594e5ced
- c-h sync - restore proxy env vars for add-apt-repository
Change-Id: I1300ef630b538400e3211b3fe1bd3c731d4f0c26
* Update charm-ceilometer from branch 'master'
to 4c8670c598ab34cfc508c1b3b4b8608da8238640
- Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby supporto.
hisute-wallaby test is disabled (moved to dev) due to [1] as bundle may
reference a reactive charm.
[1] https://github.com/juju-solutions/layer-basic/issues/194
Sync charm-helpers for wallable identifiers
Change-Id: I1369b5eaf4efd18043e665d5fc5bd2f21e567970
* Update charm-ceilometer from branch 'master'
to 6a9607864840696307905183ce824ac75d470036
- Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.
Change-Id: I38f603abe72625797824035dd1413685f1407f22
* Update charm-ceilometer from branch 'master'
to b662ee0db038614717adaebd77b1ce0201de2f7f
- 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms. This sync is to
add just that key. See also [1]
Note that this sync is only for classic charms.
[1] https://github.com/juju/charm-helpers/pull/598
Change-Id: If531cb2c089b55763a37be179d8afa23b57a5f09
* Update charm-ceilometer from branch 'master'
to 6c89d2625628430da870d72a9e45f09660e7dac8
- 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure stable/21.04 branch for charms.openstack
- ensure stable/21.04 branch for charm-helpers
Change-Id: I52bdd82cdbcd04f6ee773b8eb1a555d397e0ad4b
* Update charm-ceilometer from branch 'master'
to df30cfc048db08439ada33d0446e947b9b4878da
- Update worker-multiplier config description
Based on the change in charm-helpers:
https://github.com/juju/charm-helpers/pull/553
Related-Bug: #1843011
Change-Id: I7c09445b79ac7073f90f10032b90751df23ab47e
* Update charm-ceilometer from branch 'master'
to 29189c92e1d665a81f6022fad956591628c0e98a
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I1bba556eebc3081e890989507b0ccfe6f029c3a6
* Update charm-ceilometer from branch 'master'
to 5ff31b10a24f800a3e582721b388eeac5211fffc
- Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).
Change-Id: Ia68a287eabffa14e5675e1895bfe54fddc2615e0
* Update charm-ceilometer from branch 'master'
to 397d315af7d3e9aedce95610aca5f1eb8d77cbd2
- Hotfix charmhelpers sync for local_address() fix
The network-get --primary-address juju-info fails on pre-2.8.?
versions of juju. This results in a NoNetworkBinding error.
Fallback to unit_get() if that occurs for local_address().
Change-Id: Id064f767cb896e55c6b59f47ff2f22b09e7eee1e
* Update charm-ceilometer from branch 'master'
to 0ec32019a3eaa3bfdaedd1720ecc5a842d01fcfb
- Merge "Updates for testing period for 20.01 release"
- Updates for testing period for 20.01 release
Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure master branch for charms.openstack
- ensure master branch for charm-helpers
Change-Id: I4d65722bfe40232242ba089c7af8c08c57027246
* Update charm-ceilometer from branch 'master'
to ee1b288211bec003d5bfed5510581ab5328476b6
- Merge "Updates for testing period for 20.01 release"
- Updates for testing period for 20.01 release
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure master branch for charms.openstack
- ensure master branch for charm-helpers
Change-Id: I0ce0530830ed69a2d513973a319961c212467918
* Update charm-ceilometer from branch 'master'
to 0568c8e19e5c786aa23ce7a136b8bfddfcef3132
- Remove Disco and Eoan bits
Change-Id: Ie944d919dd7a2595454b72836657210f6477b3ed
* Update charm-ceilometer from branch 'master'
- Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527
Change-Id: I0606b71e4949cde51317622e26f4651e1a60c48f
* Update charm-ceilometer from branch 'master'
- Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard
Change-Id: I824d11bea90e2db8ffba9bfeb22137f150da1c63
* Update charm-ceilometer from branch 'master'
- Merge "Add polling-batch-size config option"
- Add polling-batch-size config option
Samples collected can be batched together,
consequently increasing or reducing the
amount of API calls and body data
sent to the configured publisher.
This config is available since Rocky,
adding the config option to allow its
tuning.
Change-Id: I0e3f756aa0305d3a96e21c7498d6a56208c51007
Closes-bug: #1885190
* Update charm-ceilometer from branch 'master'
- Fix restart when endpoint notification is received
Restarts were configured only when the ceilometer agent endpoint
had changed and only alarm services were triggered to be restarted.
This change adds a check for the gnocchi service having changed
too and restarts all services to be on the safe side.
Closes-Bug: #1867924
Change-Id: I48e2f079e2db640d485bc74bfc2cedfd7e82ac84