charm-helpers:master

Last commit made on 2023-05-11
Get this branch:
git clone -b master https://git.launchpad.net/charm-helpers

Branch merges

Branch information

Name:
master
Repository:
lp:charm-helpers

Recent commits

59f134b... by Samuel Walladge

Update Makefile to be consistent with CI (#777)

Also remove python3.5 from the CI build,
because that is no longer supported in charm-helpers,
and use a supported runs-on ubuntu version for github CI.

b2c089c... by Chris MacNaughton

Rotate the request_id on CephBrokerReq with operation changes (#715)

* Rotate the request_id on CephBrokerReq with operation changes

When the operations requested change, the request_id must
change as well, kor ceph-mon will not process the newly
added operations.

Closes #714

9f4971c... by Giuseppe Petralia

Pass no_proxy env when curling an apt key. (#735)

* Pass no_proxy env when curling an apt key.
* Update fetch ubuntu tests to include NO_PROXY in get_env

Closes-bug: 734

6064a34... by Liam Young

Update method for checking endpoint protocol (#769)

Update method for checking endpoint protocol

The `https` method is used to check if an endpoint is expected to
be http or https. One of the checks it performs is to examine the
the certificates relation. If the relation is present then it looks
for the existance of a CA. However the OpenStack charms do not
switch to https until a certificate is provided via the certificates
relation. This means there can be a disconnect if the
certificate provider has provided a CA but has not yet provided
the unit specific certificates. If this happens then the payload
will still be using http but the `https` method will return True.

This patch updates the `https` method to return False if an unfilled
certificate request exists.

6ae6d7a... by Corey Bryant

Fix openstack release comparison wrap (#768)

Fix OpenStack release comparison wrap in os_requires_version()
to ensure, for example, that 'antelope' is > 'zed'.

b9444c2... by Alex Kavanagh <email address hidden>

Add MySQL password setter that uses existing connection (#765)

This modifies the existing method `set_mysql_password` and splits it
into the original and a 2nd part called
`set_mysql_password_using_current_connection`. This allows a root
connection to be set up and then the password for any user to to be
updated, so that a mysql instance charm can update the password.

a7482db... by Billy Olsen <email address hidden>

Merge pull request #760 from coreycb/deferred-events

Ensure deferred events limited to current charm

8f75b24... by Corey Bryant

Add unit test updates for deferred_events()

7e8ee36... by Billy Olsen <email address hidden>

Merge pull request #757 from drencrom/keystone_authtoken_fix

Add service token parameters to last authtoken template

801b913... by Corey Bryant

Ensure deferred events limited to current charm

The deferred_events() function was returning all deferred events
on the machine, regardless of whether they were deferred for the
current charm or not. This changes limits the returned events to
those that correspond to the current charm.

Closes-Bug: #2011927