Chapter 4. Deploy the Shared File System Service with a CephFS Back End

Once you create /home/stack/templates/manila-cephfsnative-config.yaml, log in as the stack user on the undercloud. Then, deploy the Shared File System service with a CephFS back end by including the following environment files:

  • /usr/share/openstack-tripleo-heat-templates/environments/services/ceph-mds.yaml - enables the Ceph MDS, which is required by Shared File System service when using a CephFS back end.
  • /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml - deploys the Ceph cluster.
  • /home/stack/templates/manila-cephfsnative-config.yaml - created earlier in Chapter 3, Edit the Environment File, and contains any settings to override defaults set in /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml.

For example, if your OpenStack and Ceph settings are defined in /home/stack/templates/storage-environment.yaml, run:

$ openstack overcloud deploy --templates \
   -e /home/stack/templates/storage-environment.yaml \
   -e /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml \
   -e /usr/share/openstack-tripleo-heat-templates/environments/services/ceph-mds.yaml \
   -e /home/stack/templates/manila-cephfsnative-config.yaml \

If you passed any extra environment files when you created the overcloud, pass them again here by using the -e option to avoid making undesired changes to the overcloud. For more information, see Modifying the Overcloud Environment in the Director Installation and Usage guide.