Adding ability to upload images from urls

This option will be suppressed in Ocata and all location-related
operations will be controlled by policy rules only. However it's
the only way to enable locations for now.

Change-Id: I23cc56095c6ef82e886129e072aad44b150c5cab
This commit is contained in:
Andrey Pavlov 2016-11-02 06:59:17 +00:00
parent e6c3c3037a
commit 48f7f29c5b
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@ show_image_direct_url = True
cinder_catalog_info = volume:cinder:internalURL
show_multiple_locations = True
[database]
connection = mysql+pymysql://{{ glance.db.username }}:{{ glance.db.password }}@{{ address('mariadb') }}/{{ glance.db.name }}
max_retries = -1

View File

@ -12,6 +12,8 @@ registry_host = glance-registry
cinder_catalog_info = volume:cinder:internalURL
show_multiple_locations = True
[database]
connection = mysql+pymysql://{{ glance.db.username }}:{{ glance.db.password }}@{{ address('mariadb') }}/{{ glance.db.name }}
max_retries = -1