... | ... |
@@ -311,10 +311,6 @@ function configure_cinder { |
311 | 311 |
iniset $CINDER_CONF DEFAULT glance_ca_certificates_file $SSL_BUNDLE_FILE |
312 | 312 |
fi |
313 | 313 |
|
314 |
- if [ "$GLANCE_V1_ENABLED" != "True" ]; then |
|
315 |
- iniset $CINDER_CONF DEFAULT glance_api_version 2 |
|
316 |
- fi |
|
317 |
- |
|
318 | 314 |
# Set nova credentials (used for os-assisted-snapshots) |
319 | 315 |
configure_keystone_authtoken_middleware $CINDER_CONF nova nova |
320 | 316 |
iniset $CINDER_CONF nova region_name "$REGION_NAME" |
... | ... |
@@ -73,7 +73,6 @@ GLANCE_CACHE_CONF=$GLANCE_CONF_DIR/glance-cache.conf |
73 | 73 |
GLANCE_SCHEMA_JSON=$GLANCE_CONF_DIR/schema-image.json |
74 | 74 |
GLANCE_SWIFT_STORE_CONF=$GLANCE_CONF_DIR/glance-swift-store.conf |
75 | 75 |
GLANCE_IMAGE_IMPORT_CONF=$GLANCE_CONF_DIR/glance-image-import.conf |
76 |
-GLANCE_V1_ENABLED=${GLANCE_V1_ENABLED:-False} |
|
77 | 76 |
|
78 | 77 |
if is_service_enabled tls-proxy; then |
79 | 78 |
GLANCE_SERVICE_PROTOCOL="https" |
... | ... |
@@ -152,12 +151,6 @@ function configure_glance { |
152 | 152 |
iniset $GLANCE_API_CONF DEFAULT disk_formats "ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,ploop" |
153 | 153 |
fi |
154 | 154 |
|
155 |
- # NOTE(flaper87): To uncomment as soon as all services consuming Glance are |
|
156 |
- # able to consume V2 entirely. |
|
157 |
- if [ "$GLANCE_V1_ENABLED" != "True" ]; then |
|
158 |
- iniset $GLANCE_API_CONF DEFAULT enable_v1_api False |
|
159 |
- fi |
|
160 |
- |
|
161 | 155 |
# Glance multiple store Store specific configs |
162 | 156 |
if [[ "$GLANCE_ENABLE_MULTIPLE_STORES" == "True" ]]; then |
163 | 157 |
iniset $GLANCE_API_CONF glance_store default_backend $GLANCE_DEFAULT_BACKEND |
... | ... |
@@ -346,11 +346,6 @@ function configure_tempest { |
346 | 346 |
iniset $TEMPEST_CONFIG image disk_formats "ami,ari,aki,vhd,raw,iso" |
347 | 347 |
fi |
348 | 348 |
|
349 |
- # Image Features |
|
350 |
- if [ "$GLANCE_V1_ENABLED" != "True" ]; then |
|
351 |
- iniset $TEMPEST_CONFIG image-feature-enabled api_v1 False |
|
352 |
- fi |
|
353 |
- |
|
354 | 349 |
# Compute |
355 | 350 |
iniset $TEMPEST_CONFIG compute image_ref $image_uuid |
356 | 351 |
iniset $TEMPEST_CONFIG compute image_ref_alt $image_uuid_alt |