Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@controller1-glance-container-5795553e:~# cat /etc/glance/glance-api.conf
- [DEFAULT]
- # Disable stderr logging
- use_stderr = False
- debug = False
- use_journal = True
- fatal_deprecations = False
- bind_host = 192.168.14.237
- bind_port = 9292
- http_keepalive = True
- digest_algorithm = sha256
- backlog = 4096
- workers = 16
- worker_self_reference_url = http://192.168.14.237:9292
- enable_v2_api = True
- scrub_time = 43200
- image_cache_dir = /var/lib/glance/cache/
- image_cache_stall_time = 86400
- image_cache_max_size = 10737418240
- # defaults to true if RBD is used as default store
- show_image_direct_url = True
- show_multiple_locations = True
- enabled_backends = rbd:rbd,http:http,cinder:cinder
- [task]
- task_executor = taskflow
- [database]
- connection = mysql+pymysql://glance:*****@192.168.13.100:3306/glance?charset=utf8&ssl_verify_cert=true
- max_overflow = 50
- max_pool_size = 5
- pool_timeout = 30
- connection_recycle_time = 600
- [keystone_authtoken]
- insecure = False
- auth_type = password
- auth_url = http://192.168.13.100:5000/v3
- www_authenticate_uri = http://192.168.13.100:5000
- project_domain_id = default
- user_domain_id = default
- project_name = service
- username = glance
- password = ******
- region_name = RegionOne
- service_token_roles_required = True
- service_token_roles = service
- service_type = image
- memcached_servers = 192.168.14.248:11211,192.168.14.105:11211,192.168.14.208:11211
- token_cache_time = 300
- # if your memcached server is shared, use these settings to avoid cache poisoning
- memcache_security_strategy = ENCRYPT
- memcache_secret_key = *****
- [oslo_policy]
- policy_file = policy.yaml
- policy_default_rule = default
- policy_dirs = policy.d
- [oslo_messaging_rabbit]
- rabbit_quorum_queue = True
- rabbit_transient_quorum_queue = True
- rabbit_qos_prefetch_count = 10
- use_queue_manager = False
- rabbit_stream_fanout = True
- rabbit_quorum_delivery_limit = 0
- rabbit_quorum_max_memory_bytes = 0
- [oslo_messaging_notifications]
- topics = notifications
- driver = noop
- transport_url = rabbit://glance:******@192.168.14.124:5671,glance:*****@192.168.14.49:5671,glance:*****@192.168.14.16:5671/glance?ssl=1&ssl_version=TLSv1_2&ssl_ca_file=
- [paste_deploy]
- flavor = keystone
- [glance_store]
- default_backend = rbd
- [rbd]
- rbd_store_pool = images
- rbd_store_user = glance
- rbd_store_ceph_conf = /etc/ceph/ceph.conf
- rbd_store_chunk_size = 8
- [http]
- [cinder]
- cinder_catalog_info = volumev3:cinderv3:internalURL
- cinder_store_auth_address = http://192.168.13.100:5000/v3
- cinder_store_user_name = glance
- cinder_store_password = ******
- cinder_store_project_name = service
- cinder_store_user_domain_name = default
- cinder_store_project_domain_name = default
- [profiler]
- enabled = False
- [oslo_middleware]
- enable_proxy_headers_parsing = True
- [oslo_concurrency]
- lock_path = /run/lock/glance-api/uwsgi
- [cors]
- allow_headers = origin,content-md5,x-image-meta-checksum,x-storage-token,accept-encoding,x-auth-token,x-identity-status,x-roles,x-service-catalog,x-user-id,x-tenant-id,x-openstack-request-id
- allow_methods = GET,POST,PUT,PATCH,DELETE
- allowed_origin = https://*****
- root@controller1-glance-container-5795553e:~#
Advertisement
Add Comment
Please, Sign In to add comment