File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,7 @@ function _upload_image {
114114 properties=$( _image_properties_to_arg $* )
115115
116116 if [[ " $GLANCE_USE_IMPORT_WORKFLOW " == " True" ]]; then
117- if [[ " $GLANCE_STANDALONE " == " True" ]]; then
118- useimport=" --import"
119- else
120- echo " *** Unable to use glance import workflow because glance is not standalone! ***"
121- fi
117+ useimport=" --import"
122118 fi
123119
124120 openstack --os-cloud=devstack-admin --os-region-name=" $REGION_NAME " image create " $image_name " --public --container-format " $container " --disk-format " $disk " $useimport $properties < " ${image} "
Original file line number Diff line number Diff line change @@ -193,11 +193,6 @@ function configure_glance {
193193 iniset $GLANCE_API_CONF cors allowed_origin " http://$SERVICE_HOST "
194194 fi
195195
196- if [[ " $GLANCE_STANDALONE " == " False" ]]; then
197- # NOTE(danms): Do not advertise import methods if we are running in WSGI mode
198- iniset $GLANCE_API_CONF DEFAULT enabled_import_methods []
199- fi
200-
201196 # No multiple stores for swift yet
202197 # Store the images in swift if enabled.
203198 if is_service_enabled s-proxy; then
You can’t perform that action at this time.
0 commit comments