charm-helpers:stable/zed

Last commit made on 2024-04-22
Get this branch:
git clone -b stable/zed https://git.launchpad.net/charm-helpers

Branch merges

Branch information

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

Recent commits

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

Merge pull request #897 from dosaboy/bug/1920770-zed

Support checking service ports with ssl connection

2869ac5... 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)

ee21759... by Brian Haley

Skip service_enable if already enabled (#886)

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>

9826d02... by Frode Nordahl

Merge pull request #890 from brianphaley/zed-backport-defer

Issue#743: fetch.ubuntu._run_with_retries raises on unexpected exitco…

95a9ddd... by Adam Dyess

Issue#743: fetch.ubuntu._run_with_retries raises on unexpected exitcode (#744)

* Issue#743: fetch.ubuntu._run_with_retries raises on unexpected exitcode

* Address `test_check_restart_timestamps` issues in py3.10

* apply appropriate mocks during test_service unit tests

(cherry picked from commit 0f7ca5396edd6a932aada59385b90bd95739b30c)

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

Merge pull request #889 from rodrigogansobarbieri/zed_fix-image-volume-ambiguous-configuration

[Zed] Set service_user_id from keystone relation

57331d4... by Erlon R. Cruz

Set service_user_id from keystone relation

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)

55d7711... by Alex Kavanagh <email address hidden>

Merge pull request #852 from coreycb/bug/2037751/zed

Drop @cached decorator from openstack_release()

40e0036... by Alex Kavanagh <email address hidden>

Merge pull request #845 from rodrigogansobarbieri/zed_send_app_name

[stable/zed] Add name parameter to send_application_name

66fbf9b... by Felipe Reyes

Merge pull request #868 from coreycb/swift-version-zed

Drop use of get_os_version_codename_swift [zed backport]