Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. # installed using ansible-ops https://github.com/openstack/openstack-ansible-ops/tree/master/multi-node-aio/
  2. # using the stable/rocky branch
  3.  
  4. root@infra1:/etc/openstack_deploy# cat env.d/cinder-volume.yml
  5. ---
  6. # This file contains an example to show how to set
  7. # the cinder-volume service to run in a container.
  8. #
  9. # Important note:
  10. # When using LVM or any iSCSI-based cinder backends, such as NetApp with
  11. # iSCSI protocol, the cinder-volume service *must* run on metal.
  12. # Reference: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1226855
  13.  
  14. container_skel:
  15. cinder_volumes_container:
  16. properties:
  17. is_metal: false
  18.  
  19.  
  20. root@infra1:/etc/openstack_deploy# cat openstack_user_config.yml
  21. ....
  22. infra_block: &infra_block
  23. infra1:
  24. ip: 10.0.236.100
  25. container_vars:
  26. container_tech: "lxc"
  27. cinder_backends:
  28. limit_container_types: cinder_volume
  29. ceph:
  30. volume_driver: cinder.volume.drivers.rbd.RBDDriver
  31. rbd_pool: volumes
  32. rbd_ceph_conf: /etc/ceph/ceph.conf
  33. rbd_store_chunk_size: 8
  34. volume_backend_name: rbddriver
  35. rbd_user: "{{ cinder_ceph_client }}"
  36. rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
  37. report_discard_supported: true
  38.  
  39. infra2:
  40. ip: 10.0.236.101
  41. container_vars:
  42. container_tech: "lxc"
  43. cinder_backends:
  44. ceph:
  45. volume_driver: cinder.volume.drivers.rbd.RBDDriver
  46. rbd_pool: volumes
  47. rbd_ceph_conf: /etc/ceph/ceph.conf
  48. rbd_store_chunk_size: 8
  49. volume_backend_name: rbddriver
  50. rbd_user: "{{ cinder_ceph_client }}"
  51. rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
  52. report_discard_supported: true
  53. infra3:
  54. ip: 10.0.236.102
  55. container_vars:
  56. container_tech: "lxc"
  57. cinder_backends:
  58. limit_container_types: cinder_volume
  59. ceph:
  60. volume_driver: cinder.volume.drivers.rbd.RBDDriver
  61. rbd_pool: volumes
  62. rbd_ceph_conf: /etc/ceph/ceph.conf
  63. rbd_store_chunk_size: 8
  64. volume_backend_name: rbddriver
  65. rbd_user: "{{ cinder_ceph_client }}"
  66. rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
  67. report_discard_supported: true
  68. ....
  69. # cinder api services
  70. storage-infra_hosts: *infra_block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement