Browse Source

Set Ceph pools rule_name to replicated_rule

By setting the value of rule_name explicitly, we prevent backward
incompatibility issues because the default which ceph-ansible uses
might fit a particular version of Ceph, not all.

Change-Id: I275c1ca53ea79eea607cbbb58aa21cae6d6be80b
Closes-Bug: 1776252
tags/9.0.0.0b4
Giulio Fidente 1 year ago
parent
commit
dcf558628f

+ 1
- 1
ci/environments/scenario001-multinode-containers.yaml View File

@@ -124,7 +124,7 @@ parameter_defaults:
124 124
   CephPools:
125 125
     - name: altrbd
126 126
       pg_num: 8
127
-      rule_name: ''
127
+      rule_name: replicated_rule
128 128
   CephAnsibleExtraConfig:
129 129
     centos_package_dependencies: []
130 130
     ceph_osd_docker_memory_limit: '1g'

+ 3
- 3
docker/services/ceph-ansible/ceph-base.yaml View File

@@ -83,7 +83,7 @@ parameters:
83 83
     description: >
84 84
       It can be used to override settings for one of the predefined pools, or to create
85 85
       additional ones. Example:
86
-      [{"name": "volumes", "pg_num": 64, "rule_name": ""}]
86
+      [{"name": "volumes", "pg_num": 64, "rule_name": "replicated_rule"}]
87 87
     default: []
88 88
     type: json
89 89
   CinderRbdPoolName:
@@ -226,7 +226,7 @@ resources:
226 226
                       template:
227 227
                         name: <%pool%>
228 228
                         pg_num: {get_param: CephPoolDefaultPgNum}
229
-                        rule_name: ""
229
+                        rule_name: replicated_rule
230 230
                         application: rbd
231 231
                       for_each:
232 232
                         <%pool%>:
@@ -242,7 +242,7 @@ resources:
242 242
                     - []
243 243
                     - - name: {get_param: GnocchiRbdPoolName}
244 244
                         pg_num: {get_param: CephPoolDefaultPgNum}
245
-                        rule_name: ""
245
+                        rule_name: replicated_rule
246 246
                         application: openstack_gnocchi
247 247
                   - {get_param: CephPools}
248 248
           openstack_keys: &openstack_keys

Loading…
Cancel
Save