Everpure FlashArray
Describe Everpure flash array storage replications, our support for those replications, how to configure each replication type and their RPO/RTO characteristics.
Trilio Site Recovery for OpenStack integrates directly with Pure Storage FlashArray to provide two distinct replication modes for protecting OpenStack workloads: periodic async (Protection Group-based scheduled snapshots) and ActiveDR (continuous asynchronous replication via pods and replica links). This page describes how each mode works at the array level, what RPO and RTO characteristics you can expect, how to configure the Pure storage driver, and how the service manages replication lifecycle operations including failover, failback, and recovery point selection. Understanding the differences between these modes before you deploy is essential: they use fundamentally different Pure constructs, have different Cinder volume type requirements, and have different failover mechanics.
Before configuring Pure Storage replication, ensure you have:
- Two Pure Storage FlashArray appliances with Purity//FA 6.0 or later (required for ActiveDR; periodic async works on earlier versions)
- Array-to-array replication connection already established between the two FlashArrays (a
type=async-replicationortype=replicationconnection visible inget_array_connections) - API tokens for both arrays with sufficient privileges to manage protection groups, pods, replica links, and volumes
python3-pure-clientDebian package installed on every node runningprotector-engine; install it from the Trilio apt repository athttps://apt.fury.io/trilio-os-site-recovery-master/- Trilio Site Recovery deployed and configured with
local_siteset in[DEFAULT] - For periodic async: a Cinder volume type with
replication_enabled=Trueandreplication_type=asyncon both sites, and the five Cinder policy relaxations (see below) - For ActiveDR: a standard (non-replicated) Cinder volume type mapping to a Pure FlashArray backend — no Cinder replication extra specs; the service manages replication entirely out-of-band via the Pure REST API
- Cinder policy relaxations on both sites (required for all replication types):
All five rules are required. The last two (
"volume_extension:volume_manage": "rule:admin_or_owner" "volume_extension:volume_unmanage": "rule:admin_or_owner" "volume_extension:services:index": "rule:admin_or_owner" "volume_extension:type_get": "rule:admin_or_owner" "volume_extension:type_get_all": "rule:admin_or_owner"type_get,type_get_all) are read-only lookups that some Cinder versions leave open by default; a lab deployment may succeed without them while a production cloud will fail mid-failover with HTTP 403. - LUKS-encrypted volumes are not supported. Volumes encrypted with LUKS cannot be added to any protection group. Use Pure array-side data-at-rest encryption instead.
The Pure storage driver is activated by installing the python3-pure-client SDK package and setting storage_driver = pure in protector.conf. The installation steps differ by deployment method.
Juju (Charmed OpenStack)
The Juju charm installs python3-pure-client automatically when you configure a Pure array. Set the storage driver and array credentials using charm configuration:
juju config trilio-site-recovery \
storage-driver=pure \
pure-primary-management-ip=10.0.1.10 \
pure-primary-api-token=YOUR-PRIMARY-TOKEN \
pure-secondary-management-ip=10.0.2.10 \
pure-secondary-api-token=YOUR-SECONDARY-TOKEN \
pure-primary-site-name=site-a \
pure-secondary-site-name=site-b \
local-site=site-a
After setting these options, the charm rewrites /etc/protector/protector.conf and restarts the services. If the unit enters BLOCKED status with the message set local-site, pure-primary-site-name, pure-secondary-site-name, this is expected — the charm requires all three options before it will start the services. Set the missing values and the unit will recover automatically.
Kolla-Ansible
- Ensure the
python3-pure-clientpackage is available inside theprotector_enginecontainer. If you are building a custom image, install it during image build:apt-get install -y python3-pure-client - Edit
/etc/protector/protector.confon the host (mounted into the container) and add the Pure configuration sections described in the Configuration section below. - Restart the engine container:
docker restart protector_engine
OpenShift (RHOSO18)
- Add the Pure API token credentials to the
trilio-openstack-secretin thetrilio-openstacknamespace (the install script addsSrDatabasePasswordandSrKeystonePasswordkeys; add Pure credentials via the sameensure_password_keymechanism or by patching the secret directly). - Update the
configmapwith the[pure_storage]section shown in Configuration. - Run the installer to apply the full manifest set in the correct order:
The installer applies all twelve manifests, including the init Jobs for database, RabbitMQ, Keystone registration, and schema migration. Do not apply only the Deployment manifests — the containers cannot authenticate tokens or reach the database without the preceding Jobs.
bash deploy/openshift/scripts/install.sh \ --namespace trilio-site-recovery \ --image docker.io/xyzmd/trilio-site-recovery-openstack:dev
Manual / Bare-metal
- Add the Trilio apt repository and install the SDK:
echo "deb [trusted=yes] https://apt.fury.io/trilio-os-site-recovery-master/ /" \ > /etc/apt/sources.list.d/trilio-site-recovery.list apt-get update apt-get install -y python3-pure-client - Edit
/etc/protector/protector.confto add the Pure configuration (see Configuration below). - Restart the engine service.
All Pure Storage configuration lives in /etc/protector/protector.conf. The file uses INI-style sections. When using the Juju charm, do not edit this file directly — the charm overwrites it on every hook. Use juju config for the options the charm exposes, and config-flags for anything else.
Selecting the Pure driver
In [storage]:
[storage]
storage_driver = pure
The storage_driver option also accepts a full class path (protector.engine.storage.drivers.pure_driver.PureStorageDriver) or the short names mock and drbd (DRBD is in development and not for production use).
Primary array pair ([pure_storage])
[pure_storage]
# Management IP or hostname of the FlashArray at the primary site
primary_management_ip = 10.0.1.10
# API token for the primary array (treated as a secret — do not commit to VCS)
primary_api_token = YOUR-PRIMARY-TOKEN
# Management IP or hostname of the FlashArray at the secondary site
secondary_management_ip = 10.0.2.10
# API token for the secondary array
secondary_api_token = YOUR-SECONDARY-TOKEN
# The OpenStack site name that uses the primary FlashArray.
# This MUST match the site name registered with `openstack dr site create`.
# The driver resolves which array to talk to by site name, not by node position:
# if a protection group's primary site matches primary_site_name, the driver
# uses (primary_ip, secondary_ip); if it matches secondary_site_name, the pair
# is swapped. An identical section works unchanged on both nodes.
primary_site_name = site-a
# The OpenStack site name that uses the secondary FlashArray.
secondary_site_name = site-b
# Whether to verify SSL certificates when connecting to the arrays.
# Set to true in production environments with valid certificates.
verify_ssl = false
# Default RPO target in seconds for async replication health checks.
# A replication lag exceeding this value is flagged as an RPO violation.
# Default: 900 (15 minutes)
default_rpo_seconds = 900
# Snapshot interval for async replication in seconds.
# This controls how frequently the engine schedules snapshots on the
# Pure Protection Group. Shorter intervals reduce RPO but increase
# storage and WAN bandwidth consumption.
# Default: 300 (5 minutes)
snapshot_interval_seconds = 300
# Additional array pair sections to load (for multi-array environments).
# Each entry is a section name; the section itself is [pure_array:<name>].
# Example: additional_arrays = array-pair-2,array-pair-3
additional_arrays =
Additional array pairs ([pure_array:<name>])
For environments with more than one FlashArray pair, add named sections. The names listed in additional_arrays must each have a corresponding [pure_array:<name>] section:
[pure_storage]
additional_arrays = array-pair-2
[pure_array:array-pair-2]
primary_management_ip = 10.0.3.10
primary_api_token = YOUR-PAIR2-PRIMARY-TOKEN
secondary_management_ip = 10.0.4.10
secondary_api_token = YOUR-PAIR2-SECONDARY-TOKEN
primary_site_name = site-a
secondary_site_name = site-b
verify_ssl = false
# Cinder backend names that map volumes to this array pair.
# When a protection group member's volume uses one of these backend names,
# the engine routes storage operations to this array pair rather than the
# default [pure_storage] pair.
cinder_backend_names = pure-iscsi-fa3,pure-fc-fa3
Note: cinder_backend_names belongs in [pure_array:<name>] sections, not in [pure_storage] or [DEFAULT].
Site identity ([DEFAULT])
The local_site option in [DEFAULT] is mandatory before the service can participate in any DR operation. It must match the name you used when registering this instance's site:
[DEFAULT]
local_site = site-a
Replication mode reference
| Option | Section | Type | Default | Purpose |
|---|---|---|---|---|
storage_driver | [storage] | string | mock | Storage backend: mock, pure, or full class path |
primary_management_ip | [pure_storage] | string | — | Primary FlashArray management address |
primary_api_token | [pure_storage] | string (secret) | — | Primary array API token |
secondary_management_ip | [pure_storage] | string | — | Secondary FlashArray management address |
secondary_api_token | [pure_storage] | string (secret) | — | Secondary array API token |
primary_site_name | [pure_storage] | string | "" | OpenStack site name for the primary array |
secondary_site_name | [pure_storage] | string | "" | OpenStack site name for the secondary array |
verify_ssl | [pure_storage] | boolean | false | Verify TLS certificates for array connections |
default_rpo_seconds | [pure_storage] | integer | 900 | RPO target for health checks (seconds) |
snapshot_interval_seconds | [pure_storage] | integer | 300 | Async snapshot scheduling interval (seconds) |
additional_arrays | [pure_storage] | list | "" | Names of additional [pure_array:<name>] sections |
cinder_backend_names | [pure_array:<name>] | list | [] | Cinder backends routed to this array pair |
Site name pairing invariant
The primary_site_name in each array section must name the site whose FlashArray is at primary_management_ip. The driver uses this pairing to resolve which array to operate on during failover. If the names and IPs are mismatched, a failover reads its data off the wrong hardware — volumes appear missing on the array being promoted while they sit intact on the other. The driver raises StorageSiteMappingUnknown rather than guessing when it cannot resolve the pairing. An identical [pure_storage] section can be used on both OpenStack nodes without modification, because the driver swaps the IP pair at runtime based on the protection group's primary site.
Charm configuration (Juju)
For options the charm does not expose directly, use config-flags:
juju config trilio-site-recovery config-flags="engine:cross_site_timeout=60"
Do not use config-flags to set a key that the charm template already renders (such as pure_storage:primary_management_ip) — doing so appends a duplicate section and causes a DuplicateSectionError.
Replication modes at a glance
Trilio Site Recovery for OpenStack supports two Pure Storage replication modes. Choose based on your RPO requirements:
| Aspect | Periodic Async | ActiveDR |
|---|---|---|
| Pure construct | Protection Group + scheduled snapshots | Two pods + directional replica link |
| Replication | Scheduled (configurable interval) | Continuous — every write replicated |
| RPO | Minutes (= snapshot interval) | Continuous asynchronous replication; lag varies with write rate and link bandwidth and can reach tens of minutes under load. The default RPO target used for health reporting is default_rpo_seconds=900 (15 minutes). |
| Recovery points | Every replicated snapshot | Latest state; source-side snapshots ride the replica stream |
| Cinder volume type | Required — replication_enabled=True, replication_type=async | Not required — standard non-replicated volume type |
| Failover mechanism | Restore volumes from replicated snapshot, then boot VMs | Promote target pod, manage volumes into Cinder, boot VMs |
| Failback mechanism | Reverse-replicate snapshot back to source | Demote DR pod → replication auto-reverses → promote original source |
| Purity version | Any supported | 6.0+ |
Creating a protection group: periodic async
Periodic async requires a Cinder volume type with replication_enabled=True and replication_type=async. Volumes in the protection group must use this type.
openstack dr protection group create my-pg \
--primary-site site-a \
--secondary-site site-b \
--replication-type async \
--volume-type replicated-pure-iscsi
The --volume-type flag is required for --replication-type async. The CLI enforces this client-side and exits with an error before sending any request if --volume-type is omitted.
Creating a protection group: ActiveDR
ActiveDR manages replication entirely via the Pure REST API, bypassing Cinder's replication abstractions. Use a standard (non-replicated) Cinder volume type — one that maps to your Pure FlashArray backend but does not have replication_enabled=True. Using a Cinder-replicated volume type with ActiveDR causes a conflict and will be rejected.
openstack dr protection group create my-activedr-pg \
--primary-site site-a \
--secondary-site site-b \
--replication-type active_dr
--volume-type is not required for active_dr and should not be provided.
When the protection group is created, the service automatically:
- Verifies a replication connection exists between the two arrays
- Creates a source pod on the primary array (promoted, writable)
- Creates a matching pod on the secondary array
- Demotes the secondary pod (mandatory before creating the replica link)
- Creates a directional pod replica link (source → target)
- Polls until the link transitions from
baseliningtoreplicating
Adding members
Add VMs to a protection group after creating it. All volumes attached to the VM must use the correct Cinder type for the group's replication mode.
openstack dr protection group member add my-pg \
--instance my-vm-id
LUKS-encrypted volumes are rejected at this step with InvalidInput. Use Pure array-side data-at-rest encryption instead.
Checking replication health
Use dr replication health to inspect the current replication state for a protection group:
openstack dr replication health my-pg
Add --probe to also ask the recovery site whether the group's networks, security groups, and flavors resolve there for the project it recovers into. This queries the recovery site's Neutron and Nova through the same trust-scoped session a real recovery uses, so a resource that exists on the recovery site but belongs to a different project is correctly reported as missing. The --probe flag does not test the storage backend or replication lag — it tests resource resolution on the recovery site. Run it before a planned failover window, not as a storage health check.
openstack dr replication health my-pg --probe
Recovery points
For periodic async, every replicated snapshot is a selectable recovery point. For ActiveDR, the default failover promotes the target pod with its latest continuously replicated data; because replication is continuous but asynchronous, the recovered state reflects whatever replication lag existed at the moment of failover. For point-in-time recovery with ActiveDR, source-side snapshots scheduled on the promoted pod ride the replica stream automatically.
List available recovery points:
openstack dr recovery point list my-pg
Create an on-demand recovery point (async only):
openstack dr recovery point create my-pg --suffix pre-maintenance
Failover
For a planned failover (graceful, primary available):
openstack dr failover my-pg --failover-type planned
For an unplanned failover (primary unreachable):
openstack dr failover my-pg --failover-type unplanned
For periodic async, you can target a specific recovery point:
openstack dr failover my-pg --failover-type planned --recovery-point <rp-name>
If your recovery site uses different network or flavor IDs than the primary, provide mappings. The separator is = (not :):
openstack dr failover my-pg \
--failover-type planned \
--network-mapping primary-net-id=recovery-net-id \
--flavor-mapping m1.large=m1.large-dr
Recovered instances are created with a -failover suffix appended to their original name (e.g., web-server becomes web-server-failover). Update any external systems — DNS records, monitoring, CMDBs, runbooks — that reference the original name.
To monitor progress:
openstack dr failover my-pg --failover-type planned --wait --wait-timeout 1800
The operation record reports progress (0–100). There is no estimated completion time — the service does not compute one.
Failback
After failover completes, fail back when the primary site is ready:
openstack dr failback my-pg
For ActiveDR, failback is simpler than periodic async: demoting the DR pod reverses the replica link direction automatically; no reverse snapshot replication is needed. The service waits up to 120 seconds per volume for Nova attachments to release before unmanaging volumes from Cinder. This wait is best-effort — a volume still attached at the deadline is unmanaged anyway and logged rather than causing the failback to abort. A slow detach is the wait working, not a hang.
Recovered instances are created with a -restored suffix (e.g., web-server-failover does not become web-server — it becomes web-server-restored). Suffixes do not compound across a round trip; the original instance_name is preserved in the member record.
ActiveDR: how failover and failback work at the array level
Planned failover:
- Validate replica link status — link must be
replicatingwith acceptable lag - Shut down VMs on the primary site
- Wait for replica link lag to reach zero (continuous replication catches up quickly after I/O stops)
- Demote the source pod on the primary array
- Promote the target pod on the secondary array — replication auto-reverses once the old source is demoted
- Manage volumes from the promoted pod into Cinder on the secondary site
- Boot VMs on the secondary site
Unplanned failover (primary unreachable):
- Steps 2–4 are skipped (no graceful shutdown, no demote — primary may be unreachable)
- The target pod is promoted directly
- Split-brain risk: both pods may be promoted simultaneously. Fence the old primary to prevent divergent writes. When the old primary returns, demote it (without quiesce) to discard its divergent writes and resume replication
Planned failback:
- Shut down VMs on the secondary site
- Verify the reverse replica link (secondary → primary) is healthy with acceptable lag
- Demote the secondary pod — replication auto-reverses back to original direction (primary → secondary)
- Promote the primary pod
- Boot VMs on the primary site (volumes in the pod already hold correct data)
- Clean up Cinder volumes and VMs created on the secondary during failover
Replication audit
To audit replication state across all protection groups visible to your account:
openstack dr replication audit
This command requires the dr_site_admin role.
Example 1: Full periodic async setup and failover
Register both sites, create a protection group with periodic async replication, add a member, and perform a planned failover.
# Register both sites (requires dr_site_admin role)
openstack dr site create site-a \
--auth-url https://keystone-site-a.example.com:5000/v3 \
--region RegionOne
openstack dr site create site-b \
--auth-url https://keystone-site-b.example.com:5000/v3 \
--region RegionOne
# Create a protection group with periodic async replication
# --volume-type is required for async
openstack dr protection group create production-pg \
--primary-site site-a \
--secondary-site site-b \
--replication-type async \
--volume-type replicated-pure-iscsi
# Add a VM to the protection group
openstack dr protection group member add production-pg \
--instance a1b2c3d4-e5f6-7890-abcd-ef1234567890
# Check replication health before the maintenance window
openstack dr replication health production-pg --probe
# List available recovery points
openstack dr recovery point list production-pg
# Perform a planned failover, mapping networks that differ between sites
openstack dr failover production-pg \
--failover-type planned \
--network-mapping prod-net-site-a=prod-net-site-b \
--wait --wait-timeout 1800
Example 2: ActiveDR protection group setup
# Create an ActiveDR protection group
# No --volume-type required; use a non-replicated Cinder type for volumes
openstack dr protection group create activedr-pg \
--primary-site site-a \
--secondary-site site-b \
--replication-type active_dr
# Add a member (volumes must use a non-replicated Cinder volume type)
openstack dr protection group member add activedr-pg \
--instance a1b2c3d4-e5f6-7890-abcd-ef1234567890
# Monitor replication health
openstack dr replication health activedr-pg
Example 3: On-demand recovery point (periodic async)
# Create a named recovery point before a risky change
openstack dr recovery point create production-pg --suffix pre-upgrade
# List all recovery points
openstack dr recovery point list production-pg
# Failover to the specific recovery point if the upgrade corrupts data
openstack dr failover production-pg \
--failover-type unplanned \
--recovery-point pre-upgrade
Example 4: Inspect operation progress after failover
# List operations for the protection group
openstack dr operation list --protection-group production-pg
# Show details for a specific operation
# The Source Site and Target Site columns show site names (falling back to ID)
openstack dr operation show <operation-id>
Example 5: Minimal [pure_storage] configuration block
This is a complete, annotated [pure_storage] section for /etc/protector/protector.conf with one array pair:
[DEFAULT]
local_site = site-a
[storage]
storage_driver = pure
[pure_storage]
primary_management_ip = 10.0.1.10
primary_api_token = T-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
secondary_management_ip = 10.0.2.10
secondary_api_token = T-yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
primary_site_name = site-a
secondary_site_name = site-b
verify_ssl = false
default_rpo_seconds = 900
snapshot_interval_seconds = 300
Example 6: Multi-array configuration
[pure_storage]
primary_management_ip = 10.0.1.10
primary_api_token = T-primary-token
secondary_management_ip = 10.0.2.10
secondary_api_token = T-secondary-token
primary_site_name = site-a
secondary_site_name = site-b
verify_ssl = false
default_rpo_seconds = 900
snapshot_interval_seconds = 300
additional_arrays = array-pair-2
[pure_array:array-pair-2]
primary_management_ip = 10.0.3.10
primary_api_token = T-pair2-primary-token
secondary_management_ip = 10.0.4.10
secondary_api_token = T-pair2-secondary-token
primary_site_name = site-a
secondary_site_name = site-b
verify_ssl = false
cinder_backend_names = pure-iscsi-fa3,pure-fc-fa3
Example 7: Python client — check replication health
from keystoneauth1 import identity, session
from keystoneauth1.adapter import Adapter
from triliositerecovery.v1.client import Client
auth = identity.v3.Password(
auth_url='https://keystone.site-a.example.com:5000/v3',
username='myuser',
password='mypassword',
project_name='myproject',
user_domain_name='Default',
project_domain_name='Default',
)
ks_session = session.Session(auth=auth)
adapter = Adapter(
session=ks_session,
service_type='disaster-recovery',
interface='public',
region_name='RegionOne',
)
# endpoint_override is required; omitting it causes requests to fail
client = Client(
session=adapter,
endpoint='https://protector-api.site-a.example.com:8788',
region_name='RegionOne',
)
# Returns a plain dict (not an object) — use dict['key'], not dict.key
health = client.protection_groups.replication_health('my-pg-id')
print(health['failover_ready'])
print(health['failover_ready_reason'])
# replication_health also supports the probe flag
health_with_probe = client.protection_groups.replication_health(
'my-pg-id', probe=True
)
Example 8: Python client — failover
# DR operation methods are on client.operations (OperationManager),
# not on client.protection_groups.
# The resource ID is positional; pass mappings as dicts, not 'src=dst' strings.
operation = client.operations.failover(
'my-pg-id',
failover_type='planned',
network_mapping={'src-net-id': 'dst-net-id'},
)
# Returns a plain dict
print(operation['id'])
print(operation['status'])
Unit in BLOCKED state after Juju upgrade: set local-site, pure-primary-site-name, pure-secondary-site-name
Symptom: After upgrading the trilio-site-recovery-for-openstack charm, the unit enters BLOCKED status with the message set local-site, pure-primary-site-name, pure-secondary-site-name.
Cause: This is expected behavior in charm version 1.0.20 and later. The charm requires all three configuration options before it will start the services. It does not infer the site identity — the inference was removed because it produced wrong results on the recovery site.
Fix:
juju config trilio-site-recovery \
local-site=site-a \
pure-primary-site-name=site-a \
pure-secondary-site-name=site-b
Failover fails mid-operation with HTTP 403: Policy doesn't allow volume_extension:volume_manage
Symptom: The protection group deploys and reports healthy. The first failover starts but stops partway through with an error referencing volume_extension:volume_manage and HTTP 403.
Cause: One or more of the five required Cinder policy rules has not been relaxed on the recovery site. The service runs as a tenant (via Keystone trust), and stock Cinder restricts volume manage/unmanage to admins. This passes silently during deployment and health checks but fails at the point Cinder is called during failover.
Fix: Apply all five relaxations on both sites:
"volume_extension:volume_manage": "rule:admin_or_owner"
"volume_extension:volume_unmanage": "rule:admin_or_owner"
"volume_extension:services:index": "rule:admin_or_owner"
"volume_extension:type_get": "rule:admin_or_owner"
"volume_extension:type_get_all": "rule:admin_or_owner"
For Juju-managed Cinder, use juju attach-resource cinder policyd-override <policy-file>.
StorageSiteMappingUnknown error during failover
Symptom: The engine raises StorageSiteMappingUnknown (HTTP 500) when attempting a failover or any storage operation.
Cause: The primary_site_name or secondary_site_name values in [pure_storage] do not match the site names registered via openstack dr site create. The driver resolves which array to use by comparing the protection group's primary site name against primary_site_name and secondary_site_name. A mismatch means neither side matches, and the driver refuses rather than guessing.
Fix: Verify that the site names in protector.conf exactly match the names returned by openstack dr site list. The comparison is case-sensitive.
openstack dr site list
Then confirm:
[pure_storage]
primary_site_name = <exact-name-from-site-list>
secondary_site_name = <exact-name-from-site-list>
LUKS-encrypted volume rejected with InvalidInput
Symptom: openstack dr protection group member add fails with InvalidInput referencing an encrypted volume.
Cause: LUKS-encrypted volumes cannot be recovered across sites. Cinder's manage API cannot associate Barbican encryption keys on the DR site, making recovery impossible.
Fix: Use Pure array-side data-at-rest encryption instead of host-side LUKS. Array-side encryption is transparent to the DR service and fully supported.
ActiveDR protection group creation fails: undo-demote pod exists
Symptom: Protection group creation for active_dr fails with an error from the Pure array indicating the pod cannot be demoted because an undo-demote artifact exists.
Cause: A prior demotion left a <pod-name>.undo-demote.<N> artifact pod. Pure refuses to demote again until this is eradicated. The array eradicates it automatically after approximately 24 hours.
Fix: Either wait for the artifact to be auto-eradicated, or eradicate it manually via the FlashArray management interface or CLI. After eradication, retry the protection group creation.
python3-pure-client not installed: RuntimeError: py-pure-client SDK not installed
Symptom: The protector-engine logs show py-pure-client SDK not installed or a RuntimeError during storage initialization.
Cause: The python3-pure-client package is not installed on the node running protector-engine.
Fix: Install it from the Trilio apt repository:
apt-get install -y python3-pure-client
For Juju deployments, the charm installs this package automatically when Pure is configured. If it is missing, run:
juju run-action trilio-site-recovery/0 upgrade-packages --wait
For machines running only the CLI (not managed by the charm), upgrade separately:
apt-get install --only-upgrade python3-triliositerecovery
Failback appears to hang for a long time
Symptom: Failback seems to stall after deleting the DR instances. No error is reported, but progress is slow.
Cause: This is expected behavior. Failback waits up to 120 seconds per volume for Nova to release each volume's Cinder attachment after the DR instance is deleted. Nova does not detach synchronously — the attachment is released after the server is fully deleted. The wait is serial across volumes, so a site whose Nova detaches slowly will show a visibly longer failback.
Fix: No action required. The wait is working as designed. A volume still attached at the 120-second deadline is unmanaged anyway and logged — the failback is not aborted. If this recurs frequently, investigate Nova's delete latency on the recovery site.
Operation Source Site and Target Site columns are empty
Symptom: openstack dr operation show <id> displays blank values in the Source Site and Target Site columns.
Cause: You are running a version of the service prior to the fix that added site name resolution to the operations API (commit b277167). Earlier versions emitted only source_site_id and target_site_id internally but the CLI columns read source_site and target_site (names), so both columns appeared blank.
Fix: Upgrade to the current release. After upgrade, the columns display the site name, falling back to the site ID if the name cannot be resolved.
config-flags causes DuplicateSectionError
Symptom: After setting config-flags on the Juju charm, the service fails to start with a DuplicateSectionError from oslo.config or configparser.
Cause: The config-flags value references a configuration key that the charm template already renders as a section. Appending the same section twice causes the error.
Fix: Only use config-flags for keys that the charm does not already manage. The 47 charm-managed options are listed in the charm configuration. For example, engine:cross_site_timeout is safe because the charm template does not render it. Keys like pure_storage:primary_management_ip are unsafe — use the dedicated charm options (pure-primary-management-ip) instead.