Juju Charm - Designate
Go to file
Alex Kavanagh 1ef3522f86 Do less work in the update-status hook
This patchset, along with the corresponding ones in charms.openstack
and interface-hacluster reduce the amount of work that the charm does
during an update-status hook.  This also fixes the issue where an
update-status hook triggered activity in the hacluster subordinate due
to data being set on the interface.  There is still work to be done in
this area, as the configs for the charm are still being written on every
update-status hook, although this doesn't result in a restart of any of
the services.  This probably requires a re-think of how the
charm-helpers function runs; patch to charm-helpers coming up soon.

This also fixes bug 1712973 where the update-pools command with empty
pools errors causing the charm to error out and fail.  This is
undesirable, so this condition is caught and logged instead.

Change-Id: I6db68a479dc903ce620ba62c1898247f71d14701
Depends-On: I3717387d1d8d2ab875d51f262efd1df7f2529689
Depends-On: I750f3c41a2f0447a47cfd19bab1d4958de4577f2
Closes-Bug: #1708396
Closes-Bug: #1712973
2017-08-31 10:28:58 +01:00
src Do less work in the update-status hook 2017-08-31 10:28:58 +01:00
unit_tests Do less work in the update-status hook 2017-08-31 10:28:58 +01:00
.gitignore Delete *.pyc files from repo and add ignore to .gitignore 2016-08-26 10:34:07 +00:00
.gitreview Add .gitreview and clean up repo 2016-07-22 12:01:10 +00:00
.testr.conf Unit tests and lint fixes 2016-07-07 09:36:22 +01:00
LICENSE Add License info 2016-07-13 14:02:28 +00:00
README.md Add .gitreview and clean up repo 2016-07-22 12:01:10 +00:00
rebuild Rebuild for IPv4/IPv6 Dualstack changes 2017-08-22 13:20:01 -07:00
requirements.txt Render configs always needs the cluster relation 2016-07-27 15:24:14 +00:00
test-requirements.txt Add .gitreview and clean up repo 2016-07-22 12:01:10 +00:00
tox.ini Update tox.ini for py27 requirement 2016-11-28 18:21:06 -06:00

README.md

Overview

This is a "source" charm, which is intended to be strictly the top layer of a built charm. This structure declares that any included layer assets are not intended to be consumed as a layer from a functional or design standpoint.

Test and Build

Building, pushing and publishing to the charm store is automated by CI to ensure consistent flow. Manually building is useful for development and testing, however.

tox -e pep8
tox -e py34  # or py27 or py35
tox -e build

Contact Information

Freenode IRC: #openstack-charms