With I57047682cfa82ba6ca4affff54fab5216e9ba51c Heat has added
a new template version for wallaby. This would allow us to use
2-argument variant of the ``if`` function that would allow for
e.g. conditional definition of resource properties and help
cleanup templates. If only two arguments are passed to ``if``
function, the entire enclosing item is removed when the condition
is false.
Change-Id: I25f981b60c6a66b39919adc38c02a051b6c51269
- manila::backend::cephfsnative::ceph_client_key was initially
used by tripleo::pacemaker::manila class to define Ceph keyring
for manila user. During Ocata release this class was adjusted
to integrate TripleO with ceph-ansible (change:
I2b5567a39ac8737e80758b705818cc1807dc8bf1) and
manila::backend::cephfs::ceph_client_key parameter was removed
from puppet-tripleo.
For some reason, artifact definition was not removed from THT
and was renamed to manila::backend::cephfs::ceph_client_key
(change: Ib408c7827e5fba0c1b01388db26363806fc64370). At this
point this parameter looks meaningless.
Partial-Bug: #1916386
Change-Id: Id4fa40a046037a90a72ac1ed1a7e77bd5a636e32
This was mainly there as an legacy interface which was
for internal use. Now that we pull the passwords from
the existing environment and don't use it, we can drop
this.
Reduces a number of heat resources.
Change-Id: If83d0f3d72a229d737a45b2fd37507dc11a04649
Default CephAnsibleSkipClient to True and CephConfigPath to
/var/lib/tripleo-config/ceph (instead of /etc/ceph) and set
these paramters explicitly in scenario00{1,4}. This will
result in all Ceph client configuration being done not by
ceph-ansible but by the new tripleo-ceph-client role from
tripleo-ansible.
Add the CephClient service to all Controller* roles which will
use Ceph. The service could have always been there as there are
Ceph clients on the these controllers, but it was not because
ceph-ansible configured clients as a side effect. With new
CephConfigPath default they no longer overlap so the service
is required.
Add support for CephExternalMultiConfig via tripleo-ceph-client
by looping on the contents of the CephExternalMultiConfig list
and passing each map as the dcn variable while including the
tripleo-ceph-client role each time.
Related-Bug: #1708302
Depends-On: I938ab604859fda88f3491399444841a3a373d162
Change-Id: I784e6a476752ed701192b3a0155c42edd4836d97
This change introduces a new CephConfigPath parameter that can be used
by all the OpenStack clients when looking for Ceph client related info
(ceph.conf and keyrings).
By overriding this parameter we can make the containers able to pull
data from different path than /etc/ceph wich was hardcoded.
On top of this change, a new bool is added to prevent the ceph-ansible
client role being executed.
When this boolean is true, the 'ceph_client' tag is added to the list
of tags that should be skipped in ceph-ansible.
By doing this, ceph-ansible won't run the client role [1] and the new,
tripleo_ceph_client role is imported and executed.
[1] https://github.com/ceph/ceph-ansible/blob/master/site-container.yml.sample#L269
Depends-On: Iaabb66cd26f0246defe391a4e34f4eab3c3c5fee
Depends-On: Ia60bc6d5d1a04bd560f2fcb05a4b64078015ae9d
Change-Id: I36673367411cc8d68ffb9ec4a2fbff64ebf12f29
The CephX keys secret is expected to have a specific format, this
adds a constraint in the templates to ensure it has the correct
format.
Change-Id: Ic12c3c287a921d696de1395bc887691c48146359
Closes-Bug: 1864185
This is necessary to configure the Manila CephFS backend
correctly when user customizes the CephFS pool name.
Change-Id: Ie7ac4567b5d6d10df558b15927bfc2f9ba6cdfe0
Depends-On: I3adaa442b8c53ff902761d1dba283a79494c8ae6
Closes-Bug: 1837099