charms.openstack/charms_openstack/charm
Alex Kavanagh 03ba9967c3 Ensure ordering of cluster hosts is consistent for same data
Python dictionaries don't have the order of their keys guaranteed, and
so when they are used to write config files, the order of the entries
may change. This can cause a restart of a dependent service.  Due to the
way that reactive invokes all 'true condition' handlers for every hook
invocation, this means that services might restart for every single hook
including 'update-status'.

This patch attempts to address that issue.

Related Bug: #1698814

Change-Id: Ic6c1d3d103a25b15ea202638c21213aea11cd3da
2017-07-18 15:50:13 +01:00
..
__init__.py Refactor of charm.py -> charm/*.py and tests 2017-05-19 18:21:09 +01:00
classes.py Ensure ordering of cluster hosts is consistent for same data 2017-07-18 15:50:13 +01:00
core.py Refactor of charm.py -> charm/*.py and tests 2017-05-19 18:21:09 +01:00
defaults.py Refactor of charm.py -> charm/*.py and tests 2017-05-19 18:21:09 +01:00
utils.py Refactor of charm.py -> charm/*.py and tests 2017-05-19 18:21:09 +01:00