Configuration Reference
Every option by config-file group: type, default, and what it does
This page documents every configuration option for Trilio Site Recovery for OpenStack, organised by INI section as they appear in /etc/protector/protector.conf. Configuration is managed by oslo.config: options are declared in code and read from an INI-style file at startup. Understanding each option — its type, default, and effect — is essential before deploying the service, tuning replication behaviour, or diagnosing a failed DR operation. The local_site option in [DEFAULT] is the single most critical setting: the service cannot safely participate in any DR operation until it knows which registered site it belongs to.
Before working with this configuration reference, you need:
- A working Trilio Site Recovery deployment (Juju, Kolla-Ansible, or OpenShift)
- Access to
/etc/protector/protector.confon each protector node - Both DR sites registered in Keystone with the
dr_operatoranddr_site_adminroles created - MariaDB or MySQL (the
protectordatabase must exist before the service starts) - RabbitMQ (the
protectorvhost and user must exist) - If using Pure Storage:
python3-pure-clientinstalled on every node runningprotector-engine - For Juju deployments: the charm rewrites
protector.confon every hook; usejuju config trilio-site-recovery config-flags="section:key=value"for options the charm does not expose directly — do not edit the file by hand on Juju-managed units
The configuration file is written automatically by the deployment tool. The steps below describe how to verify and customise it after initial deployment.
Juju
- Confirm the charm has written the file:
juju ssh trilio-site-recovery/0 -- sudo cat /etc/protector/protector.conf - Set options the charm exposes directly:
juju config trilio-site-recovery local-site=site-london - Set any option the charm does not model via
config-flags(usesection:key=value):juju config trilio-site-recovery config-flags="engine:cross_site_timeout=60"Important: Do not use
config-flagsfor a key the charm template already renders — doing so causes oslo.config to see the section twice and raisesDuplicateSectionError. The 47 charm-modelled options are listed in the charm'sconfig.yaml;engine:cross_site_timeoutis safe to set this way. - After changing charm options, run the health check to confirm the service restarted cleanly:
juju run trilio-site-recovery/0 health-check
Kolla-Ansible
- Edit the per-site configuration file (resolved in this order:
generated/protector-<site>/protector.conf,etc/protector-<site>/protector.conf,etc/protector/protector.conf). - Copy the updated file to the host and restart the containers:
sudo cp protector.conf /etc/protector/protector.conf sudo docker restart protector_api protector_engine - Verify the service is healthy:
curl -s http://localhost:8788/healthz
OpenShift (RHOSO18)
Configuration is stored in the protector ConfigMap in the trilio-site-recovery namespace. Edit it and restart the deployments:
oc -n trilio-site-recovery edit configmap protector
oc -n trilio-site-recovery rollout restart deployment/trilio-site-recovery-api
oc -n trilio-site-recovery rollout restart deployment/trilio-site-recovery-engine
Options are listed by section. Each entry shows the type, default value, and what the option controls. Options marked REQUIRED have no safe default and must be set before the service can operate.
[DEFAULT]
| Option | Type | Default | Description |
|---|---|---|---|
local_site | string | (none) | REQUIRED. The name or UUID of the DR site this node belongs to, exactly as registered with openstack dr site create. Every DR operation — failover, failback, metadata sync — depends on the engine knowing which side of the pair it is running on. There is no inference: the service refuses to guess. Set this to different values on each site. The charm lands in BLOCKED after an upgrade until this is set. |
host | string | localhost | Hostname of this node, used in RPC messaging identifiers. |
rpc_conn_pool_size | integer | 30 | Number of connections held in the oslo.messaging RPC connection pool. Increase if you see connection exhaustion errors under high operation concurrency. |
use_mock_storage | boolean | false | Use the in-memory mock storage driver instead of a real storage backend. Intended for initial deployment validation without physical arrays. State is stored under /var/lib/protector. Do not use in production. |
use_mock_cinder | boolean | false | Simulate Cinder API calls instead of making real ones. Useful for development and testing only. |
[api]
| Option | Type | Default | Description |
|---|---|---|---|
bind_host | string | 0.0.0.0 | IP address the API server binds to. Set to a specific interface address to restrict access. |
bind_port | integer | 8788 | TCP port for the REST API. Both sites must be reachable on this port from each other; also needed from any client running the openstack dr CLI. |
workers | integer | 4 | Number of gunicorn API worker processes. Increase for higher request concurrency. Each worker holds its own database connection. |
[database]
| Option | Type | Default | Description |
|---|---|---|---|
connection | string | mysql+pymysql://protector:password@localhost/protector | SQLAlchemy connection URL for the protector database. Use the actual database host, credentials, and database name. The default database name is protector and the default user is protector. Use ?charset=utf8 if your MariaDB requires it. |
Security note: This option contains the database password in plain text. Restrict read access to
/etc/protector/protector.confaccordingly (mode0640, owned by the service user).
[engine]
| Option | Type | Default | Description |
|---|---|---|---|
topic | string | protector-engine | RabbitMQ topic the engine listens on and the API dispatches to. Change only if you have a specific reason to namespace topics. |
recovery_point_interval_minutes | integer | 0 | Interval between scheduled recovery-point snapshots for ActiveDR protection groups. 0 disables scheduling. When set, the engine takes a snapshot of every ActiveDR group at this cadence. |
coverage_refresh_interval_minutes | integer | 15 | How often the engine re-verifies that each member's volumes are present in the replicated consistency group, updating the replication_coverage field visible in dr protection group show. 0 disables background refresh. |
floating_ip_refresh_interval_minutes | integer | 15 | How often the engine re-captures floating IPs on protected instances on the primary site, syncing changes to the DR site automatically. 0 disables background refresh. |
recovery_point_max_count | integer | 20 | Maximum number of on-demand recovery-point snapshots retained per protection group. Older snapshots are pruned when this limit is reached. |
recovery_point_ttl_hours | integer | 24 | Recovery-point snapshots older than this many hours are automatically deleted. |
auto_create_security_groups | boolean | false | When true, the engine creates security groups on the target site if they are missing, translating rules into the target site's terms. Rules that cannot be translated are reported rather than copied. When false (the default), missing groups are reported but not created — an operator creates them manually. Set false unless you have reviewed the translation behaviour; a mistranslated rule looks correct and permits nothing. |
cross_site_timeout | integer | 30 | Seconds any single call to another site (Keystone token exchange, remote API request) may take before the engine times out. The default of 30 seconds is suitable for low-latency links. Raise this for slow inter-site WAN connections. Without a timeout, an unreachable peer blocks the gunicorn worker until the OS kills it, leaving the client with a closed connection and the local half of the operation already committed. Set via juju config ... config-flags="engine:cross_site_timeout=60" on Juju — there is no dedicated charm option. |
[keystone_authtoken]
| Option | Type | Default | Description |
|---|---|---|---|
auth_url | string | (none) | Keystone authentication URL for this site. Used by the API middleware to validate incoming tokens. |
www_authenticate_uri | string | (none) | Public Keystone URI returned in WWW-Authenticate headers on 401 responses. Typically the same as auth_url. |
Additional keystonemiddleware options (memcached_servers, token_cache_time, etc.) are accepted in this section following standard oslo middleware conventions.
[service_credentials]
These options govern how the protector service authenticates to OpenStack on behalf of itself (for cross-site work) and how it creates Keystone trusts on behalf of tenants.
| Option | Type | Default | Description |
|---|---|---|---|
username | string | (none) | Keystone username of the service account (typically protector). |
project_name | string | (none) | Keystone project the service account belongs to (typically service). |
default_service_project | string | service | Fallback project name for service accounts when not specified in a site registration. Common values: service, services, admin. |
default_service_user_domain | string | Default | Fallback Keystone domain for service users. |
default_service_project_domain | string | Default | Fallback Keystone domain for service projects. |
default_trust_roles | list | member,dr_operator | Roles delegated by every per-tenant Keystone trust the service creates. member carries Nova/Cinder access; dr_operator satisfies Protector's own cross-site sync policy. Every role named here must already exist in Keystone on every site — trust creation fails naming a missing role rather than skipping it. Keep this list minimal. Do not set this in protector.conf unless you need to override it: the default member,dr_operator is correct, and removing member breaks all Nova/Cinder calls during failover. |
cafile | string | (none) | Path to a PEM-encoded CA bundle for verifying Keystone and OpenStack endpoint TLS certificates. Required when your OpenStack endpoints use a private CA. |
insecure | boolean | false | Disable TLS certificate verification for all OpenStack endpoint calls. Do not use in production. |
[storage]
| Option | Type | Default | Description |
|---|---|---|---|
storage_driver | string | mock | Which storage backend the engine uses. Accepted short names: mock (SQLite-backed simulation, no hardware required), pure (Pure Storage FlashArray), drbd (in development, not for production). A full Python class path is also accepted (e.g. protector.engine.storage.drivers.pure_driver.PureStorageDriver). Change to pure for production deployments with Pure Storage arrays. |
[mock_storage]
Used only when storage_driver = mock.
| Option | Type | Default | Description |
|---|---|---|---|
storage_base_path | string | /var/lib/protector/mock_storage | Directory for the mock driver's SQLite state file. |
primary_array_name | string | primary-array | Display name for the simulated primary array. |
secondary_array_name | string | secondary-array | Display name for the simulated secondary array. |
[pure_storage]
Used when storage_driver = pure. Configures the default (first) array pair. For deployments with more than one array pair, see [pure_array:<name>] below.
| Option | Type | Default | Description |
|---|---|---|---|
primary_management_ip | string | (none) | Management IP or hostname of the FlashArray on the primary site. |
primary_api_token | string | (none) | API token for the primary FlashArray. Treat as a secret; restrict file permissions. |
secondary_management_ip | string | (none) | Management IP or hostname of the FlashArray on the secondary site. |
secondary_api_token | string | (none) | API token for the secondary FlashArray. |
primary_site_name | string | (empty) | The OpenStack site name that uses the array at primary_management_ip. This must match the name used in openstack dr site create and must match the value of local_site on the node that owns that array. The driver resolves which array to contact during a failover by comparing the protection group's primary site name against these two options — a mismatch causes the engine to read replication state from the wrong array. The [pure_storage] section can be identical on both nodes; the driver swaps the pair when the site names indicate it should. |
secondary_site_name | string | (empty) | The OpenStack site name that uses the array at secondary_management_ip. |
verify_ssl | boolean | false | Verify TLS certificates when connecting to the FlashArray REST API. Enable in production if your arrays have trusted certificates. |
default_rpo_seconds | integer | 900 | Target RPO in seconds for async replication groups. The engine uses this when creating replication policies that do not specify an RPO explicitly. |
snapshot_interval_seconds | integer | 300 | Snapshot interval for async replication, in seconds. Controls how frequently the array takes a snapshot to replicate. |
additional_arrays | list | (empty) | Names of additional array-pair sections. Each entry is a section name (e.g. array-pair-2), not an IP address. The corresponding section must be [pure_array:array-pair-2]. |
[pure_array:<name>]
One section per additional array pair, where <name> matches an entry in pure_storage.additional_arrays. Carries the same options as [pure_storage] plus cinder_backend_names.
| Option | Type | Default | Description |
|---|---|---|---|
primary_management_ip | string | (none) | Management IP of the primary array in this pair. |
primary_api_token | string | (none) | API token for the primary array in this pair. |
secondary_management_ip | string | (none) | Management IP of the secondary array in this pair. |
secondary_api_token | string | (none) | API token for the secondary array in this pair. |
primary_site_name | string | (empty) | Site name for the primary array in this pair. Same pairing rules apply as in [pure_storage]. |
secondary_site_name | string | (empty) | Site name for the secondary array in this pair. |
verify_ssl | boolean | false | TLS verification for this array pair. |
cinder_backend_names | list | (empty) | Cinder backend names (as configured in cinder.conf) that map to this array pair. The engine uses this to associate a volume's Cinder backend with the correct array when a protection group spans multiple array pairs. |
[drbd_storage]
Note: DRBD is in development and is not supported for production use. This section is not registered at startup unless the
drbddriver is selected. Options are documented here for completeness.
| Option | Type | Default | Description |
|---|---|---|---|
standby_flavor | string | m1.drbd-standby | Flavor for counterpart VMs on the secondary site. Should be minimal (1 vCPU, 512 MB RAM). |
transport_url | string | (none) | oslo.messaging transport URL for DRBD agent RPC. Defaults to DEFAULT.transport_url if unset. |
drbd_agent_topic | string | drbd-agent | RPC topic for the DRBD agent. |
drbd_agent_rpc_timeout | integer | 60 | RPC timeout in seconds for DRBD agent calls. |
primary_host | string | (none) | Hostname of the primary site compute node for DRBD agent RPC. |
secondary_host | string | (none) | Hostname of the secondary site compute node. |
primary_replication_ip | string | (none) | Replication network IP of the primary site node. |
secondary_replication_ip | string | (none) | Replication network IP of the secondary site node. |
primary_site_name | string | (empty) | OpenStack site name for the primary DRBD site. |
secondary_site_name | string | (empty) | OpenStack site name for the secondary DRBD site. |
drbd_port_range_start | integer | 7788 | Start of the DRBD port range allocated to replication resources. |
drbd_port_range_end | integer | 8788 | End of the DRBD port range. |
Annotated sample protector.conf
The following shows a complete, production-ready configuration for the primary site using Pure Storage. Replace placeholder values with your actual credentials and addresses.
[DEFAULT]
# REQUIRED: the name this node's site was registered under.
# Set differently on the secondary site.
local_site = site-london
host = protector-london.example.com
[api]
bind_host = 0.0.0.0
bind_port = 8788
workers = 4
[database]
connection = mysql+pymysql://protector:DBPASSWORD@mariadb.example.com/protector
[keystone_authtoken]
auth_url = https://keystone-london.example.com:5000
www_authenticate_uri = https://keystone-london.example.com:5000
[service_credentials]
username = protector
project_name = service
# default_trust_roles defaults to member,dr_operator — omit unless overriding
cafile = /etc/ssl/certs/ca-bundle.pem
[engine]
topic = protector-engine
# Raise for slow inter-site WAN links:
cross_site_timeout = 30
auto_create_security_groups = false
recovery_point_max_count = 20
recovery_point_ttl_hours = 24
[storage]
storage_driver = pure
[pure_storage]
primary_management_ip = 10.10.1.10
primary_api_token = T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
secondary_management_ip = 10.20.1.10
secondary_api_token = T-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
# Must match the site name used in 'openstack dr site create'
primary_site_name = site-london
secondary_site_name = site-frankfurt
verify_ssl = false
default_rpo_seconds = 900
snapshot_interval_seconds = 300
# additional_arrays = array-pair-2
# Uncomment and repeat for each additional array pair:
# [pure_array:array-pair-2]
# primary_management_ip = 10.10.2.10
# primary_api_token = T-aaaaaaaa-...
# secondary_management_ip = 10.20.2.10
# secondary_api_token = T-bbbbbbbb-...
# primary_site_name = site-london
# secondary_site_name = site-frankfurt
# cinder_backend_names = ceph-backend-2
On the secondary site (site-frankfurt), the [DEFAULT] section changes:
[DEFAULT]
local_site = site-frankfurt
host = protector-frankfurt.example.com
The [pure_storage] section can be identical on both nodes. The driver compares primary_site_name and secondary_site_name against the protection group's recorded primary site at runtime, swapping the array pair automatically when the failover runs from the secondary side.
The configuration file controls behaviour at every stage of the DR lifecycle. The most common configuration tasks are:
Setting the site identity (required before first use)
Every node must know which site it belongs to:
[DEFAULT]
local_site = site-london
On a Juju deployment:
juju config trilio-site-recovery local-site=site-london
Switching from mock to Pure Storage
[storage]
storage_driver = pure
[pure_storage]
primary_management_ip = 192.168.10.10
primary_api_token = T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
secondary_management_ip = 192.168.20.10
secondary_api_token = T-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
primary_site_name = site-a
secondary_site_name = site-b
On Juju:
juju config trilio-site-recovery storage-driver=pure \
pure-primary-management-ip=192.168.10.10 \
pure-primary-api-token=T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \
pure-secondary-management-ip=192.168.20.10 \
pure-secondary-api-token=T-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy \
pure-primary-site-name=site-a \
pure-secondary-site-name=site-b
Tuning cross-site timeout for a slow WAN link
The charm has no dedicated timeout option. Use config-flags:
juju config trilio-site-recovery config-flags="engine:cross_site_timeout=60"
For Kolla or bare-metal deployments, edit protector.conf directly:
[engine]
cross_site_timeout = 60
Enabling automatic security group creation on the DR site
[engine]
auto_create_security_groups = true
Note that rules referencing addresses or remote groups from the source site are translated before being written, and untranslatable rules are reported rather than copied. Review the warnings in the operation record after the first failover.
Configuring scheduled recovery points for ActiveDR groups
[engine]
# Take a recovery point snapshot every 30 minutes:
recovery_point_interval_minutes = 30
recovery_point_max_count = 20
recovery_point_ttl_hours = 48
Verifying trust role configuration
The default_trust_roles option defaults to member,dr_operator. Both roles must exist in Keystone on every site. Verify:
openstack role list | grep -E 'member|dr_operator'
Do not set default_trust_roles in protector.conf unless you have a specific reason to override it. Dropping member removes Nova/Cinder access from the trust and breaks failover at the first instance or volume call.
Using oslo.policy overrides
Access control is managed through oslo.policy. The default rules are in /etc/protector/policy.yaml. To override a rule, add an entry to that file:
# Allow dr_operator to list all protection groups (admin-only by default)
"protector:protection_groups:list_all": "role:dr_operator"
The dr_site_admin role is cloud-wide — it carries no project scoping. Assign it to cloud operators on the admin project, not to per-tenant users.
Example 1 — Minimal single-pair Pure Storage configuration
[DEFAULT]
local_site = site-primary
[api]
bind_port = 8788
[database]
connection = mysql+pymysql://protector:s3cr3t@10.0.0.5/protector
[keystone_authtoken]
auth_url = https://keystone.site-primary.example.com:5000
www_authenticate_uri = https://keystone.site-primary.example.com:5000
[service_credentials]
username = protector
project_name = service
cafile = /etc/ssl/certs/ca-bundle.pem
[storage]
storage_driver = pure
[pure_storage]
primary_management_ip = 10.1.0.100
primary_api_token = T-11111111-aaaa-bbbb-cccc-dddddddddddd
secondary_management_ip = 10.2.0.100
secondary_api_token = T-22222222-aaaa-bbbb-cccc-dddddddddddd
primary_site_name = site-primary
secondary_site_name = site-secondary
default_rpo_seconds = 900
snapshot_interval_seconds = 300
Example 2 — Multi-array pair configuration
[pure_storage]
primary_management_ip = 10.1.0.100
primary_api_token = T-11111111-aaaa-bbbb-cccc-dddddddddddd
secondary_management_ip = 10.2.0.100
secondary_api_token = T-22222222-aaaa-bbbb-cccc-dddddddddddd
primary_site_name = site-primary
secondary_site_name = site-secondary
additional_arrays = array-pair-2
[pure_array:array-pair-2]
primary_management_ip = 10.1.1.100
primary_api_token = T-33333333-aaaa-bbbb-cccc-dddddddddddd
secondary_management_ip = 10.2.1.100
secondary_api_token = T-44444444-aaaa-bbbb-cccc-dddddddddddd
primary_site_name = site-primary
secondary_site_name = site-secondary
cinder_backend_names = cinder-backend-flash2
Example 3 — Evaluation deployment using the mock storage driver
[DEFAULT]
local_site = site-dev
[database]
connection = mysql+pymysql://protector:devpass@localhost/protector
[keystone_authtoken]
auth_url = http://keystone.dev.example.com:5000
www_authenticate_uri = http://keystone.dev.example.com:5000
[service_credentials]
username = protector
project_name = service
[storage]
storage_driver = mock
[mock_storage]
storage_base_path = /var/lib/protector/mock_storage
primary_array_name = mock-primary
secondary_array_name = mock-secondary
Example 4 — Setting config-flags on Juju for a slow inter-site link
juju config trilio-site-recovery config-flags="engine:cross_site_timeout=120"
Example 5 — Verifying the deployed configuration has local_site set
sudo grep '^local_site' /etc/protector/protector.conf
Example 6 — Running database migrations after a manual configuration change
For Kolla and bare-metal deployments (not Juju — use the db-sync charm action instead):
protector-manage db sync
For Kolla container deployments:
sudo docker run --rm --network=host \
-v /etc/protector:/etc/protector:ro \
protector:latest db-sync
Example 7 — Checking consistency of default_trust_roles across all configuration sources
python3 scripts/check_config_consistency.py
Service starts but all DR operations fail with 500
Symptom: openstack dr protection group list returns HTTP 500; logs show LocalSiteNotConfigured.
Cause: local_site is not set in [DEFAULT], or is set to a name that does not match any registered site.
Fix: Set local_site to exactly the name used in openstack dr site create:
# Juju:
juju config trilio-site-recovery local-site=site-london
# Kolla / bare-metal:
sudo grep '^local_site' /etc/protector/protector.conf
# Edit protector.conf, then restart:
sudo docker restart protector_api protector_engine
Juju unit is BLOCKED after upgrade
Symptom: juju status shows the trilio-site-recovery unit in BLOCKED with message set local-site, pure-primary-site-name, pure-secondary-site-name.
Cause: This is expected behaviour after a charm upgrade to 1.0.20 or later. The charm requires these options to be explicitly set; it no longer infers site identity.
Fix: Set the required options:
juju config trilio-site-recovery local-site=site-london
juju config trilio-site-recovery pure-primary-site-name=site-london
juju config trilio-site-recovery pure-secondary-site-name=site-frankfurt
Trust creation fails: "role not found"
Symptom: The first tenant mapping or DR operation fails with an error referencing a missing role, typically dr_operator.
Cause: default_trust_roles lists a role that does not exist in Keystone on this site. The charm creates both dr_operator and dr_site_admin, but if the charm did not run register-service on this site, the roles may be absent.
Fix: Create the missing roles:
openstack role create dr_operator
openstack role create dr_site_admin
Then retry the tenant mapping or operation. Do not remove member from default_trust_roles — it carries the Nova/Cinder access the trust needs.
Failover fails with "Policy doesn't allow volume_extension:volume_manage"
Symptom: Failover succeeds on storage but fails at volume import with HTTP 403.
Cause: Cinder's default policy restricts volume_manage and related rules to admin. The protector service operates as a tenant through a Keystone trust and does not have admin.
Fix: Override these five Cinder policy rules on both sites to rule:admin_or_owner:
volume_extension:volume_managevolume_extension:volume_unmanagevolume_extension:services:indexvolume_extension:type_getvolume_extension:type_get_all
On Juju, use the policyd-override attach-resource mechanism:
juju attach-resource cinder policyd-override=cinder-policy-override.zip
Pure Storage failover reports "2 of N volumes missing or destroyed"
Symptom: Failover proceeds but the engine cannot find volumes on the array; logs show StorageSiteMappingUnknown.
Cause: The primary_site_name / secondary_site_name options in [pure_storage] are mismatched — the driver is reading replication state from the wrong array. The options must pair each site name with the IP of the array that site actually uses. The same section can be used on both nodes; the driver swaps the pair automatically based on which site the protection group was last primary on.
Fix: Verify that primary_site_name names the site whose array is at primary_management_ip, and secondary_site_name names the site whose array is at secondary_management_ip. Correct the pairing and restart the engine. Do not invert the section to fix the symptom — that re-breaks the other site.
LUKS-encrypted volume rejected from protection group
Symptom: openstack dr protection group member add fails with InvalidInput referencing LUKS encryption.
Cause: LUKS-encrypted volumes are not supported. Cinder's manage API cannot associate Barbican keys on the DR site, so an encrypted volume can never be recovered.
Fix: Use array-side encryption (Pure Storage data-at-rest encryption) instead of host-side LUKS. Remove the LUKS-encrypted volume from the instance or use a non-encrypted volume type before adding the instance to the protection group.
openstack dr CLI cannot find the service in the catalogue
Symptom: openstack dr site list fails with EndpointNotFound or similar.
Cause: The service endpoint was not registered in Keystone, or the service type does not match what the CLI expects.
Fix: On Juju, run the register-service action:
juju run trilio-site-recovery/0 register-service
For Kolla, the install.sh Keystone step registers the service with type disaster-recovery and secondary type protector. Verify:
openstack catalog list | grep disaster-recovery
config-flags causes DuplicateSectionError on startup
Symptom: After setting config-flags, the service fails to start and logs show DuplicateSectionError.
Cause: The key named in config-flags is already rendered by the charm template, so oslo.config sees the section header twice.
Fix: Remove the conflicting flag from config-flags. Use a dedicated charm option for that setting instead (e.g. auto-create-security-groups rather than config-flags="engine:auto_create_security_groups=true"). The key engine:cross_site_timeout is safe to set via config-flags because the charm template does not render it.