Guest User

Untitled

a guest
Aug 8th, 2024
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. root@controller1-glance-container-5795553e:~# cat /etc/glance/glance-api.conf
  2. [DEFAULT]
  3. # Disable stderr logging
  4. use_stderr = False
  5. debug = False
  6. use_journal = True
  7. fatal_deprecations = False
  8. bind_host = 192.168.14.237
  9. bind_port = 9292
  10. http_keepalive = True
  11. digest_algorithm = sha256
  12. backlog = 4096
  13. workers = 16
  14. worker_self_reference_url = http://192.168.14.237:9292
  15. enable_v2_api = True
  16. scrub_time = 43200
  17. image_cache_dir = /var/lib/glance/cache/
  18. image_cache_stall_time = 86400
  19. image_cache_max_size = 10737418240
  20. # defaults to true if RBD is used as default store
  21. show_image_direct_url = True
  22. show_multiple_locations = True
  23. enabled_backends = rbd:rbd,http:http,cinder:cinder
  24.  
  25. [task]
  26. task_executor = taskflow
  27.  
  28. [database]
  29. connection = mysql+pymysql://glance:*****@192.168.13.100:3306/glance?charset=utf8&ssl_verify_cert=true
  30. max_overflow = 50
  31. max_pool_size = 5
  32. pool_timeout = 30
  33. connection_recycle_time = 600
  34.  
  35. [keystone_authtoken]
  36. insecure = False
  37. auth_type = password
  38. auth_url = http://192.168.13.100:5000/v3
  39. www_authenticate_uri = http://192.168.13.100:5000
  40. project_domain_id = default
  41. user_domain_id = default
  42. project_name = service
  43. username = glance
  44. password = ******
  45. region_name = RegionOne
  46. service_token_roles_required = True
  47. service_token_roles = service
  48. service_type = image
  49. memcached_servers = 192.168.14.248:11211,192.168.14.105:11211,192.168.14.208:11211
  50. token_cache_time = 300
  51. # if your memcached server is shared, use these settings to avoid cache poisoning
  52. memcache_security_strategy = ENCRYPT
  53. memcache_secret_key = *****
  54.  
  55. [oslo_policy]
  56. policy_file = policy.yaml
  57. policy_default_rule = default
  58. policy_dirs = policy.d
  59.  
  60. [oslo_messaging_rabbit]
  61. rabbit_quorum_queue = True
  62. rabbit_transient_quorum_queue = True
  63. rabbit_qos_prefetch_count = 10
  64. use_queue_manager = False
  65. rabbit_stream_fanout = True
  66. rabbit_quorum_delivery_limit = 0
  67. rabbit_quorum_max_memory_bytes = 0
  68.  
  69. [oslo_messaging_notifications]
  70. topics = notifications
  71. driver = noop
  72. 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=
  73.  
  74. [paste_deploy]
  75. flavor = keystone
  76.  
  77. [glance_store]
  78. default_backend = rbd
  79.  
  80. [rbd]
  81. rbd_store_pool = images
  82. rbd_store_user = glance
  83. rbd_store_ceph_conf = /etc/ceph/ceph.conf
  84. rbd_store_chunk_size = 8
  85.  
  86. [http]
  87.  
  88. [cinder]
  89. cinder_catalog_info = volumev3:cinderv3:internalURL
  90. cinder_store_auth_address = http://192.168.13.100:5000/v3
  91. cinder_store_user_name = glance
  92. cinder_store_password = ******
  93. cinder_store_project_name = service
  94. cinder_store_user_domain_name = default
  95. cinder_store_project_domain_name = default
  96.  
  97. [profiler]
  98. enabled = False
  99.  
  100. [oslo_middleware]
  101. enable_proxy_headers_parsing = True
  102.  
  103. [oslo_concurrency]
  104. lock_path = /run/lock/glance-api/uwsgi
  105.  
  106. [cors]
  107. 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
  108. allow_methods = GET,POST,PUT,PATCH,DELETE
  109. allowed_origin = https://*****
  110.  
  111. root@controller1-glance-container-5795553e:~#
  112.  
Advertisement
Add Comment
Please, Sign In to add comment