Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 1 | ============================== |
| 2 | Openstack Cinder Block Storage |
| 3 | ============================== |
| 4 | |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 5 | Cinder provides an infrastructure for managing volumes in OpenStack. It was |
| 6 | originally a Nova component called nova-volume, but has become an independent |
| 7 | project since the Folsom release. |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 8 | |
| 9 | Sample pillars |
| 10 | ============== |
| 11 | |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 12 | New structure divides cinder-api,cinder-scheduler to role controller and |
| 13 | cinder-volume to role volume. |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 14 | |
| 15 | .. code-block:: yaml |
| 16 | |
| 17 | cinder: |
| 18 | controller: |
| 19 | enabled: true |
| 20 | version: juno |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 21 | default_volume_type: 7k2SaS |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 22 | database: |
| 23 | engine: mysql |
| 24 | host: 127.0.0.1 |
| 25 | port: 3306 |
| 26 | name: cinder |
| 27 | user: cinder |
| 28 | password: pwd |
| 29 | identity: |
| 30 | engine: keystone |
| 31 | host: 127.0.0.1 |
| 32 | port: 35357 |
| 33 | tenant: service |
| 34 | user: cinder |
| 35 | password: pwd |
| 36 | message_queue: |
| 37 | engine: rabbitmq |
| 38 | host: 127.0.0.1 |
| 39 | port: 5672 |
| 40 | user: openstack |
| 41 | password: pwd |
| 42 | virtual_host: '/openstack' |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 43 | backend: |
| 44 | 7k2_SAS: |
| 45 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 46 | type_name: slow-disks |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 47 | host: 192.168.0.1 |
| 48 | port: 22 |
| 49 | user: username |
| 50 | password: pass |
| 51 | connection: FC/iSCSI |
| 52 | multihost: true |
| 53 | multipath: true |
| 54 | pool: SAS7K2 |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 55 | audit: |
| 56 | enabled: false |
Simon Pasquier | 9089de4 | 2017-02-03 16:13:22 +0100 | [diff] [blame] | 57 | osapi_max_limit: 500 |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 58 | |
| 59 | cinder: |
| 60 | volume: |
| 61 | enabled: true |
| 62 | version: juno |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 63 | default_volume_type: 7k2SaS |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 64 | database: |
| 65 | engine: mysql |
| 66 | host: 127.0.0.1 |
| 67 | port: 3306 |
| 68 | name: cinder |
| 69 | user: cinder |
| 70 | password: pwd |
| 71 | identity: |
| 72 | engine: keystone |
| 73 | host: 127.0.0.1 |
| 74 | port: 35357 |
| 75 | tenant: service |
| 76 | user: cinder |
| 77 | password: pwd |
| 78 | message_queue: |
| 79 | engine: rabbitmq |
| 80 | host: 127.0.0.1 |
| 81 | port: 5672 |
| 82 | user: openstack |
| 83 | password: pwd |
| 84 | virtual_host: '/openstack' |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 85 | backend: |
| 86 | 7k2_SAS: |
| 87 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 88 | type_name: 7k2 SAS disk |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 89 | host: 192.168.0.1 |
| 90 | port: 22 |
| 91 | user: username |
| 92 | password: pass |
| 93 | connection: FC/iSCSI |
| 94 | multihost: true |
| 95 | multipath: true |
| 96 | pool: SAS7K2 |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 97 | audit: |
| 98 | enabled: false |
Ondrej Smola | ed6abbf | 2017-04-25 11:55:44 +0200 | [diff] [blame^] | 99 | |
Jiri Konecny | 2dce35f | 2016-04-19 16:29:52 +0200 | [diff] [blame] | 100 | |
| 101 | Client-side RabbitMQ HA setup for controller |
| 102 | |
| 103 | .. code-block:: yaml |
| 104 | |
| 105 | cinder: |
| 106 | controller: |
| 107 | .... |
| 108 | message_queue: |
| 109 | engine: rabbitmq |
| 110 | members: |
| 111 | - host: 10.0.16.1 |
| 112 | - host: 10.0.16.2 |
| 113 | - host: 10.0.16.3 |
| 114 | user: openstack |
| 115 | password: pwd |
| 116 | virtual_host: '/openstack' |
| 117 | .... |
| 118 | |
| 119 | Client-side RabbitMQ HA setup for volume component |
| 120 | |
| 121 | .. code-block:: yaml |
| 122 | |
| 123 | cinder: |
| 124 | volume: |
| 125 | .... |
| 126 | message_queue: |
| 127 | engine: rabbitmq |
| 128 | members: |
| 129 | - host: 10.0.16.1 |
| 130 | - host: 10.0.16.2 |
| 131 | - host: 10.0.16.3 |
| 132 | user: openstack |
| 133 | password: pwd |
| 134 | virtual_host: '/openstack' |
| 135 | .... |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 136 | |
| 137 | Cinder setup with zeroing deleted volumes |
| 138 | |
Alexander Noskov | 62496fb | 2017-02-27 16:42:54 +0100 | [diff] [blame] | 139 | .. code-block:: yaml |
| 140 | |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 141 | cinder: |
| 142 | controller: |
| 143 | enabled: true |
| 144 | wipe_method: zero |
| 145 | ... |
| 146 | |
| 147 | Cinder setup with shreding deleted volumes |
| 148 | |
| 149 | .. code-block:: yaml |
| 150 | |
| 151 | cinder: |
| 152 | controller: |
| 153 | enabled: true |
| 154 | wipe_method: shred |
| 155 | ... |
| 156 | |
| 157 | |
| 158 | Default Cinder setup with iSCSI target |
| 159 | |
| 160 | .. code-block:: yaml |
| 161 | |
| 162 | cinder: |
| 163 | controller: |
| 164 | enabled: true |
Jakub Pavlik | 3d437df | 2016-04-11 22:07:50 +0200 | [diff] [blame] | 165 | version: mitaka |
| 166 | default_volume_type: lvmdriver-1 |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 167 | database: |
| 168 | engine: mysql |
| 169 | host: 127.0.0.1 |
| 170 | port: 3306 |
| 171 | name: cinder |
| 172 | user: cinder |
| 173 | password: pwd |
| 174 | identity: |
| 175 | engine: keystone |
| 176 | host: 127.0.0.1 |
| 177 | port: 35357 |
| 178 | tenant: service |
| 179 | user: cinder |
| 180 | password: pwd |
| 181 | message_queue: |
| 182 | engine: rabbitmq |
| 183 | host: 127.0.0.1 |
| 184 | port: 5672 |
| 185 | user: openstack |
| 186 | password: pwd |
| 187 | virtual_host: '/openstack' |
Jakub Pavlik | af96c2a | 2016-01-08 15:49:54 +0100 | [diff] [blame] | 188 | backend: |
Jakub Pavlik | 3d437df | 2016-04-11 22:07:50 +0200 | [diff] [blame] | 189 | lvmdriver-1: |
| 190 | engine: lvm |
| 191 | type_name: lvmdriver-1 |
| 192 | volume_group: cinder-volume |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 193 | |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 194 | Cinder setup for IBM Storwize |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 195 | |
| 196 | .. code-block:: yaml |
| 197 | |
| 198 | cinder: |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 199 | volume: |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 200 | enabled: true |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 201 | backend: |
| 202 | 7k2_SAS: |
| 203 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 204 | type_name: 7k2 SAS disk |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 205 | host: 192.168.0.1 |
| 206 | port: 22 |
| 207 | user: username |
| 208 | password: pass |
| 209 | connection: FC/iSCSI |
| 210 | multihost: true |
| 211 | multipath: true |
| 212 | pool: SAS7K2 |
| 213 | 10k_SAS: |
| 214 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 215 | type_name: 10k SAS disk |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 216 | host: 192.168.0.1 |
| 217 | port: 22 |
| 218 | user: username |
| 219 | password: pass |
| 220 | connection: FC/iSCSI |
| 221 | multihost: true |
| 222 | multipath: true |
| 223 | pool: SAS10K |
| 224 | 15k_SAS: |
| 225 | engine: storwize |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 226 | type_name: 15k SAS |
Ales Komarek | df13bbd | 2016-01-05 21:33:36 +0100 | [diff] [blame] | 227 | host: 192.168.0.1 |
| 228 | port: 22 |
| 229 | user: username |
| 230 | password: pass |
| 231 | connection: FC/iSCSI |
| 232 | multihost: true |
| 233 | multipath: true |
| 234 | pool: SAS15K |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 235 | |
Jiri Broulik | 88548db | 2017-03-31 12:21:37 +0200 | [diff] [blame] | 236 | |
| 237 | Cinder setup with NFS |
| 238 | |
| 239 | .. code-block:: yaml |
| 240 | |
| 241 | cinder: |
| 242 | controller: |
| 243 | enabled: true |
| 244 | default_volume_type: nfs-driver |
| 245 | backend: |
| 246 | nfs-driver: |
| 247 | engine: nfs |
| 248 | type_name: nfs-driver |
| 249 | volume_group: cinder-volume |
| 250 | path: /var/lib/cinder/nfs |
| 251 | devices: |
| 252 | - 172.16.10.110:/var/nfs/cinder |
| 253 | options: rw,sync |
| 254 | |
| 255 | |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 256 | Cinder setup with Hitachi VPS |
| 257 | |
| 258 | .. code-block:: yaml |
| 259 | |
| 260 | cinder: |
| 261 | controller: |
| 262 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 263 | backend: |
| 264 | hus100_backend: |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 265 | type_name: HUS100 |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 266 | backend: hus100_backend |
| 267 | engine: hitachi_vsp |
| 268 | connection: FC |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 269 | |
Ondrej Smola | 16d66bd | 2017-01-15 13:56:03 +0100 | [diff] [blame] | 270 | Cinder setup with Hitachi VPS with defined ldev range |
| 271 | |
| 272 | .. code-block:: yaml |
| 273 | |
| 274 | cinder: |
| 275 | controller: |
| 276 | enabled: true |
| 277 | backend: |
| 278 | hus100_backend: |
| 279 | type_name: HUS100 |
| 280 | backend: hus100_backend |
| 281 | engine: hitachi_vsp |
| 282 | connection: FC |
| 283 | ldev_range: 0-1000 |
| 284 | |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 285 | Cinder setup with CEPH |
| 286 | |
| 287 | .. code-block:: yaml |
| 288 | |
| 289 | cinder: |
| 290 | controller: |
| 291 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 292 | backend: |
| 293 | ceph_backend: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 294 | type_name: standard-iops |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 295 | backend: ceph_backend |
| 296 | pool: volumes |
| 297 | engine: ceph |
| 298 | user: cinder |
| 299 | secret_uuid: da74ccb7-aa59-1721-a172-0006b1aa4e3e |
| 300 | client_cinder_key: AQDOavlU6BsSJhAAnpFR906mvdgdfRqLHwu0Uw== |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 301 | |
| 302 | http://ceph.com/docs/master/rbd/rbd-openstack/ |
| 303 | |
| 304 | |
| 305 | Cinder setup with HP3par |
| 306 | |
| 307 | .. code-block:: yaml |
| 308 | |
| 309 | cinder: |
| 310 | controller: |
| 311 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 312 | backend: |
| 313 | hp3par_backend: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 314 | type_name: hp3par |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 315 | backend: hp3par_backend |
| 316 | user: hp3paruser |
| 317 | password: something |
| 318 | url: http://10.10.10.10/api/v1 |
| 319 | cpg: OpenStackCPG |
| 320 | host: 10.10.10.10 |
| 321 | login: hp3paradmin |
| 322 | sanpassword: something |
| 323 | debug: True |
| 324 | snapcpg: OpenStackSNAPCPG |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 325 | |
| 326 | Cinder setup with Fujitsu Eternus |
| 327 | |
| 328 | .. code-block:: yaml |
| 329 | |
| 330 | cinder: |
| 331 | volume: |
| 332 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 333 | backend: |
| 334 | 10kThinPro: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 335 | type_name: 10kThinPro |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 336 | engine: fujitsu |
| 337 | pool: 10kThinPro |
| 338 | host: 192.168.0.1 |
| 339 | port: 5988 |
| 340 | user: username |
| 341 | password: pass |
| 342 | connection: FC/iSCSI |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 343 | name: 10kThinPro |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 344 | 10k_SAS: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 345 | type_name: 10k_SAS |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 346 | pool: SAS10K |
| 347 | engine: fujitsu |
| 348 | host: 192.168.0.1 |
| 349 | port: 5988 |
| 350 | user: username |
| 351 | password: pass |
| 352 | connection: FC/iSCSI |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 353 | name: 10k_SAS |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 354 | |
Jakub Pavlik | 9703c60 | 2015-10-15 18:52:47 +0200 | [diff] [blame] | 355 | Cinder setup with IBM GPFS filesystem |
| 356 | |
| 357 | .. code-block:: yaml |
| 358 | |
| 359 | cinder: |
| 360 | volume: |
| 361 | enabled: true |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 362 | backend: |
| 363 | GPFS-GOLD: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 364 | type_name: GPFS-GOLD |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 365 | engine: gpfs |
| 366 | mount_point: '/mnt/gpfs-openstack/cinder/gold' |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 367 | GPFS-SILVER: |
Jakub Pavlik | edd4610 | 2016-01-08 16:20:38 +0100 | [diff] [blame] | 368 | type_name: GPFS-SILVER |
Jakub Pavlik | 5d7df0d | 2016-01-06 13:08:30 +0100 | [diff] [blame] | 369 | engine: gpfs |
| 370 | mount_point: '/mnt/gpfs-openstack/cinder/silver' |
Jakub Pavlik | 9f5988a | 2016-01-11 13:44:57 +0100 | [diff] [blame] | 371 | |
| 372 | Cinder setup with HP LeftHand |
| 373 | |
| 374 | .. code-block:: yaml |
| 375 | |
| 376 | cinder: |
| 377 | volume: |
| 378 | enabled: true |
| 379 | backend: |
| 380 | HP-LeftHand: |
| 381 | type_name: normal-storage |
| 382 | engine: hp_lefthand |
| 383 | api_url: 'https://10.10.10.10:8081/lhos' |
| 384 | username: user |
| 385 | password: password |
| 386 | clustername: cluster1 |
| 387 | iscsi_chap_enabled: false |
| 388 | |
Jakub Pavlik | a63764f | 2016-01-11 14:41:06 +0100 | [diff] [blame] | 389 | Extra parameters for HP LeftHand |
Jakub Pavlik | a63764f | 2016-01-11 14:41:06 +0100 | [diff] [blame] | 390 | |
Jakub Pavlik | 5050dda | 2016-01-11 16:52:32 +0100 | [diff] [blame] | 391 | .. code-block:: yaml |
| 392 | |
| 393 | cinder type-key normal-storage set hplh:data_pl=r-10-2 hplh:provisioning=full |
| 394 | |
marco | daa52fa | 2016-01-25 23:49:50 +0100 | [diff] [blame] | 395 | Cinder setup with Solidfire |
Jakub Pavlik | 5050dda | 2016-01-11 16:52:32 +0100 | [diff] [blame] | 396 | |
| 397 | .. code-block:: yaml |
| 398 | |
| 399 | cinder: |
| 400 | volume: |
| 401 | enabled: true |
| 402 | backend: |
| 403 | solidfire: |
| 404 | type_name: normal-storage |
| 405 | engine: solidfire |
| 406 | san_ip: 10.10.10.10 |
| 407 | san_login: user |
| 408 | san_password: password |
| 409 | clustername: cluster1 |
| 410 | sf_emulate_512: false |
Filip Pytloun | da2a079 | 2015-10-06 16:28:31 +0200 | [diff] [blame] | 411 | |
Ondrej Smola | ed6abbf | 2017-04-25 11:55:44 +0200 | [diff] [blame^] | 412 | Enable cinder-backup service for ceph |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 413 | |
Ondrej Smola | ed6abbf | 2017-04-25 11:55:44 +0200 | [diff] [blame^] | 414 | .. code-block:: yaml |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 415 | |
Ondrej Smola | ed6abbf | 2017-04-25 11:55:44 +0200 | [diff] [blame^] | 416 | cinder: |
| 417 | controller: |
| 418 | enabled: true |
| 419 | version: mitaka |
| 420 | backup: |
| 421 | engine: ceph |
| 422 | ceph_conf: "/etc/ceph/ceph.conf" |
| 423 | ceph_pool: backup |
| 424 | ceph_stripe_count: 0 |
| 425 | ceph_stripe_unit: 0 |
| 426 | ceph_user: cinder |
| 427 | ceph_chunk_size: 134217728 |
| 428 | restore_discard_excess_bytes: false |
| 429 | volume: |
| 430 | enabled: true |
| 431 | version: mitaka |
| 432 | backup: |
| 433 | engine: ceph |
| 434 | ceph_conf: "/etc/ceph/ceph.conf" |
| 435 | ceph_pool: backup |
| 436 | ceph_stripe_count: 0 |
| 437 | ceph_stripe_unit: 0 |
| 438 | ceph_user: cinder |
| 439 | ceph_chunk_size: 134217728 |
| 440 | restore_discard_excess_bytes: false |
| 441 | |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 442 | Enable auditing filter, ie: CADF |
| 443 | |
| 444 | .. code-block:: yaml |
| 445 | |
| 446 | cinder: |
| 447 | controller: |
| 448 | audit: |
| 449 | enabled: true |
| 450 | .... |
| 451 | filter_factory: 'keystonemiddleware.audit:filter_factory' |
| 452 | map_file: '/etc/pycadf/cinder_api_audit_map.conf' |
| 453 | .... |
| 454 | volume: |
| 455 | audit: |
| 456 | enabled: true |
| 457 | .... |
| 458 | filter_factory: 'keystonemiddleware.audit:filter_factory' |
| 459 | map_file: '/etc/pycadf/cinder_api_audit_map.conf' |
| 460 | |
Michel Nederlof | b8603eb | 2017-02-09 10:04:38 +0100 | [diff] [blame] | 461 | |
| 462 | Cinder setup with custom availability zones: |
| 463 | |
| 464 | .. code-block:: yaml |
| 465 | |
| 466 | cinder: |
| 467 | controller: |
| 468 | default_availability_zone: my-default-zone |
| 469 | storage_availability_zone: my-custom-zone-name |
| 470 | cinder: |
| 471 | volume: |
| 472 | default_availability_zone: my-default-zone |
| 473 | storage_availability_zone: my-custom-zone-name |
| 474 | |
Andrii Ostapenko | b7aa34d | 2017-04-20 14:22:44 +0300 | [diff] [blame] | 475 | |
| 476 | Cinder setup with custom non-admin volume query filters: |
| 477 | |
| 478 | .. code-block:: yaml |
| 479 | |
| 480 | cinder: |
| 481 | controller: |
| 482 | query_volume_filters: |
| 483 | - name |
| 484 | - status |
| 485 | - metadata |
| 486 | - availability_zone |
| 487 | - bootable |
| 488 | |
| 489 | |
Alexander Noskov | 62496fb | 2017-02-27 16:42:54 +0100 | [diff] [blame] | 490 | public_endpoint and osapi_volume_base_url parameters: |
| 491 | "public_endpoint" is used for configuring versions endpoint, |
| 492 | "osapi_volume_base_URL" is used to present Cinder URL to users. |
| 493 | They are useful when running Cinder under load balancer in SSL. |
| 494 | |
| 495 | .. code-block:: yaml |
| 496 | |
| 497 | cinder: |
| 498 | controller: |
| 499 | public_endpoint_address: https://${_param:cluster_domain}:8776 |
| 500 | |
Michel Nederlof | b8603eb | 2017-02-09 10:04:38 +0100 | [diff] [blame] | 501 | The default availability zone is used when a volume has been created, without specifying a zone in the create request. (this zone must exist in your configuration obviously) |
| 502 | The storage availability zone is the actual zone where the node belongs to. Make sure to specify this per node. |
| 503 | Check the documentation of OpenStack for more information |
| 504 | |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 505 | Documentation and Bugs |
| 506 | ============================ |
| 507 | |
| 508 | To learn how to deploy OpenStack Salt, consult the documentation available |
| 509 | online at: |
| 510 | |
Petr Michalec | a1c7ff1 | 2016-11-29 16:32:50 +0100 | [diff] [blame] | 511 | https://wiki.openstack.org/wiki/OpenStackSalt |
Jakub Pavlik | b513f13 | 2016-05-20 11:11:19 +0200 | [diff] [blame] | 512 | |
| 513 | In the unfortunate event that bugs are discovered, they should be reported to |
| 514 | the appropriate bug tracker. If you obtained the software from a 3rd party |
| 515 | operating system vendor, it is often wise to use their own bug tracker for |
| 516 | reporting problems. In all other cases use the master OpenStack bug tracker, |
| 517 | available at: |
| 518 | |
| 519 | http://bugs.launchpad.net/openstack-salt |
| 520 | |
| 521 | Developers wishing to work on the OpenStack Salt project should always base |
| 522 | their work on the latest formulas code, available from the master GIT |
| 523 | repository at: |
| 524 | |
| 525 | https://git.openstack.org/cgit/openstack/salt-formula-cinder |
| 526 | |
| 527 | Developers should also join the discussion on the IRC list, at: |
| 528 | |
| 529 | https://wiki.openstack.org/wiki/Meetings/openstack-salt |
Filip Pytloun | b0f5c1f | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 530 | |
| 531 | Documentation and Bugs |
| 532 | ====================== |
| 533 | |
| 534 | To learn how to install and update salt-formulas, consult the documentation |
| 535 | available online at: |
| 536 | |
| 537 | http://salt-formulas.readthedocs.io/ |
| 538 | |
| 539 | In the unfortunate event that bugs are discovered, they should be reported to |
| 540 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 541 | formula: |
| 542 | |
| 543 | https://github.com/salt-formulas/salt-formula-cinder/issues |
| 544 | |
| 545 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 546 | use Launchpad salt-formulas project: |
| 547 | |
| 548 | https://launchpad.net/salt-formulas |
| 549 | |
| 550 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 551 | |
| 552 | https://launchpad.net/~salt-formulas-users |
| 553 | |
| 554 | Developers wishing to work on the salt-formulas projects should always base |
| 555 | their work on master branch and submit pull request against specific formula. |
| 556 | |
| 557 | https://github.com/salt-formulas/salt-formula-cinder |
| 558 | |
| 559 | Any questions or feedback is always welcome so feel free to join our IRC |
| 560 | channel: |
| 561 | |
| 562 | #salt-formulas @ irc.freenode.net |