View Bazaar branches
Get this repository:
git clone https://git.launchpad.net/charm-helpers

Charm Helpers has 34 active reviews.

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/juju/charm-helpers.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 15 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 50 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 50 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 30 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 1 minute — see the log
Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 40 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 40 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 30 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 30 seconds — see the log

Branches

Name Last Modified Last Commit
master 2021-10-15 09:23:22 UTC
ceph: make ceph-common version checks optional (#644)

Author: James Page
Author Date: 2021-10-15 09:23:22 UTC

ceph: make ceph-common version checks optional (#644)

* ceph: make ceph-common version checks optional

Its possible that the ceph module will be used on units where
ceph-common is not installed in order to create requests to
send to the Ceph Broker (hosted by the ceph-mon charm).

Avoid any hard failures when checking the version and assume
and older version that nautilus is actually installed.

* version check ceph-common at point of use

Only version check the ceph-common package when its going to be
used - this avoids any issues when the ceph module is used on
units where this package is not installed, for example when
ceph pools are being requested via the ceph broker.

* Update test for runtime version checking

* Switch to using safe_load for yaml files

stable/21.10 2021-09-23 07:50:10 UTC
Added watermark_scale_factor tuning (#609)

Author: Brett
Author Date: 2021-09-23 07:50:10 UTC

Added watermark_scale_factor tuning (#609)

* Added watermark_scale_factor tuning

Adds a method for determining an appropriate vm.watermark_scale_factor
value for baremetal systems.

Implements: spec memory-fragmentation-tuning

* WIP: Added watermark_scale_factor tuning

- improving tests
- implemented suggested changes

* Changes based on feedback

* Working tests

* pep8 fixes

* py2.7 fixes

* py2.7 fixes

* watermark as const

* Reuse get_total_ram from core.host

Removed get_memtotal implementation and tests

* const WMARK_MAX

Co-authored-by: Brett Milford <brettmilford@gmail.com>

stable/21.04 2021-09-17 08:30:18 UTC
Merge pull request #640 from hemanthnakkina/lp1934129-stable/21.04

Author: Aurelien Lourot
Author Date: 2021-09-17 08:30:18 UTC

Merge pull request #640 from hemanthnakkina/lp1934129-stable/21.04

Add enable-fwaas to neutron api context

stable/21.01 2021-02-02 16:04:27 UTC
Add JUJU_DEPARTING_UNIT support (#563)

Author: Felipe Reyes
Author Date: 2021-02-02 16:04:27 UTC

Add JUJU_DEPARTING_UNIT support (#563)

Juju 2.8 introduced the new environment variable JUJU_DEPARTING_UNIT
which holds the name of the unit that's being removed, this allows
charm authors to remove the unit from the cluster during the execution
of the *-relation-departed hook.

https://discourse.charmhub.io/t/juju-2-8-0-release-notes/

stable/20.10 2020-11-21 17:14:14 UTC
update region_name on [placement] (#534) (#537)

Author: Rodrigo Barbieri
Author Date: 2020-11-21 17:14:14 UTC

update region_name on [placement] (#534) (#537)

The os_region_name option has been deprecated in Rocky [0]
and removed in Stein [1], therefore the template that is
used across all OpenStack releases needs to be updated to
include the region_name option, so nova-cloud-controller and
other charms consuming this template present both config
options to OpenStack, which will use the appropriate one
for the running release.

[0] https://github.com/openstack/nova/blob/master/releasenotes/notes/placement-via-ksa-02d87c87636912f8.yaml
[1] https://github.com/openstack/nova/blob/master/releasenotes/notes/remove-deprecated-placement-opts-aeffb090a2e94bdc.yaml

Related-bug: #1903210
(cherry picked from commit e7450c6e60129cad1754d4d0026582f4a10d0523)

tidy-long-lines-docstring-contrib-ceph 2020-08-06 13:14:02 UTC
contrib/ceph: Tidy up long lines and update docstring format

Author: Frode Nordahl
Author Date: 2020-07-28 16:30:41 UTC

contrib/ceph: Tidy up long lines and update docstring format

In preparing for updates to the ``Pool`` classes I am doing some
tidying up as a separate commit to avoid too much thrashing in the
commits that does the functional changes.

stable/20.08 2020-07-22 09:15:16 UTC
Clean-up around adding linux bridges to OVS bridges (#449)

Author: Aurelien Lourot
Author Date: 2020-07-22 09:15:16 UTC

Clean-up around adding linux bridges to OVS bridges (#449)

* Fix typo

* Mark OVS ports as managed by us

Before we used to mark only OVS interfaces

* add_ovsbridge_linuxbridge fixes

1. Fix missing 'ifup' on bionic.
2. Mark the OVS port also when upgrading the charm.

* Fix typos

* Use deprecate decorator

* Don't install ifupdown automatically

* Make dependency explicit

* Deprecate adding a linux bridge to an openvswitch bridge

* Minor improvements

* Make linter happy

* Raise on focal+

stable/20.05 2020-05-20 20:42:20 UTC
Add swift 2.25.0 version for ussuri (#473) (#475)

Author: Corey Bryant
Author Date: 2020-05-20 20:42:20 UTC

Add swift 2.25.0 version for ussuri (#473) (#475)

Also fixes unrelated pep8 failures that are surfacing.

Closes-Bug: 1879569
(cherry picked from commit 8a90d2cc3aa0ba170756bdc87b4499903ac86fe5)

dependabot/pip/psutil-5.6.6 2020-04-02 10:22:50 UTC
Bump psutil from 1.2.1 to 5.6.6

Author: dependabot[bot]
Author Date: 2020-04-02 10:22:50 UTC

Bump psutil from 1.2.1 to 5.6.6

Bumps [psutil](https://github.com/giampaolo/psutil) from 1.2.1 to 5.6.6.
- [Release notes](https://github.com/giampaolo/psutil/releases)
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-1.2.1...release-5.6.6)

Signed-off-by: dependabot[bot] <support@github.com>

stable/20.02 2020-02-04 09:11:17 UTC
Detect elementaryOS as Ubuntu to allow local testing (#426)

Author: Joseph Borg
Author Date: 2020-02-04 09:11:17 UTC

Detect elementaryOS as Ubuntu to allow local testing (#426)

joedborg-patch-1 2020-02-03 18:39:01 UTC
Add elementary to 100

Author: Joseph Borg
Author Date: 2020-02-03 18:39:01 UTC

Add elementary to 100

stable/19.10 2020-01-14 18:30:30 UTC
HostInfoContext: Fix retrieval of a hosts primary FQDN (#415) (#417)

Author: Frode Nordahl
Author Date: 2020-01-14 18:30:30 UTC

HostInfoContext: Fix retrieval of a hosts primary FQDN (#415) (#417)

* HostInfoContext: Fix retrieval of a hosts primary FQDN

The implementation of ``socket.getfqdn()`` in the standard Python
library does not exhaust all methods of getting the official name
of a host ref Python issue https://bugs.python.org/issue5004

Add a hint to the context based on local unit state for whether
fqdn should be used or not.

* HostInfoContext: use callback for charm controlled hint

Instead of forcing the charm authors hand as to how the
`use_fqdn_hint` is passed, provide a optional callback to let charm
author implement whichever way suits their charm.

mwilson/ceph-pool-dedup 2019-08-21 12:17:03 UTC
Removing deduplication on add_op_request_access_to_group

Author: Mike Wilson
Author Date: 2019-08-21 12:17:03 UTC

Removing deduplication on add_op_request_access_to_group

stable/19.07 2019-08-08 10:22:29 UTC
Add context with info about running host (#357)

Author: Liam Young
Author Date: 2019-08-08 10:22:29 UTC

Add context with info about running host (#357)

stable/19.04 2019-04-11 16:45:57 UTC
Re-enable pgrep_full (#309)

Author: David Ames
Author Date: 2019-04-11 16:45:57 UTC

Re-enable pgrep_full (#309)

pidof -x is not finding scripts run under python3 (like neutron-server).
pgrep -f has not problem finding them.

We had most of the plumbing already in place to use pgrep. It turns out
pidof is susceptible to the same problems pgrep does which led us to
change in the first place.

This change will fix a number of stein testing enrolment blockers.

arch-method 2019-03-11 11:50:14 UTC
Moving to factory and writing tests

Author: Joseph Borg
Author Date: 2019-03-11 11:50:14 UTC

Moving to factory and writing tests

johnsca/bug/272/charm-helpers-sync-migrations 2019-02-12 20:11:35 UTC
Handle migrated / moved packages in charm_helpers_sync

Author: Cory Johns
Author Date: 2019-02-12 20:05:51 UTC

Handle migrated / moved packages in charm_helpers_sync

Some legacy charms use `charm_helpers_sync.py` to vendor in portions of
the charmhelpers library, rather than installing the full package. The
recent move of `charmshelpers.contrib.python` to
`charmhelpers.fetch.python` was broken with sync, despite the import
aliases put into place to maintain backward compatibility. This should
resolve that by handling migrations automatically when syncing.

Fixes #276

johnsca/refactor/move-contrib-python-to-fetch 2019-02-04 16:20:13 UTC
Move contrib.python to fetch.python and add to docs

Author: Cory Johns
Author Date: 2019-02-04 16:20:13 UTC

Move contrib.python to fetch.python and add to docs

stable/18.11 2019-01-31 16:45:16 UTC
Separate certificates with lineseparator in bundles (#260) (#271)

Author: Frode Nordahl
Author Date: 2019-01-31 16:45:16 UTC

Separate certificates with lineseparator in bundles (#260) (#271)

Fixes LP: #1810910

(cherry picked from commit cb2c2282f900a6e198b3578610c6c5375ea83292)

docs-fixes 2018-09-11 19:54:52 UTC
Fix docs rendering on RTD

Author: Cory Johns
Author Date: 2018-09-11 19:45:52 UTC

Fix docs rendering on RTD

stable/18.08 2018-09-04 21:48:29 UTC
ensure max lenght of message in log func (#208)

Author: Yang Kelvin Liu
Author Date: 2018-09-04 21:48:29 UTC

ensure max lenght of message in log func (#208)

stable/18.05 2018-06-08 10:29:23 UTC
LP: #1748433 Ansible version changed from 2.0 to 2.5 and there is sev… (#181)

Author: Aymen Frikha
Author Date: 2018-06-08 10:29:23 UTC

LP: #1748433 Ansible version changed from 2.0 to 2.5 and there is sev… (#181)

* LP: #1748433 Ansible version changed from 2.0 to 2.5

There is several changes in newer version. The default config of remote_tmp changed from " $HOME/.ansible/tmp" to "~/.ansible/tmp". Also Juju does not expand correctly tild character.

Closes-bug: LP#1748433

fix-distributed-wait 2018-03-28 18:23:14 UTC
Use non_zero_wait to override modulo 0

Author: David Ames
Author Date: 2018-03-28 18:23:14 UTC

Use non_zero_wait to override modulo 0

Push the unit % modulo == 0 logic to modulo_distribution. In
distributed_wait check for leadership and return 0 if the leader
or call modulo_distribution with non_zero_wait=True.

bug/1757564 2018-03-21 23:12:53 UTC
Enable GRE conntrack in UFW

Author: David Ames
Author Date: 2018-03-21 22:52:30 UTC

Enable GRE conntrack in UFW

When using UFW on systems that also have GRE tunneling, GRE traffic
is marked INVALID unless nf_conntrack_proto_gre is loaded.

This change enables GRE connntrack when UFW is enabled if the unit is
not a container.

Closes-Bug: #1757564

stable/18.02 2018-03-06 12:18:59 UTC
Update get_ca to include identity-credentials (#124)

Author: David Ames
Author Date: 2018-03-06 12:18:59 UTC

Update get_ca to include identity-credentials (#124)

* Update get_ca to include identity-credentials

When using keystone generated SSL with the identity-credentials
relation get_ca was ignoring ca data. Check both identity-service and
identity-credentials.

* update unit test for get_ca

stable/17.11 2018-01-22 17:17:15 UTC
Misc stable fixes (#96)

Author: James Page
Author Date: 2018-01-22 17:17:15 UTC

Misc stable fixes (#96)

* Fix Swift package version check (#93)

Related-Bug: #1743847
(cherry picked from commit 395d849d3e44f7f58e0f95fccaedc695e835059b)

* Fix file permissions on config cache and unitdata (#94)

(cherry picked from commit 757c1b524f0766b00f9b07d9e6ac118e9f7ce3fa)

* Fix regression in NRPE haproxy check (#95)

These changes fix a regression in the haproxy NRPE checks when
gathering credentials for querying the admin haproxy endpoint,
to determine haproxy backend server health via the admin API.

(cherry picked from commit b2d968cd70a886aa8fee0c21bcd0b2f0501162a0)

* Make HAProxyContext network spaces aware (#92)

Use get_relation_ip in the HAProxy context. get_relation_ip is
IPv6, configuration and network spaces aware.

Partial-Bug: #1735421
(cherry picked from commit 416919061d1ff51d4f8910996856b13151270bf0)

* Support use of HAProxy context in dashboard charm (#98)

The Openstack Dashboard charm only has a public network binding,
which means the default HAProxy behaviour to inspect public,
internal and admin bindings breaks; support override of the
list of bindings to inspect during creation of the context.

(cherry picked from commit a69a671c457f1ca37dd3c26a7d20fd83a813f7cc)

v0.18.3 2017-11-29 15:42:16 UTC
Release: 0.18.3

Author: James Page
Author Date: 2017-11-29 15:42:16 UTC

Release: 0.18.3

127 of 27 results

Other repositories

Name Last Modified
lp:charm-helpers 8 hours ago
lp:~aym-frikha/charm-helpers 2018-05-13
lp:~mskalka/charm-helpers 2018-04-17
lp:~ec0/charm-helpers 2018-01-15
lp:~hloeung/charm-helpers 2017-11-04
15 of 5 results
You can't create new repositories for Charm Helpers.