We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 514c820 + ab50c70 commit e1b2dfeCopy full SHA for e1b2dfe
1 file changed
lib/ironic
@@ -281,7 +281,8 @@ function configure_ironic_conductor {
281
fi
282
iniset $IRONIC_CONF_FILE glance swift_endpoint_url http://${HOST_IP}:8080
283
iniset $IRONIC_CONF_FILE glance swift_api_version v1
284
- iniset $IRONIC_CONF_FILE glance swift_account AUTH_${SERVICE_TENANT}
+ local tenant_id=$(get_or_create_project $SERVICE_TENANT_NAME)
285
+ iniset $IRONIC_CONF_FILE glance swift_account AUTH_${tenant_id}
286
iniset $IRONIC_CONF_FILE glance swift_container glance
287
iniset $IRONIC_CONF_FILE glance swift_temp_url_duration 3600
288
iniset $IRONIC_CONF_FILE agent heartbeat_timeout 30
0 commit comments