charm-keystone/unit_tests
David Ames 7c065062d2 Ensure HTTPS configuration completes
There was a race where the https apache2 site,
openstack_https_frontend.conf, would be rendered in one hook, then
subsequently the config-changed hook would run and enable that site.
However, the subsequent config-changed hook would see the template as
having not changed and therefore it would fail to restart apache2.
This lead to apache2 failing to listen on the correct ports.

This was due to CONFIGS.write_all() being called but a2ensite not
being called. This change fixes this race and adds a call to
configure_https() to ensure the configuration completes and apache2
is restarted.

Change-Id: I229d25c707a0630c9d609fd20a962a0de2e42c77
Closes-Bug: #1723892
2017-11-08 22:21:42 +00:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-03 16:39:47 +00:00
test_actions.py Snap install OpenStack in Charms 2017-09-28 17:34:11 +00:00
test_actions_git_reinstall.py Snap install OpenStack in Charms 2017-09-28 17:34:11 +00:00
test_actions_openstack_upgrade.py Snap install OpenStack in Charms 2017-09-28 17:34:11 +00:00
test_keystone_contexts.py Make ssl_ca optional if ssl_cert+ssl_key provided 2017-11-01 10:28:10 +00:00
test_keystone_hooks.py Ensure HTTPS configuration completes 2017-11-08 22:21:42 +00:00
test_keystone_utils.py Add memcache backend 2017-10-17 11:10:48 +00:00
test_utils.py Fix dangling file open() commands with no corresponding close 2017-08-18 10:40:26 +01:00