Browse Source

Possible fix for glance swift ssl

Change-Id: Ia8327c7ffdd2715959733f3f2039628f66885899
Proskurin Kirill 2 years ago
parent
commit
bb32b240cd
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      service/files/glance-api.conf.j2

+ 4
- 0
service/files/glance-api.conf.j2 View File

@@ -40,12 +40,16 @@ rbd_store_ceph_conf = /etc/ceph/ceph.conf
40 40
 {% elif glance.swift.enable %}
41 41
 stores = http,swift
42 42
 default_store = swift
43
+swift_store_multi_tenant = True
43 44
 swift_store_create_container_on_put = {{ glance.swift.store_create_container_on_put }}
44 45
 swift_store_region = RegionOne
45 46
 default_swift_reference = swift
46 47
 swift_store_container = {{ glance.swift.store_container }}
47 48
 swift_store_config_file = /etc/glance/glance-swift-store.conf
48 49
 swift_store_auth_insecure = {{ glance.swift.store_auth_insecure }}
50
+{% if security.tls.create_certificates %}
51
+swift_store_cacert = /opt/ccp/etc/tls/ca.pem
52
+{% endif %}
49 53
 {% else %}
50 54
 stores = http,file
51 55
 default_store = file

Loading…
Cancel
Save