charm-helpers:v0.18.3

Last commit made on 2017-11-29
Get this branch:
git clone -b v0.18.3 https://git.launchpad.net/charm-helpers

Branch merges

Branch information

Name:
v0.18.3
Repository:
lp:charm-helpers

Recent commits

b3d641d... by James Page

Release: 0.18.3

3b2a41f... by James Page

py3: encode content in write_file (#60)

Ensure content is encoded prior to writing to binary opened
file.

7480fef... by David Ames

Honor AMULET_SETUP_TIMEOUT (#59)

* Honor AMULET_SETUP_TIMEOUT

_auto_wait_for_status was overriding AMULET_SETUP_TIMEOUT which is set
in tox.ini. The various amulet.sentry calls rely on
AMULET_SETUP_TIMEOUT.

This change ensures _auto_wait_for_status honors AMULET_SETUP_TIMEOUT
while also handling situations where AMULET_SETUP_TIMEOUT is unset.

* Make timeout values explicit

76fbf52... by Chris MacNaughton

SSL File writing should use byte mode (#58)

Closes #57

a905d10... by Ryan Beisner <email address hidden>

Add queens to openstack amulet helpers (#55)

c800b60... by Corey Bryant

Add remaining series support for queens (#54)

9a8bfde... by Ryan Beisner <email address hidden>

Remove EOL comparison in get_expected_pools test helper (#52)

3f25f97... by Alex Kavanagh <email address hidden>

Change get_os_codename_package() to work with Py3 (#51)

This small changes just allows the above named function to be Py2 and
Py3 compatible.

e5c00ad... by David Ames

Properly wait for _auto_wait_for_status (#49)

* Properly wait for _auto_wait_for_status

After a config change in which the workload message already matches
what is expected, the units may not yet be idle or worse they are in
an error state and d.wait_for_messages will wait the full timeout
value.

Amulet provides three different checks d.wait checks for idleness,
d.wait_for_status checks for active workload status and
d.wait_for_messages confirms the workload message matches
expectations.

This change adds to the OS _auto_wait_for_status all of these in order
to ensure ready state before inspecting the environment. This change
should also avoid situations where a unit is in error state and amulet
waits the full timeout values before exiting.

Finally, add an _auto_wait_for_status to
keystone_configure_api_version to ensure it is ready to inspect
propagation and address Bug#1668954.

Partial-Bug: #1668954

797b2fc... by Alex Kavanagh <email address hidden>

Enable the repo: line for charm-helpers sync to take a branch (#48)

This change enables the repo line for a git sync to take a branch
in the form of:

repo: https://github.com/some-name/charm-helpers@branch-name

This is handy for testing, if making changes to charmhelpers and wanting
to sync those changes into the charm during development.