charm-helpers
charm-helpers copied to clipboard
I think [this if condition](https://github.com/juju/charm-helpers/blob/279e11315df3a005e6e838b670fd5b0be9dfe34f/charmhelpers/contrib/network/ip.py#L407) is not correct. I'm using the `ceph-osd` charm which fails the `mon-relation-changed` hook saying that there is no valid address. Here's the logs: ``` 2024-02-29...
Fixes https://github.com/juju/charm-helpers/issues/701: ``` Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/unit/test_content_cache.py:25: in from reactive import content_cache # NOQA: E402...
Hi, Seeing these warnings now: `.tox/unit/lib/python3.10/site-packages/charmhelpers/core/hookenv.py:21` ` /tmp/tmpfiles-hloeung/tmp/smtp-relay/.tox/unit/lib/python3.10/site-packages/charmhelpers/core/hookenv.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives`...
I ran make tests and they all pass. The DNS issue is not reported because I ran into it while testing my changes. This is my first time contributing to...
This issue was first filed against https://bugs.launchpad.net/charm-ovn-chassis/+bug/2048806, but as I investigated the details, that bug appears to likely be due to a bug in charmhelpers, hence I'm creating a new...
I would like to use 2 separate ceph clusters in one openstack deployment, so nova/cinder would be able to provision volumes from either cluster. This is surely possible in ceph:...
According to [1] OpenStack charms should support simplified openstack-origin value maching OpenStack release name, for example: 'ussuri' I tried that for cinder and glance charms and it seems not to...
This PR is in preparation to fulfil the audit middleware specification as documented in https://specs.openstack.org/openstack/charm-specs/specs/2023.1/backlog/audit-middleware.html First review for nova-cloud-controller charm https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/887213 Once this is merged, we can then do the...
https://bugs.launchpad.net/charm-helpers/+bug/1978902 Add certificate validation during the process to configure certificates for apache. The certificates are the values provided to the well-known charm config keys (ssl_ca, ssl_cert, ssl_key). This should catch...
Allow the rbd-mirroring-mode for a Ceph pool to be specified as 'none'. This allows a charm to be able to explicitly disable rbd mirroring when it knows it will be...