Stop referencing no longer existing SERVICE_ENDPOINT variable
It was probably finally removed by one of recent refactoring changes. Now ironic gate fails due to Swift trying to access it to override OS_AUTH_URL. This change drops this override and just uses OS_AUTH_URL. Closes-Bug: #1535245 Change-Id: I145bec110c4299e61f2bce49df41dcd82e5d462d
This commit is contained in:
parent
ddd37b97d4
commit
f90c0b7d29
@ -817,7 +817,6 @@ function swift_configure_tempurls {
|
||||
OS_USERNAME=swift \
|
||||
OS_PASSWORD=$SERVICE_PASSWORD \
|
||||
OS_PROJECT_NAME=$SERVICE_TENANT_NAME \
|
||||
OS_AUTH_URL=$SERVICE_ENDPOINT \
|
||||
openstack object store account \
|
||||
set --property "Temp-URL-Key=$SWIFT_TEMPURL_KEY"
|
||||
}
|
||||
|
@ -156,8 +156,6 @@ if [ -z "$MODE" ]; then
|
||||
exit 3
|
||||
fi
|
||||
|
||||
export -n SERVICE_ENDPOINT OS_SERVICE_ENDPOINT
|
||||
|
||||
EC2_URL=$(openstack endpoint list --service ec2 --interface public --os-identity-api-version=3 -c URL -f value || true)
|
||||
if [[ -z $EC2_URL ]]; then
|
||||
EC2_URL=http://localhost:8773/
|
||||
|
Loading…
Reference in New Issue
Block a user