Skip to content

Manila

This page is the starting point for Manila, the manila role: the containers manila_api, manila_scheduler, manila_share and manila_data, on the control and network nodes of the example inventory (manila is a child of control, inventory/multinode:137-138; manila-share a child of network, inventory/multinode:322-323), selected by the tag manila (site.yml:784-799) CODE. The manila-share hosts also get neutron agents (Component dependencies §3): the neutron play includes manila-share (site.yml:669-691; fact sheet D §4.1).

Changed in 2025.1 CODE:

  • Restarts: the config tasks notify nothing; check-containers.yml imports service-check-containers, which restarts only the containers whose configuration or definition changed (Tags §2.4); the handlers have no kolla_action != "config" guard any more. New check.yml for kolla-ansible check.
  • No rolling reconfigure or upgrade through the CLI (F19); a batched reconfigure is kolla-ansible deploy -t manila -e kolla_serial=N.
  • First-run changes: manila_api, manila_scheduler and manila_share always mount /dev/shm (roles/manila/defaults/main.yml:168, roles/manila/defaults/main.yml:176, roles/manila/defaults/main.yml:183); manila.conf always renders use_queue_manager and the quorum settings and uses keystone_public_url for www_authenticate_uri (roles/manila/templates/manila.conf.j2:35, roles/manila/templates/manila.conf.j2:60-71; F17); memcache_security_strategy is a variable in both templates.
  • Linux Bridge is gone: the BridgeInterfaceDriver branch of the generic backend is removed; the generic backend always writes the OVS interface driver (roles/manila/templates/manila-share.conf.j2:76). See Neutron for the Linux Bridge removal.
  • Ceph: the backends take cluster: "{{ ceph_cluster }}" (roles/manila/defaults/main.yml:251, roles/manila/defaults/main.yml:258) and the keyring name is built from ceph_manila_user (roles/manila/tasks/external_ceph.yml:27-36); ceph_manila_keyring is removed, so an override of it is no longer read. With the defaults, the source and destination names are unchanged (ceph.client.manila.keyring).
  • New: a Pure Storage FlashBlade backend, fb1 (roles/manila/defaults/main.yml:240-244), and an [oslo_concurrency] lock path in manila-share.conf; the CA bundle is copied into the containers when kolla_copy_ca_into_containers is set; the two HAProxy backends add option httpchk (roles/manila/defaults/main.yml:19,28), rendered by -t manila without restarting HAProxy (F18).
  • The policy copy now uses become: true (roles/manila/tasks/config.yml:85-92), which closes one of the fact sheet D oddities (below).

The lists below say where the study covers how to operate it, its impact, its dependencies and the evidence, what to check around a run and what stays open; the service card follows them.

Where to look

Operate

No operation page gives a command line for the manila tag, and the tag has no row of its own in Tags §3 or in the Tag index. What the study says about running it is in fact sheet D: the plays the tag selects (§4.1) and the task flow per action (§4.3). The tag also selects the manila include of the loadbalancer play (site.yml:218-222) CODE.

Dependencies

Evidence

Before and after a run

  • fact sheet D §4.3: the flow is unchanged since 2024.1 apart from the shared container check. reconfigure imports deploy (roles/manila/tasks/reconfigure.yml:2), which runs clone (dev mode only), register, config, check-containers, bootstrap (DB and DB user, then bootstrap_manila), flush (roles/manila/tasks/deploy.yml:2-14, roles/manila/tasks/bootstrap.yml:2-38). upgrade runs config, check-containers, bootstrap_service.yml and flush, without register or DB creation (roles/manila/tasks/upgrade.yml:2-9) CODE.
  • External Ceph (multi-cluster layout since 2024.1) CODE. With enable_manila_backend_cephfs_native or _cephfs_nfs, config still includes external_ceph.yml on manila-share hosts (roles/manila/tasks/config.yml:12-15), but the file now follows the multi-cluster layout:
    1. The Ceph backends are a list of their own, manila_ceph_backends, each with a cluster (default ceph_cluster, "ceph") and a share_name (roles/manila/defaults/main.yml:247-262). manila_enabled_backends appends the enabled Ceph backends after the other ones (:264), so enabled_share_backends lists them last (roles/manila/templates/manila-share.conf.j2:3).
    2. A sub-directory manila-share/ceph is created (roles/manila/tasks/external_ceph.yml:2-12). For each enabled Ceph backend, <cluster>.conf is built by merge_configs from /etc/kolla/config/manila/<cluster>.conf and /etc/kolla/config/manila/manila-share/<cluster>.conf (roles/manila/tasks/external_ceph.yml:14-25), and the keyring is read from manila/<cluster>.client.<ceph_manila_user>.keyring (roles/manila/tasks/external_ceph.yml:27-36, group_vars/all.yml:1303). With the default cluster ceph, the operator's source names are ceph.conf and ceph.client.manila.keyring.
    3. Both files land in /etc/kolla/manila-share/ceph/, with mode 0660, and config.json copies that whole directory to /etc/ceph (roles/manila/templates/manila-share.json.j2:9-15). The share sections point to /etc/ceph/<cluster>.conf and cephfs_cluster_name = <cluster> (roles/manila/templates/manila-share.conf.j2:116-150), so with the default cluster the paths inside the container stay /etc/ceph/ceph.conf and /etc/ceph/ceph.client.manila.keyring.
    4. Changed in 2025.1, the Ceph file tasks notify nothing (roles/manila/tasks/external_ceph.yml:14-36); a changed file restarts manila_share through the container check.
  • Containers CODE: manila_share and manila_data mount /run as /run:/run:shared under Docker (roles/manila/defaults/main.yml:166, roles/manila/defaults/main.yml:190), as in 2024.1. On the first 2025.1 run the containers are recreated for /dev/shm (Changed in 2025.1 above), and a container that no 2025.1 run has recreated yet is also flagged by the changed systemd unit text (F16).
  • fact sheet D §4.1: in the default inventory manila-share is a child of network, and the openvswitch children include manila-share (inventory/multinode:105-108,322-323); the OVS agent, openvswitch_db and openvswitch_vswitchd run on manila-share hosts only with the generic backend (roles/neutron/defaults/main.yml:40, roles/openvswitch/defaults/main.yml:11,27) CODE. Still holds in 2025.1.
  • Reconfigure Neutron §2: -t neutron reconfigure runs the neutron play on neutron-server, every agent group, every compute and manila-share (site.yml:669-691) CODE.
  • fact sheet D §4.6: Kolla does not create share types, the service image or networks (no such task in roles/manila/tasks/ in 2025.1) CODE.

Known limits and open points

  • fact sheet D §4.3: the Ussuri fix_cephfs_owner.yml, which mounted CephFS with secret=<keyring secret> on the command line, is still absent in 2025.1: no task under roles/manila/tasks/ mounts anything or passes secret= CODE.
  • fact sheet D §4.6, "Operationally notable", three points, checked against 2025.1 CODE: Kolla does not create share types, the service image or networks (still holds); the generic backend's service-instance credentials default to manila/manila (still holds, roles/manila/defaults/main.yml:212-213); endpoints use kolla_internal_fqdn and kolla_external_fqdn directly: no longer holds since 2024.1; in 2025.1 the base endpoints are defined in group_vars/all.yml from manila_internal_fqdn and manila_external_fqdn through the kolla_url filter (group_vars/all.yml:530-533), and the public endpoint uses manila_api_public_port, the single external frontend port when haproxy_single_external_frontend is set (group_vars/all.yml:535).
  • fact sheet D §7, item 6: CephFS secret on the command line on every deploy; policy copy has no become; service-instance password defaults to manila; neutron host_in_groups for manila-share are asymmetric (OVS: generic only; LB: any backend). In 2025.1 the CephFS point is still gone (see above); the policy copy now has become: true (roles/manila/tasks/config.yml:85-92); the password default still holds (roles/manila/defaults/main.yml:213); the asymmetry is gone with the Linux Bridge agent, and only the OVS condition is left (roles/neutron/defaults/main.yml:40) CODE.
  • fact sheet D §7, item 15: Barbican and other bootstraps (octavia, manila, ceilometer, masakari, zun, cyborg) re-run their DB sync container on every deploy/reconfigure (manila: roles/manila/tasks/deploy.yml:11, roles/manila/tasks/bootstrap.yml:38) CODE.
  • F5, "reconfigure = deploy": a reconfigure re-runs Keystone registration, DB creation/grants and the DB-sync bootstrap containers of most services CODE.
  • The share sections of manila-share.conf.j2 loop over every entry of manila_ceph_backends whose driver matches, guarded only by the global enable_manila_backend_cephfs_native / _cephfs_nfs flag, not by the entry's enabled (roles/manila/templates/manila-share.conf.j2:116-150), while the file tasks skip disabled entries (roles/manila/tasks/external_ceph.yml:24, roles/manila/tasks/external_ceph.yml:36) CODE. With the default list (one entry per driver, each enabled by the same flag, roles/manila/defaults/main.yml:247-262) the two agree; NOT AVAILABLE how Manila behaves with an operator-defined list where they do not.
  • What is not known: fact sheet D has its own NOT AVAILABLE list, and its §4.3 is among the sections that contain NOT AVAILABLE marks.
  • Known bugs and limitations, Open questions and Findings have no entry specific to Manila.

Service card

The rows of the card are explained on the Components page.

Item Value
Play site.yml:784
Tags manila
Play host patterns manila-api, manila-data, manila-share, manila-scheduler
Node types in play (example inventory) control, network
Node types running its containers control, network
Containers manila_api, manila_scheduler, manila_share, manila_data
deploy/reconfigure flow (tasks/deploy.yml) clone (if) → register → config → check-containers → bootstrap → flush handlers
Task files bootstrap.yml, bootstrap_service.yml, check-containers.yml, check.yml, clone.yml, config.yml, config_validate.yml, copy-certs.yml, deploy-containers.yml, deploy.yml, external_ceph.yml, loadbalancer.yml, main.yml, precheck.yml, pull.yml, reconfigure.yml, register.yml, stop.yml, upgrade.yml
Templates manila-api.json.j2, manila-data.json.j2, manila-scheduler.json.j2, manila-share.conf.j2, manila-share.json.j2, manila.conf.j2
Handlers (definition order) Restart manila-api container; Restart manila-data container; Restart manila-scheduler container; Restart manila-share container
Key variables enable_manila, enable_manila_backend_*
Role dependencies none
  • fact sheet D §4 — the per-role evidence: plays, services, task flow, config and dependencies
  • Neutron — the neutron play includes manila-share
  • Open vSwitch — the openvswitch group includes manila-share
  • Component dependencies §3 — Manila's config references Glance, Neutron, Nova, Cinder and Ceph (CephFS)
  • Findings F16 — why the first 2025.1 check restarts the manila containers
  • Components — the other component pages