thank you Simon It seems, that for different backends, there are different fields present for this command. I do not get the `replication_capability` field for ceph. I only get the `replication_enabled` field. So I have the problem, that ceph uses internal replication, but this is completely transparent for Cinder. greetings Josephine (Luzi) Am 15.02.24 um 16:39 schrieb simon@purestorage.com:
With regards to the information about Cinder backends replication capabilities, a lot of this information is already exposed with the `cinder get-pools --detail` command - no equivalent OpenStack command that I know of.
Yes, this is Admin only, but it could provide some of the information you need.
For example, this Pure Storage backend is configured for multiple replication types to multiple different backends:
$ cinder get-pools --detail +--------------------------------------+------------------------------+ | Property | Value | +--------------------------------------+------------------------------+ | QoS_support | True | | allocated_capacity_gb | 10 | | cacheable | True | | consistencygroup_support | True | | consistent_group_replication_enabled | True | | consistent_group_snapshot_enabled | True | | driver_version | 18.0.iscsi | | filter_function | None | | free_capacity_gb | 72.54375000018626 | | goodness_function | None | | input_per_sec | 0 | | max_over_subscription_ratio | 1.0 | | multiattach | True | | name | pure-cluster-1@fa-1#fa-1 | | output_per_sec | 0 | | provisioned_capacity | 10.0 | | queue_depth | 0 | | reads_per_sec | 0 | | replication_capability | trisync | | replication_count | 2 | | replication_enabled | True | | replication_targets | ['fa-2', 'fa-3'] | | replication_type | ['async', 'sync', 'trisync'] | | reserved_percentage | 0 | | storage_protocol | iSCSI | | thin_provisioning_support | True | | timestamp | 2024-02-15T15:26:22.210497 | | total_capacity_gb | 72.54375000018626 | | total_hosts | 2 | | total_pgroups | 2 | | total_snapshots | 3 | | total_volumes | 1 | | usec_per_read_op | 0 | | usec_per_write_op | 0 | | vendor_name | Pure Storage | | volume_backend_name | fa-1 | | writes_per_sec | 0 | +--------------------------------------+------------------------------+
If the backend isn't actually configured for replication, Pure also exposes whether the backend is even capable of supporting different replication types, depending on how the backend has been configured (outside of OpenStack)... $ cinder get-pools --detail +--------------------------------------+----------------------------+ | Property | Value | +--------------------------------------+----------------------------+ | QoS_support | True | | allocated_capacity_gb | 10 | | cacheable | True | | consistencygroup_support | True | | consistent_group_replication_enabled | True | | consistent_group_snapshot_enabled | True | | driver_version | 18.0.iscsi | | filter_function | None | | free_capacity_gb | 72.54609375074506 | | goodness_function | None | | input_per_sec | 0 | | max_over_subscription_ratio | 1.0 | | multiattach | True | | name | pure-cluster-1@fa-1#fa-1 | | output_per_sec | 0 | | provisioned_capacity | 10.0 | | queue_depth | 0 | | reads_per_sec | 0 | | replication_capability | trisync | | replication_count | 0 | | replication_enabled | False | | replication_targets | [] | | replication_type | [] | | reserved_percentage | 0 | | storage_protocol | iSCSI | | thin_provisioning_support | True | | timestamp | 2024-02-15T15:35:59.133353 | | total_capacity_gb | 72.54609375074506 | | total_hosts | 2 | | total_pgroups | 2 | | total_snapshots | 3 | | total_volumes | 1 | | usec_per_read_op | 0 | | usec_per_write_op | 0 | | vendor_name | Pure Storage | | volume_backend_name | fa-1 | | writes_per_sec | 0 | +--------------------------------------+----------------------------+
Here there are no replication targets or types listed, but the replication capability is defined.
Simon
-- Josephine Seifert IT-Innovationsassistent Cloud&Heat Technologies GmbH Königsbrücker Straße 96 | 01099 Dresden +49 351 479 367 00 Josephine.Seifert@cloudandheat.com | www.cloudandheat.com Green, Open, Efficient. Your Cloud Service and Cloud Technology Provider from Dresden. https://www.cloudandheat.com/ Commercial Register: District Court Dresden Register Number: HRB 30549 VAT ID No.: DE281093504 Managing Director: Nicolas Röhrs Authorized signatory: Dr. Marius Feldmann