Merge "Set os_region_name for cinder"
This commit is contained in:
commit
0d8b9b31d2
@ -241,6 +241,8 @@ function configure_cinder {
|
|||||||
# supported.
|
# supported.
|
||||||
iniset $CINDER_CONF DEFAULT enable_v1_api true
|
iniset $CINDER_CONF DEFAULT enable_v1_api true
|
||||||
|
|
||||||
|
iniset $CINDER_CONF DEFAULT os_region_name "$REGION_NAME"
|
||||||
|
|
||||||
if is_service_enabled c-vol && [[ -n "$CINDER_ENABLED_BACKENDS" ]]; then
|
if is_service_enabled c-vol && [[ -n "$CINDER_ENABLED_BACKENDS" ]]; then
|
||||||
local enabled_backends=""
|
local enabled_backends=""
|
||||||
local default_name=""
|
local default_name=""
|
||||||
|
2
lib/nova
2
lib/nova
@ -544,6 +544,8 @@ function create_nova_conf {
|
|||||||
iniset $NOVA_CONF DEFAULT ec2_workers "$API_WORKERS"
|
iniset $NOVA_CONF DEFAULT ec2_workers "$API_WORKERS"
|
||||||
iniset $NOVA_CONF DEFAULT metadata_workers "$API_WORKERS"
|
iniset $NOVA_CONF DEFAULT metadata_workers "$API_WORKERS"
|
||||||
|
|
||||||
|
iniset $NOVA_CONF cinder os_region_name "$REGION_NAME"
|
||||||
|
|
||||||
if [[ "$NOVA_BACKEND" == "LVM" ]]; then
|
if [[ "$NOVA_BACKEND" == "LVM" ]]; then
|
||||||
iniset $NOVA_CONF libvirt images_type "lvm"
|
iniset $NOVA_CONF libvirt images_type "lvm"
|
||||||
iniset $NOVA_CONF libvirt images_volume_group $DEFAULT_VOLUME_GROUP_NAME
|
iniset $NOVA_CONF libvirt images_volume_group $DEFAULT_VOLUME_GROUP_NAME
|
||||||
|
Loading…
Reference in New Issue
Block a user