Este contenido no está disponible en el idioma seleccionado.

14.4. Configure Basic Shared File System Service Settings


When manually installing the Shared File System service packages, the service's configuration file (namely, /etc/manila/manila.conf) will have no settings configured. You will need to manually uncomment/add and configure each setting as required.
The following code snippet is the basic configuration required for deploying the Shared File System service. You can copy its contents to /etc/manila/manila.conf, replacing the necessary variables when you do:
[DEFAULT]

osapi_share_listen=0.0.0.0
sql_connection=mysql://manila:MANILADBPASS@CONTROLLERIP/manila #  
api_paste_config=/etc/manila/api-paste.ini
state_path=/var/lib/manila
sql_idle_timeout=3600
storage_availability_zone=nova
rootwrap_config=/etc/manila/rootwrap.conf
auth_strategy=keystone
nova_catalog_info=compute:nova:publicURL
nova_catalog_admin_info=compute:nova:adminURL
nova_api_insecure=False
nova_admin_username=nova
nova_admin_password=NOVAADMINPASS # 
nova_admin_tenant_name=services
nova_admin_auth_url=http://localhost:5000/v2.0
network_api_class=manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin
debug=False
verbose=True
log_dir=/var/log/manila
use_syslog=False
rpc_backend=manila.openstack.common.rpc.impl_kombu
control_exchange=openstack
amqp_durable_queues=False

[oslo_messaging_rabbit]
rabbit_ha_queues=False
rabbit_userid=guest
rabbit_password=guest
rabbit_port=5672
rabbit_use_ssl=False
rabbit_virtual_host=/
rabbit_host=CONTROLLERIP # 
rabbit_hosts=CONTROLLERIP:5672 # 

[oslo_concurrency]
lock_path=/tmp/manila/manila_locks
Copy to Clipboard Toggle word wrap
Replace the following values:

1

MANILADBPASS is the database password of the Shared File System service, which you used in Section 14.5, “Create the Shared File System Service Database”.

2 4 5

CONTROLLERIP is the IP address of the Controller node.

3

NOVAADMINPASS is the admin password of the Compute service. This is identical to the value of nova_admin_password in /etc/neutron/neutron.conf.

Note

If you deployed OpenStack using the Director, you can also find this password in the undercloud's /home/stack/tripleo-overcloud-passwords file.
As of this release, some Shared File System service settings are still defined in /etc/manila/api-paste.ini. Update this file with the following code snippet:
[filter:keystonecontext]
paste.filter_factory = manila.api.middleware.auth:ManilaKeystoneContext.factory

[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
service_protocol = http
service_host = localhost
service_port = 5000
auth_host = localhost
auth_port = 35357
auth_protocol = http
admin_tenant_name = services
admin_user = manila
admin_password = MANILAPASS # 
signing_dir = /var/lib/manila
auth_uri=http://CONTROLLERIP:5000/v2.0 # 
identity_uri=http://CONTROLLERIP:35357 # 
Copy to Clipboard Toggle word wrap

1

MANILAPASS is the admin password of the manila service user (which you used in Section 14.3, “Create the Shared File System Service Identity Records”).

2 3

CONTROLLERIP is the IP address of the Controller node.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat