charm-helpers:stable/yoga

Last commit made on 2024-07-29
Get this branch:
git clone -b stable/yoga https://git.launchpad.net/charm-helpers

Branch merges

Branch information

Name:
stable/yoga
Repository:
lp:charm-helpers

Recent commits

8ccc3f3... by Felipe Reyes

Merge pull request #909 from juju/add-mysql-passwd-helper--yoga

[yoga] Add MySQL password setter that uses existing connection

953ca6d... by Alex Kavanagh

Add MySQL password setter that uses existing connection

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.

(cherry picked from commit 61ecb2eb7387e9d7603b149447441e07b6dca920)

1da7b97... by Alex Kavanagh <email address hidden>

Merge pull request #902 from MylesJP/stable/yoga

[stable/yoga] Add support for keystone audit middleware

e75a7a3... by Myles Penner

Add support for keystone audit middleware

Created a context for enabling keystone audit middleware as per https://bugs.launchpad.net/charm-helpers/+bug/1856555 along with two unit tests.

(cherry picked from commit 12afd333aab69461186fe43316f200ca8b167e89)

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

Merge pull request #898 from dosaboy/bug/1920770-yoga

Support checking service ports with ssl connection

e9dfd06... by Edward Hope-Morley

Support checking service ports with ssl connection

By default netcat is used to check if a service is
listening on a port. This is generally ok except
for services expecting SSL connections which need
to be properly closed and netcat can't do that. So
here we add support for optionally using the python
ssl library to create an ssl connection to the port
and close it properly once finished.

Related-Bug: #1920770
(cherry picked from commit 0071e273720d65aca00b49fbde99c3b3ed1d0385)
(cherry picked from commit f9912337783aec2a974bb6a3d49e4ed717d0c521)
(cherry picked from commit 4a65a1b74375eb114e22d743da18c96490db22cb)
(cherry picked from commit 2869ac5b396fc502288585cb83af7e55a18d7d5c)

91ec859... by Brian Haley

Skip service_enable if already enabled (#887)

Repeatedly calling service_enable for a service that
is already enabled can lead to unintended consequences.
Some charms frequently call servie_resume which will
call service('enable') and this adds a check to only
do so of the service is not enabled.

Related-Bug: #2058505
(cherry picked from commit a3345005e597f098909b7c12dfee630a366ce0f6)

Co-authored-by: Edward Hope-Morley <email address hidden>

4669229... by Rodrigo Barbieri

Set service_user_id from keystone relation (#894)

This is necessary so we can avoid ambiguities (by using the id vs
name) when we want to use the service user.

(cherry picked from commit f7e65d27b1f93fe00bca13ed3ce741dce3eb9101)
(cherry picked from commit 2320efdf793de0cea35fcedd531096e051e970a2)
(cherry picked from commit 7e325def4558c8aea05a215062bd3b8dda7c518f)
(cherry picked from commit 57331d41f3cb1fdc8edabd8813e39c009d5229a2)

Co-authored-by: Erlon R. Cruz <email address hidden>

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

Merge pull request #853 from coreycb/bug/2037751/yoga

Drop @cached decorator from openstack_release()

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

Merge pull request #846 from rodrigogansobarbieri/yoga_send_app_name

[stable/yoga] Add name parameter to send_application_name