Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # installed using ansible-ops https://github.com/openstack/openstack-ansible-ops/tree/master/multi-node-aio/
- # using the stable/rocky branch
- root@infra1:/etc/openstack_deploy# cat env.d/cinder-volume.yml
- ---
- # This file contains an example to show how to set
- # the cinder-volume service to run in a container.
- #
- # Important note:
- # When using LVM or any iSCSI-based cinder backends, such as NetApp with
- # iSCSI protocol, the cinder-volume service *must* run on metal.
- # Reference: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1226855
- container_skel:
- cinder_volumes_container:
- properties:
- is_metal: false
- root@infra1:/etc/openstack_deploy# cat openstack_user_config.yml
- ....
- infra_block: &infra_block
- infra1:
- ip: 10.0.236.100
- container_vars:
- container_tech: "lxc"
- cinder_backends:
- limit_container_types: cinder_volume
- ceph:
- volume_driver: cinder.volume.drivers.rbd.RBDDriver
- rbd_pool: volumes
- rbd_ceph_conf: /etc/ceph/ceph.conf
- rbd_store_chunk_size: 8
- volume_backend_name: rbddriver
- rbd_user: "{{ cinder_ceph_client }}"
- rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
- report_discard_supported: true
- infra2:
- ip: 10.0.236.101
- container_vars:
- container_tech: "lxc"
- cinder_backends:
- ceph:
- volume_driver: cinder.volume.drivers.rbd.RBDDriver
- rbd_pool: volumes
- rbd_ceph_conf: /etc/ceph/ceph.conf
- rbd_store_chunk_size: 8
- volume_backend_name: rbddriver
- rbd_user: "{{ cinder_ceph_client }}"
- rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
- report_discard_supported: true
- infra3:
- ip: 10.0.236.102
- container_vars:
- container_tech: "lxc"
- cinder_backends:
- limit_container_types: cinder_volume
- ceph:
- volume_driver: cinder.volume.drivers.rbd.RBDDriver
- rbd_pool: volumes
- rbd_ceph_conf: /etc/ceph/ceph.conf
- rbd_store_chunk_size: 8
- volume_backend_name: rbddriver
- rbd_user: "{{ cinder_ceph_client }}"
- rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
- report_discard_supported: true
- ....
- # cinder api services
- storage-infra_hosts: *infra_block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement