Don't ensure pki permissions for releases <= Pike
Openstack PKI token support was dropped in the Pike release. The following update ensures that PKI token validation is only run if the release is supported when the sync leader broadcasts any service credentials to its peers. In this case; if the release is <= pike. then we can sync token certs and ensure the pki permissions are valid. Otherwise this action will be skipped. Closes-Bug: 1759403 Change-Id: I3d8ba6d3cac3a3505a3722a5082c3a6933a9ef67
Showing
- charmhelpers/contrib/hahelpers/apache.py 2 additions, 1 deletioncharmhelpers/contrib/hahelpers/apache.py
- charmhelpers/contrib/hahelpers/cluster.py 11 additions, 3 deletionscharmhelpers/contrib/hahelpers/cluster.py
- charmhelpers/contrib/openstack/amulet/deployment.py 5 additions, 5 deletionscharmhelpers/contrib/openstack/amulet/deployment.py
- charmhelpers/contrib/openstack/amulet/utils.py 200 additions, 25 deletionscharmhelpers/contrib/openstack/amulet/utils.py
- charmhelpers/contrib/openstack/context.py 1 addition, 0 deletionscharmhelpers/contrib/openstack/context.py
- charmhelpers/contrib/openstack/utils.py 1 addition, 1 deletioncharmhelpers/contrib/openstack/utils.py
- charmhelpers/contrib/storage/linux/lvm.py 29 additions, 0 deletionscharmhelpers/contrib/storage/linux/lvm.py
- charmhelpers/core/hookenv.py 67 additions, 19 deletionscharmhelpers/core/hookenv.py
- charmhelpers/core/host.py 9 additions, 2 deletionscharmhelpers/core/host.py
- charmhelpers/core/services/base.py 15 additions, 6 deletionscharmhelpers/core/services/base.py
- hooks/keystone_utils.py 4 additions, 2 deletionshooks/keystone_utils.py
- tests/charmhelpers/contrib/openstack/amulet/deployment.py 5 additions, 5 deletionstests/charmhelpers/contrib/openstack/amulet/deployment.py
- tests/charmhelpers/contrib/openstack/amulet/utils.py 200 additions, 25 deletionstests/charmhelpers/contrib/openstack/amulet/utils.py
- tests/charmhelpers/core/hookenv.py 67 additions, 19 deletionstests/charmhelpers/core/hookenv.py
- tests/charmhelpers/core/host.py 9 additions, 2 deletionstests/charmhelpers/core/host.py
- tests/charmhelpers/core/services/base.py 15 additions, 6 deletionstests/charmhelpers/core/services/base.py
Loading
Please register or sign in to comment