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.ymlimportsservice-check-containers, which restarts only the containers whose configuration or definition changed (Tags §2.4); the handlers have nokolla_action != "config"guard any more. Newcheck.ymlforkolla-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_schedulerandmanila_sharealways mount/dev/shm(roles/manila/defaults/main.yml:168,roles/manila/defaults/main.yml:176,roles/manila/defaults/main.yml:183);manila.confalways rendersuse_queue_managerand the quorum settings and useskeystone_public_urlforwww_authenticate_uri(roles/manila/templates/manila.conf.j2:35,roles/manila/templates/manila.conf.j2:60-71; F17);memcache_security_strategyis a variable in both templates. - Linux Bridge is gone: the
BridgeInterfaceDriverbranch 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 fromceph_manila_user(roles/manila/tasks/external_ceph.yml:27-36);ceph_manila_keyringis 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 inmanila-share.conf; the CA bundle is copied into the containers whenkolla_copy_ca_into_containersis set; the two HAProxy backends addoption httpchk(roles/manila/defaults/main.yml:19,28), rendered by-t manilawithout 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¶
- Dependencies: Component dependencies §3
Evidence¶
- Fact sheet: fact sheet D §4
- Image side: Kolla images
§4 (row
manila-api), Kolla images §5
Before and after a run¶
- fact sheet D §4.3: the flow
is unchanged since 2024.1 apart from the shared container check.
reconfigureimportsdeploy(roles/manila/tasks/reconfigure.yml:2), which runs clone (dev mode only), register, config, check-containers, bootstrap (DB and DB user, thenbootstrap_manila), flush (roles/manila/tasks/deploy.yml:2-14,roles/manila/tasks/bootstrap.yml:2-38).upgraderuns config, check-containers,bootstrap_service.ymland 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_nativeor_cephfs_nfs, config still includesexternal_ceph.ymlon manila-share hosts (roles/manila/tasks/config.yml:12-15), but the file now follows the multi-cluster layout:- The Ceph backends are a list of their own,
manila_ceph_backends, each with acluster(defaultceph_cluster,"ceph") and ashare_name(roles/manila/defaults/main.yml:247-262).manila_enabled_backendsappends the enabled Ceph backends after the other ones (:264), soenabled_share_backendslists them last (roles/manila/templates/manila-share.conf.j2:3). - A sub-directory
manila-share/cephis created (roles/manila/tasks/external_ceph.yml:2-12). For each enabled Ceph backend,<cluster>.confis built bymerge_configsfrom/etc/kolla/config/manila/<cluster>.confand/etc/kolla/config/manila/manila-share/<cluster>.conf(roles/manila/tasks/external_ceph.yml:14-25), and the keyring is read frommanila/<cluster>.client.<ceph_manila_user>.keyring(roles/manila/tasks/external_ceph.yml:27-36,group_vars/all.yml:1303). With the default clusterceph, the operator's source names areceph.confandceph.client.manila.keyring. - Both files land in
/etc/kolla/manila-share/ceph/, with mode0660, andconfig.jsoncopies that whole directory to/etc/ceph(roles/manila/templates/manila-share.json.j2:9-15). The share sections point to/etc/ceph/<cluster>.confandcephfs_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.confand/etc/ceph/ceph.client.manila.keyring. - Changed in 2025.1, the Ceph file tasks notify nothing (
roles/manila/tasks/external_ceph.yml:14-36); a changed file restartsmanila_sharethrough the container check.
- The Ceph backends are a list of their own,
- Containers CODE:
manila_shareandmanila_datamount/runas/run:/run:sharedunder 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-shareis a child ofnetwork, and theopenvswitchchildren includemanila-share(inventory/multinode:105-108,322-323); the OVS agent,openvswitch_dbandopenvswitch_vswitchdrun 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 reconfigureruns the neutron play onneutron-server, every agent group, every compute andmanila-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 withsecret=<keyring secret>on the command line, is still absent in 2025.1: no task underroles/manila/tasks/mounts anything or passessecret=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 usekolla_internal_fqdnandkolla_external_fqdndirectly: no longer holds since 2024.1; in 2025.1 the base endpoints are defined ingroup_vars/all.ymlfrommanila_internal_fqdnandmanila_external_fqdnthrough thekolla_urlfilter (group_vars/all.yml:530-533), and the public endpoint usesmanila_api_public_port, the single external frontend port whenhaproxy_single_external_frontendis 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 tomanila; neutronhost_in_groupsfor 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 hasbecome: 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.j2loop over every entry ofmanila_ceph_backendswhosedrivermatches, guarded only by the globalenable_manila_backend_cephfs_native/_cephfs_nfsflag, not by the entry'senabled(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/) |
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 |
Related¶
- 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
openvswitchgroup includesmanila-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