Este conteúdo não está disponível no idioma selecionado.

Chapter 3. Edit the Environment File


The environment file contains the back end settings that you must configure. It also contains settings relevant to the deployment of the Shared File Systems service.

For more information about environment files, see Environment Files in the Advanced Overcloud Customization guide.

This release includes an integrated environment file to define a native CephFS back end, and it contains default settings used to deploy the Shared File Systems service. This file is located in the following location on the undercloud node:

/usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsnative-config.yaml

Procedure

  1. Create an environment file to contain the required environmental settings:

    ~/templates/manila-cephfsnative-config.yaml
    Copy to Clipboard Toggle word wrap

    The following code snippet shows the default values used by director when it deploys the Shared File Systems service:

./home/stack/templates/manila-cephfsnative-config.yaml
Copy to Clipboard Toggle word wrap
parameter_defaults: # 
1

  ManilaCephFSNativeBackendName: cephfsnative
  ManilaCephFSNativeDriverHandlesShareServers: false # 
2

  ManilaCephFSNativeCephFSConfPath: '/etc/ceph/ceph.conf' # 
3

  ManilaCephFSNativeCephFSAuthId: 'manila' # 
4

  ManilaCephFSNativeCephFSClusterName: 'ceph'
  ManilaCephFSNativeCephFSEnableSnapshots: true
Copy to Clipboard Toggle word wrap
1
The parameter_defaults header signifies the start of your configuration. Specifically, it allows you to override default values set in resource_registry. This includes values set by OS::Tripleo::Services::ManilaBackendCephFs, which sets defaults for a CephFS back end.
2
With ManilaCephFSNativeDriverHandlesShareServers set to false, the driver will not handle the lifecycle of the share server.
3
ManilaCephFSNativeCephFSConfPath: sets the path to the configuration file of the Ceph cluster.
4
ManilaCephFSNativeCephFSAuthId: is the Ceph auth ID that the director will create for share access.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat