Comment 11 for bug 1827529

Revision history for this message
Wendy Mitchell (wmitchellwr) wrote :

verified 2019-08-12_20-59-00

Replication factor 3 can be configured if both controllers are unlocked (controller-1 can be in degraded)

On storage system 2+2+X deployment
Unable to modify replication factor if the storage nodes are installed already
$ system storage-backend-modify ceph-store replication=3 min_replication=2
Can not modify ceph replication factor once a storage node has been installed. This operation is not supported.

If storage nodes are not installed, both controllers are needed
[sysadmin@controller-0 ~(keystone_admin)]$ system storage-backend-modify ceph-store replication=3 min_replication=2
Storage backend operations require both controllers to be enabled and available/degraded.

$ system storage-backend-modify ceph-store replication=3 min_replication=2
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| backend | ceph |
| name | ceph-store |
| state | configured |
| task | provision-storage |
| services | None |
| capabilities | min_replication: 2 |
| | replication: 3 |
| object_gateway | False |
| ceph_total_space_gib | 0 |
| object_pool_gib | None |
| cinder_pool_gib | None |
| kube_pool_gib | None |
| glance_pool_gib | None |
| ephemeral_pool_gib | None |
| tier_name | storage |
| tier_uuid | 1bfcc144-2afd-4b95-bce1-1790d4c784f3 |
| created_at | 2019-08-14T14:03:48.338323+00:00 |
| updated_at | 2019-08-14T14:43:47.536261+00:00

$ system storage-backend-list
+--------------------------------------+-------------+----------+------------+-------------------+----------+--------------------+
| uuid | name | backend | state | task | services | capabilities |
+--------------------------------------+-------------+----------+------------+-------------------+----------+--------------------+
| 9b7a0b9b-03ff-4806-8c9b-4573f3e19e6a | shared_serv | external | configured | None | glance | |
| | ices | | | | | |
| | | | | | | |
| ed785c9a-3b3c-403d-ac61-5b06ea61c113 | ceph-store | ceph | configured | provision-storage | None | min_replication: 2 |
| | | | | | | replication: 3

$ system storage-backend-show ed785c9a-3b3c-403d-ac61-5b06ea61c113
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| backend | ceph |
| name | ceph-store |
| state | configured |
| task | provision-storage |
| services | None |
| capabilities | min_replication: 2 |
| | replication: 3 |
| object_gateway | False |
| ceph_total_space_gib | 0 |
| object_pool_gib | None |
| cinder_pool_gib | None |
| kube_pool_gib | None |
| glance_pool_gib | None |
| ephemeral_pool_gib | None |
| tier_name | storage |
| tier_uuid | 1bfcc144-2afd-4b95-bce1-1790d4c784f3 |
| created_at | 2019-08-14T14:03:48.338323+00:00 |
| updated_at | 2019-08-14T14:43:47.536261+00:00

On a simplex system the replication factor can still be modified if the host is locked
$ system storage-backend-modify ceph-store replication=3 min_replication=2
Storage backend operations require controller host to be locked.

$ system storage-backend-modify ceph-store replication=3 min_replication=2
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+
| backend | ceph |
| name | ceph-store |
| state | configured |
| task | None |
| services | None |
| capabilities | min_replication: 2 |
| | replication: 3 |
| object_gateway | False |
| ceph_total_space_gib | 0 |
| object_pool_gib | None |
| cinder_pool_gib | None |
| kube_pool_gib | None |
| glance_pool_gib | None |
| ephemeral_pool_gib | None |
| tier_name | storage |
| tier_uuid | 420ae23e-2725-4bed-9228-ba9e1d887285 |
| created_at | 2019-08-14T06:32:58.068063+00:00 |
| updated_at | 2019-08-14T14:50:38.752069+00:00