Use service tenant id for Ironic agent swift auth
Config of ironic conductor currently references a non-existent variable. This corrects it by obtaining and using the correct tenant id. Change-Id: I4340f75b2b22a8fd3fd8dd5cb30d7e91bce4f654
This commit is contained in:
parent
da61a1f711
commit
ab50c702a7
@ -281,7 +281,8 @@ function configure_ironic_conductor {
|
||||
fi
|
||||
iniset $IRONIC_CONF_FILE glance swift_endpoint_url http://${HOST_IP}:8080
|
||||
iniset $IRONIC_CONF_FILE glance swift_api_version v1
|
||||
iniset $IRONIC_CONF_FILE glance swift_account AUTH_${SERVICE_TENANT}
|
||||
local tenant_id=$(get_or_create_project $SERVICE_TENANT_NAME)
|
||||
iniset $IRONIC_CONF_FILE glance swift_account AUTH_${tenant_id}
|
||||
iniset $IRONIC_CONF_FILE glance swift_container glance
|
||||
iniset $IRONIC_CONF_FILE glance swift_temp_url_duration 3600
|
||||
iniset $IRONIC_CONF_FILE agent heartbeat_timeout 30
|
||||
|
Loading…
Reference in New Issue
Block a user