Advertisement
arkanmgerges

Untitled

Jun 14th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.76 KB | None | 0 0
  1. # -------------- openstack_user_config.yml the part with storage
  2. # ...
  3.  
  4. # cinder api services
  5.     storage-infra_hosts: *infrastructure_hosts
  6.    
  7.     # cinder volume hosts (Ceph RBD-backed)
  8.     storage_hosts:
  9.       controller1:
  10.         ip: 172.29.236.10
  11.         container_vars:
  12.           cinder_backends:
  13.             limit_container_types: cinder_volume
  14.             rbd:
  15.               volume_group: cinder-volumes
  16.               volume_driver: cinder.volume.drivers.rbd.RBDDriver
  17.               volume_backend_name: rbd
  18.               rbd_pool: cinder-volumes
  19.               rbd_ceph_conf: /etc/ceph/ceph.conf
  20.               rbd_user: cinder
  21.     # glance
  22.     image_hosts: *infrastructure_hosts
  23. # ...
  24.  
  25. # ------------------- user_variables.yml
  26. # part for backend storage vars
  27. # ...
  28. nova_libvirt_images_rbd_pool: ephemeral-vms
  29.     nova_virt_type: kvm
  30.    
  31.    
  32.     ## Ceph cluster fsid (must be generated before first run)
  33.     ## Generate a uuid using: python -c 'import uuid; print(str(uuid.uuid4()))'
  34.     generate_fsid: false
  35.     # fsid: 0d4e0fe8-fe15-42a9-808f-a93071c0819a # Replace with your generated UUID
  36.    
  37.     ## ceph-ansible settings
  38.     ## See https://github.com/ceph/ceph-ansible/tree/master/group_vars for
  39.     ## additional configuration options available.
  40.     monitor_address_block: "192.168.50.0/24"
  41.     public_network: "192.168.50.0/24"
  42.     cluster_network: "{{ cidr_networks.storage }}"
  43.     journal_size: 10240 # size in MB
  44.     glance_default_store: rbd
  45.     glance_notification_driver: noop
  46.     glance_ceph_client: glance
  47.     glance_rbd_store_pool: glance-images
  48.     glance_rbd_store_chunk_size: 8
  49.     nova_libvirt_images_rbd_pool: ephemeral-vms
  50.     cinder_ceph_client: cinder
  51.     cephx: true
  52.     ceph_mons:
  53.      - 192.168.50.10
  54. # ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement