glance_store has now been fully migrated, so we can remove these from the
config files.
Change-Id: I987ab6338b235f0beeed7c7fe74b0f5b6526f70d
| ... | ... |
@@ -138,26 +138,12 @@ function configure_glance {
|
| 138 | 138 |
fi |
| 139 | 139 |
|
| 140 | 140 |
# Store specific configs |
| 141 |
- iniset $GLANCE_API_CONF DEFAULT filesystem_store_datadir $GLANCE_IMAGE_DIR/ |
|
| 142 |
- |
|
| 143 |
- # NOTE(flaper87): Until Glance is fully migrated, set these configs in both |
|
| 144 |
- # sections. |
|
| 145 | 141 |
iniset $GLANCE_API_CONF glance_store filesystem_store_datadir $GLANCE_IMAGE_DIR/ |
| 146 | 142 |
|
| 147 | 143 |
iniset $GLANCE_API_CONF DEFAULT workers "$API_WORKERS" |
| 148 | 144 |
|
| 149 | 145 |
# Store the images in swift if enabled. |
| 150 | 146 |
if is_service_enabled s-proxy; then |
| 151 |
- iniset $GLANCE_API_CONF DEFAULT default_store swift |
|
| 152 |
- iniset $GLANCE_API_CONF DEFAULT swift_store_auth_address $KEYSTONE_SERVICE_URI/v2.0/ |
|
| 153 |
- iniset $GLANCE_API_CONF DEFAULT swift_store_user $SERVICE_TENANT_NAME:glance-swift |
|
| 154 |
- iniset $GLANCE_API_CONF DEFAULT swift_store_key $SERVICE_PASSWORD |
|
| 155 |
- iniset $GLANCE_API_CONF DEFAULT swift_store_create_container_on_put True |
|
| 156 |
- |
|
| 157 |
- iniset $GLANCE_API_CONF DEFAULT known_stores "glance.store.filesystem.Store, glance.store.http.Store, glance.store.swift.Store" |
|
| 158 |
- |
|
| 159 |
- # NOTE(flaper87): Until Glance is fully migrated, set these configs in both |
|
| 160 |
- # sections. |
|
| 161 | 147 |
iniset $GLANCE_API_CONF glance_store default_store swift |
| 162 | 148 |
iniset $GLANCE_API_CONF glance_store swift_store_auth_address $KEYSTONE_SERVICE_URI/v2.0/ |
| 163 | 149 |
iniset $GLANCE_API_CONF glance_store swift_store_user $SERVICE_TENANT_NAME:glance-swift |
| ... | ... |
@@ -211,9 +197,6 @@ function configure_glance {
|
| 211 | 211 |
iniset $GLANCE_CACHE_CONF DEFAULT admin_password $SERVICE_PASSWORD |
| 212 | 212 |
|
| 213 | 213 |
# Store specific confs |
| 214 |
- # NOTE(flaper87): Until Glance is fully migrated, set these configs in both |
|
| 215 |
- # sections. |
|
| 216 |
- iniset $GLANCE_CACHE_CONF DEFAULT filesystem_store_datadir $GLANCE_IMAGE_DIR/ |
|
| 217 | 214 |
iniset $GLANCE_CACHE_CONF glance_store filesystem_store_datadir $GLANCE_IMAGE_DIR/ |
| 218 | 215 |
|
| 219 | 216 |
cp -p $GLANCE_DIR/etc/policy.json $GLANCE_POLICY_JSON |