Merge "Configure region name in neutron & ceilometer config files"
This commit is contained in:
commit
e605b39400
@ -203,6 +203,8 @@ function configure_ceilometer {
|
|||||||
iniset $CEILOMETER_CONF service_credentials os_username ceilometer
|
iniset $CEILOMETER_CONF service_credentials os_username ceilometer
|
||||||
iniset $CEILOMETER_CONF service_credentials os_password $SERVICE_PASSWORD
|
iniset $CEILOMETER_CONF service_credentials os_password $SERVICE_PASSWORD
|
||||||
iniset $CEILOMETER_CONF service_credentials os_tenant_name $SERVICE_TENANT_NAME
|
iniset $CEILOMETER_CONF service_credentials os_tenant_name $SERVICE_TENANT_NAME
|
||||||
|
iniset $CEILOMETER_CONF service_credentials os_region_name $REGION_NAME
|
||||||
|
iniset $CEILOMETER_CONF service_credentials os_auth_url $KEYSTONE_SERVICE_URI/v2.0
|
||||||
|
|
||||||
configure_auth_token_middleware $CEILOMETER_CONF ceilometer $CEILOMETER_AUTH_CACHE_DIR
|
configure_auth_token_middleware $CEILOMETER_CONF ceilometer $CEILOMETER_AUTH_CACHE_DIR
|
||||||
|
|
||||||
|
@ -1026,6 +1026,7 @@ function _configure_neutron_service {
|
|||||||
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES
|
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES
|
||||||
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES
|
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES
|
||||||
iniset $NEUTRON_CONF DEFAULT nova_url "$NOVA_SERVICE_PROTOCOL://$NOVA_SERVICE_HOST:$NOVA_SERVICE_PORT/v2"
|
iniset $NEUTRON_CONF DEFAULT nova_url "$NOVA_SERVICE_PROTOCOL://$NOVA_SERVICE_HOST:$NOVA_SERVICE_PORT/v2"
|
||||||
|
iniset $NEUTRON_CONF DEFAULT nova_region_name $REGION_NAME
|
||||||
iniset $NEUTRON_CONF DEFAULT nova_admin_username nova
|
iniset $NEUTRON_CONF DEFAULT nova_admin_username nova
|
||||||
iniset $NEUTRON_CONF DEFAULT nova_admin_password $SERVICE_PASSWORD
|
iniset $NEUTRON_CONF DEFAULT nova_admin_password $SERVICE_PASSWORD
|
||||||
ADMIN_TENANT_ID=$(openstack project list | awk "/ service / { print \$2 }")
|
ADMIN_TENANT_ID=$(openstack project list | awk "/ service / { print \$2 }")
|
||||||
|
Loading…
Reference in New Issue
Block a user