* Update charm-ceilometer-agent from branch 'master'
to 77a24541e3ebe72a1a6489b673c6f1dcb54020b0
- Updates for caracal tox.ini
Update the tox.ini file(s) to use the constraints file from
zaza-openstack-tests.
Change-Id: I24bfd1286978ffee084f9488062340a44cce4b2c
* Update charm-ceilometer-agent from branch 'master'
to ec3696f293fc94b85435e4ba7ca9aa62d9216b62
- 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: I8207aceaa1426be6d736819e88e34702a4125fe7
* Update charm-ceilometer-agent from branch 'master'
to 30dc3dc647ed61de3354c9950ecb9c32fca4c866
- 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: I7116d1232d19996e39665f5e6f15dae7b8e74118
* Update charm-ceilometer-agent from branch 'master'
to 189316a7c2be13dddd3b38f919f339f716df6624
- 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: Iac7161c1fe9e62286bf59daffbbe2c92e2dcce8e
* Update charm-ceilometer-agent from branch 'master'
to b92515f4b192c6b9bc0d2866079c759a4aef9ab1
- 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: I45bf4ef2d0fc1323132804c7a89cc42a768d18a8
* Update charm-ceilometer-agent from branch 'master'
to 9bf04a85178b407ea56aec5683185d5e3e594802
- Handle openstack comparison after the z-wrap
CompareOpenStackReleases is used to handle openstack comparison
after the z-wrap, now that we are at antelope.
Change-Id: I31254f50d9befdfc3a54c2ee305cb06e7d19cce3
* Update charm-ceilometer-agent from branch 'master'
to 6bab734ab65dc1e59a95f43bcccae2c5e4cffc72
- 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: If1982cf023556b54837d01411cb6602633ac4cdd
* Update charm-ceilometer-agent from branch 'master'
to ae164bf54288198acc54bf50c8d4f0407960b99f
- 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: I34ae94970fc5cfd242df5184fba09b611874ee71
* Update charm-ceilometer-agent from branch 'master'
to 7195f3cda2690f5981fcc27237f2e937cc68c201
- 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.
Change-Id: Ia9a713625aa933fe99722df36f42a800af19c790
* Update charm-ceilometer-agent from branch 'master'
to 27f115a13a6dc90028649c676edd137b84d1c714
- Add *.charm to gitignore
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.
Change-Id: I1c5261654ad1c7a2fd4eedeae38be104e3fd16a4
* Update charm-ceilometer-agent from branch 'master'
to 4df5c728c581fc15660c97c0819af5584e05a272
- 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: I76cc7c4c782d60f3558df6b9f96c513eff16331b
* Update charm-ceilometer-agent from branch 'master'
to 43a23127949e035506b89afd6fb01b5cfec04b63
- Remove pause/resume logic
This is a subordinate charm and since a recent
commit [1] it shares a list of its services with
the principal charm nova-compute, which has now
the responsibility to pause and resume services. [2]
The ceilometer-agent-compute service has a
dependency to the nova-compute service anyway, so
it is impossible for this charm to resume its
service if its principal charm nova-compute is
paused. This is what also led to errors in
ceilometer-agent's post-series-upgrade hook. This
hook attempted to resume its service although
the principal service was still paused. Removing
this logic entirely solves this issue.
Validated by running openstack-upgrade and
series-upgrade tests. [3]
[1]: https://opendev.org/openstack/charm-ceilometer-agent/commit/be45f779
[2]: https://opendev.org/openstack/charm-nova-compute/commit/8fb37dc0
[3]: https://github.com/openstack-charmers/charmed-openstack-tester
Closes-Bug: #1952882
Change-Id: Ia22b53b52b541250f7f803c6708968d75e64475c
* Update charm-ceilometer-agent from branch 'master'
to d6a3078145bab63c9e29e357abc5897c0e9e52a0
- Merge "Publish releases packages map to principal charm"
- Publish releases packages map to principal charm
For principal - subordinate plugin type relations where the
principal Python payload imports code from packages managed by a
subordinate, upgrades can be problematic.
This change will allow a subordinate charm that have opted into the
feature to inform its principal about all implemented release -
packages combinations ahead of time. With this information in place
the principal can do the upgrade in one operation without risk of
charm relation RPC type processing at a critical moment.
This is similar to
https://review.opendev.org/c/openstack/charm-interface-keystone-domain-backend/+/781658https://review.opendev.org/c/openstack/charm-layer-openstack/+/781624
Change-Id: Ibd5bdcb141fc3103ee97123ff284fb2957802eba
Closes-Bug: #1927277
* Update charm-ceilometer-agent from branch 'master'
to 69e183990a843f35f2cf0cbe0d01e215f18d5bdb
- Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39
Change-Id: If4892692cda73dacc3b9b430cdaf9c82f814b64a
* Update charm-ceilometer-agent from branch 'master'
to 5a333004c390e539100ff79e758433b727a03d5d
- Increase nova-cloud-controller RAM in func tests
Recent test run(s) have shown memory exhaustion on the nova
cloud controller units. This exhibits itself as the controller
dropping messages from the compute nodes and logging messages like:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/oslo_service/threadgroup.py", line 268, in _perform_action_on_threads
File "/usr/lib/python3/dist-packages/oslo_service/threadgroup.py", line 342, in <lambda>
lambda x: x.wait(),
File "/usr/lib/python3/dist-packages/oslo_service/threadgroup.py", line 61, in wait
return self.thread.wait()
File "/usr/lib/python3/dist-packages/eventlet/greenthread.py", line 180, in wait
return self._exit_event.wait()
File "/usr/lib/python3/dist-packages/eventlet/event.py", line 125, in wait
result = hub.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 298, in switch
return self.greenlet.switch()
File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 350, in run
self.wait(sleep_time)
File "/usr/lib/python3/dist-packages/eventlet/hubs/poll.py", line 80, in wait
presult = self.do_poll(seconds)
File "/usr/lib/python3/dist-packages/eventlet/hubs/epolls.py", line 31, in do_poll
return self.poll.poll(seconds)
MemoryError
to the nova-conductor log.
It seems very likely this issue is specific to Bionic Stein so it
may be a little wasteful to have increased the memory allocation
for all the bundles but I think consistancy between the bundles is
more important.
Change-Id: I1ab3e8f0d71b06fe97fa4b6cdee138c294dca158
Co-authored-by: Liam Young <liam.young@canonical.com>
* Update charm-ceilometer-agent from branch 'master'
to c06971123e3eb6c6b8028daf76fe3bb10e66f939
- Merge "Remove do_openstack_upgrade()"
- Remove do_openstack_upgrade()
This is a subordinate charm and doesn't have an
openstack-origin config option.
Change-Id: Id10069c55e49926cf38439a9a3b0dbede7d1e994
* Update charm-ceilometer-agent from branch 'master'
to 1f106fb79807c1d0e0d5cdab0eaf14e09c7079e4
- Add impish to metadata.yaml
Change-Id: I4fb40bfe36de6d49f10604d31c58f0d5cb0ad174
* Update charm-ceilometer-agent from branch 'master'
to 9fd4ea0a39a9bf44dfd3563ea819a57c4eadd9ff
- Add configurability to polling.yaml.
The ceilometer compute agent uses the default polling.yaml
from the installed packages without the ability to configure its contents.
This change adds two configuration options: 'polling-interval' and
'enable-all-pollsters', borrowing from the implementation in
charm-ceilometer. We start off with a limited set of meters as before
and if these are not enough, the user can set 'enable-all-pollsters' to
'true' to collect all available 'Pollster' metrics as listed in the
documentation [1].
Verification:
I tested this change on a cluster built from the OpenStack base bundle
and the ceilometer and gnocchi charms. I confirmed that extra metrics
that originate from the Compute Agent pollster (e.g. disk.device.read.latency)
are available in gnocchi after setting 'enable-all-pollsters' to true.
[1] https://docs.openstack.org/ceilometer/latest/admin/telemetry-measurements.html
Closes-Bug: #1914442
Change-Id: I21c9a93e7dd91bced9365e44f3e6a5315976c3bb
* Update charm-ceilometer-agent from branch 'master'
to dd5f8e6bc2fb81859e0d5066570a7c89667c264a
- Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
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 charmhelpers.
Change-Id: Ie73cc2223e51b741272c32e4d4a9d4a21949e37c
* Update charm-ceilometer-agent from branch 'master'
to 4c9a29276c327d6b2f7873d027f30c95b0ad4612
- 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: I94ac02a2232aaffdbf3a6d2b3ef4fa64074cfa83
* Update charm-ceilometer-agent from branch 'master'
to 3c12a8dbba0dd09c639331ffe3480e978263979d
- 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: Ice7eb3dee63f319d2b534a72fd228853e3bad9bd
* Update charm-ceilometer-agent from branch 'master'
to ee300fed9966e98424ba440979acabe7a4110bc9
- 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: If8b18dd3488e2c84ef433fab0b144cfdbb65cd01
* Update charm-ceilometer-agent from branch 'master'
to 442e6580e7d8b7a575c6038a47e500572c56ebdf
- 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: Id3a5027d4165da8be59f37b9b9a96c34280c78ce
* Update charm-ceilometer-agent from branch 'master'
to 42caf01c6fdeb7cba26c2df4a66884b212a4153e
- 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-agent from branch 'master'
to 4f711cdf8fea0cebd707d57648f7fdf85470d697
- 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: I9a1ed8146233997cbad86a329e8a0067a6966b00
* Update charm-ceilometer-agent from branch 'master'
to a5988155833a7330c4031e3686f74ae7a054bdb4
- 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: I7e64344f01ebfea2f7d5c4c71053309b0956203a
* Update charm-ceilometer-agent from branch 'master'
to d9eb2bfb31b88bd55a0847a876169bd2cec9a2d2
- Remove Disco and Eoan bits
Change-Id: I659e29dc2529ba5472957395d9fb9a52c228e8da
* Update charm-ceilometer-agent from branch 'master'
- Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527
Change-Id: Id8722e745569e0bd7108b2a0e116fd22ea669e3d
* Update charm-ceilometer-agent 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: I602a2a9c241de5898f737aacec6f85390d0be4f7
* Update charm-ceilometer-agent from branch 'master'
- Receive polling-batch-size config
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,
receiving the value from ceilometer-charm
to allow its tuning.
Change-Id: I986073fdacd750cf96d662abf1d58844479c25ba
Closes-bug: #1885190
* Update charm-ceilometer-agent from branch 'master'
- Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.
Change-Id: Id5d596143ef3364b489c89ef1544d5e733f56179
* Update charm-ceilometer-agent from branch 'master'
- Merge "Add Victoria test bundles"
- Add Victoria test bundles
Change-Id: Ifc619c19d2f6ed41789c9d900915fcbcc5769367
* Update charm-ceilometer-agent from branch 'master'
- Merge "Use unittest.mock instead of mock"
- 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: Ibddd954daaf3cd008985ff27cd95dfe649476555
* Update charm-ceilometer-agent from branch 'master'
- Updates for 20.08 cycle start for groovy and libs
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms: also sync charms.ceph
- Reactive charms: trigger a rebuild
Change-Id: I9a36ed7bbe878f4649212e15b49c3b46a7875537
* Update charm-ceilometer-agent from branch 'master'
- Fix charm-ceilometer-agent test bundles
In trusty-mitaka the mongodb charm is currently broken due
to incompatibility with a client update. This change pins it
to the latest working version until the incompatibility problem
is addressed.
In xenial-ocata, we are adding gnocchi and its dependencies to
the bundle in order to properly run zaza tests.
This change is equivalent as https://review.opendev.org/739153
for the ceilometer charm.
Change-Id: I8fcabc659e6e4b8628ec394353164e021c2c0e20
* Update charm-ceilometer-agent from branch 'master'
- CH Sync for rabbit relation bug fix
Charmhelper sync to pick up the fix to the AMQP context.
Change-Id: I15f9bbe6972d51c61d62249ed0e4e732a988b3ac
Closes-Bug: #1796886