Created
July 17, 2019 10:50
-
-
Save deanet/ad4aff69aa2271c954ec03079a5d380f to your computer and use it in GitHub Desktop.
ceph openstack rocky
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## https://blog.dgprasetya.com/openstack-integrasi-ceph-dengan-openstack/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
fsid = ac9b148c-e413-48ae-8adc-93a5cca6e88a | |
mon_initial_members = ceph1 | |
mon_host = 10.10.2.205 | |
auth_cluster_required = cephx | |
auth_service_required = cephx | |
auth_client_required = cephx | |
osd pool default size = 2 | |
osd pool default min size = 1 | |
osd crush chooseleaf type = 1 | |
osd journal size = 100 | |
[client] | |
rbd cache = true | |
rbd cache writethrough until flush = true | |
rbd concurrent management ops = 20 | |
admin socket = /var/run/ceph/guests/$cluster-$type.$id.$pid.$cctid.asok | |
log file = /var/log/ceph/qemu-guest-$pid.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEFAULT] | |
backup_swift_url=http://10.10.2.204:8080/v1/AUTH_ | |
backup_swift_container=volumebackups | |
backup_driver=cinder.backup.drivers.swift | |
enable_v3_api=True | |
storage_availability_zone=nova | |
default_availability_zone=nova | |
#default_volume_type=iscsi | |
default_volume_type=ceph | |
auth_strategy=keystone | |
enabled_backends=ceph | |
glance_api_version = 2 | |
osapi_volume_listen=0.0.0.0 | |
osapi_volume_workers=4 | |
debug=False | |
log_dir=/var/log/cinder | |
transport_url=rabbit://guest:[email protected]:5672/ | |
control_exchange=openstack | |
api_paste_config=/etc/cinder/api-paste.ini | |
glance_host=10.10.2.204 | |
[backend] | |
[backend_defaults] | |
[barbican] | |
[brcd_fabric_example] | |
[cisco_fabric_example] | |
[coordination] | |
[cors] | |
[database] | |
connection=mysql+pymysql://cinder:[email protected]/cinder | |
[fc-zone-manager] | |
[healthcheck] | |
[key_manager] | |
backend=cinder.keymgr.conf_key_mgr.ConfKeyManager | |
[keystone_authtoken] | |
www_authenticate_uri=http://10.10.2.204:5000/ | |
auth_uri=http://10.10.2.204:5000/ | |
auth_type=password | |
auth_url=http://10.10.2.204:35357 | |
username=cinder | |
password=e3f3c81d1b41459b | |
user_domain_name=Default | |
project_name=services | |
project_domain_name=Default | |
[matchmaker_redis] | |
[nova] | |
[oslo_concurrency] | |
lock_path=/var/lib/cinder/tmp | |
[oslo_messaging_amqp] | |
[oslo_messaging_kafka] | |
[oslo_messaging_notifications] | |
driver=messagingv2 | |
[oslo_messaging_rabbit] | |
ssl=False | |
[oslo_messaging_zmq] | |
[oslo_middleware] | |
[oslo_policy] | |
policy_file=/etc/cinder/policy.json | |
[oslo_reports] | |
[oslo_versionedobjects] | |
[profiler] | |
[sample_remote_file_source] | |
[service_user] | |
[ssl] | |
[vault] | |
#[lvm] | |
#volume_backend_name=lvm | |
#volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver | |
#iscsi_ip_address=10.10.2.204 | |
#iscsi_helper=lioadm | |
#volume_group=cinder-volumes | |
#volumes_dir=/var/lib/cinder/volumes | |
[ceph] | |
##volume_driver = cinder.volume.drivers.rbd.RBDDriver | |
##rbd_pool = volumes | |
##rbd_user = cinder | |
##rbd_ceph_conf = /etc/ceph/ceph.conf | |
rbd_flatten_volume_from_snapshot = false | |
rbd_max_clone_depth = 5 | |
rbd_store_chunk_size = 4 | |
rados_connect_timeout = -1 | |
volume_driver = cinder.volume.drivers.rbd.RBDDriver | |
rbd_ceph_conf = /etc/ceph/ceph.conf | |
rbd_pool = volumes | |
rbd_user = cinder | |
glance_api_version = 2 | |
rbd_secret_uuid = eba93c91-5641-4890-aad7-42606c3c3e66 | |
volume_backend_name = ceph | |
rbd_cluster_name = ceph | |
#volume_driver = cinder.volume.drivers.rbd.RBDDriver | |
#rbd_pool = volumes | |
#rbd_ceph_conf = /etc/ceph/ceph.conf | |
#rbd_flatten_volume_from_snapshot = false | |
#rbd_max_clone_depth = 5 | |
#rbd_store_chunk_size = 4 | |
#rados_connect_timeout = -1 | |
#rbd_user = cinder | |
#rbd_secret_uuid = ca405f73-e2c9-40aa-ab67-34cf47f7caf9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEFAULT] | |
bind_host=0.0.0.0 | |
bind_port=9292 | |
workers=4 | |
image_cache_dir=/var/lib/glance/image-cache | |
registry_host=0.0.0.0 | |
debug=False | |
log_file=/var/log/glance/api.log | |
log_dir=/var/log/glance | |
transport_url=rabbit://guest:[email protected]:5672/ | |
enable_v1_api=False | |
[cors] | |
[database] | |
connection=mysql+pymysql://glance:[email protected]/glance | |
[glance_store] | |
stores=rbd,file,http,swift | |
default_store=rbd | |
##file | |
rbd_store_chunk_size = 8 | |
rbd_store_pool = images | |
rbd_store_user = glance | |
rbd_store_ceph_conf = /etc/ceph/ceph.conf | |
filesystem_store_datadir=/var/lib/glance/images/ | |
os_region_name=RegionOne | |
[image_format] | |
[keystone_authtoken] | |
www_authenticate_uri=http://10.10.2.204:5000/v3 | |
auth_uri=http://10.10.2.204:5000/v3 | |
auth_type=password | |
auth_url=http://10.10.2.204:35357 | |
username=glance | |
password=21de7a56246541aa | |
user_domain_name=Default | |
project_name=services | |
project_domain_name=Default | |
[matchmaker_redis] | |
[oslo_concurrency] | |
[oslo_messaging_amqp] | |
[oslo_messaging_kafka] | |
[oslo_messaging_notifications] | |
driver=messagingv2 | |
topics=notifications | |
[oslo_messaging_rabbit] | |
ssl=False | |
default_notification_exchange=glance | |
[oslo_messaging_zmq] | |
[oslo_middleware] | |
[oslo_policy] | |
policy_file=/etc/glance/policy.json | |
[paste_deploy] | |
flavor=keystone | |
[profiler] | |
[store_type_location_strategy] | |
[task] | |
[taskflow_executor] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment