Skip to content

Commit 3147239

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Make EC2 compatible with current AWS CLI."
2 parents c309e35 + 0ea8b72 commit 3147239

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

files/default_catalog.templates

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ catalog.RegionOne.volumev2.internalURL = http://%SERVICE_HOST%:8776/v2/$(tenant_
3030
catalog.RegionOne.volumev2.name = Volume Service V2
3131

3232

33-
catalog.RegionOne.ec2.publicURL = http://%SERVICE_HOST%:8773/services/Cloud
34-
catalog.RegionOne.ec2.adminURL = http://%SERVICE_HOST%:8773/services/Admin
35-
catalog.RegionOne.ec2.internalURL = http://%SERVICE_HOST%:8773/services/Cloud
33+
catalog.RegionOne.ec2.publicURL = http://%SERVICE_HOST%:8773/
34+
catalog.RegionOne.ec2.adminURL = http://%SERVICE_HOST%:8773/
35+
catalog.RegionOne.ec2.internalURL = http://%SERVICE_HOST%:8773/
3636
catalog.RegionOne.ec2.name = EC2 Service
3737

3838

lib/nova

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ function create_nova_accounts {
395395
"ec2" "EC2 Compatibility Layer")
396396
get_or_create_endpoint $ec2_service \
397397
"$REGION_NAME" \
398-
"$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/services/Cloud" \
399-
"$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/services/Admin" \
400-
"$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/services/Cloud"
398+
"$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/" \
399+
"$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/" \
400+
"$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/"
401401
fi
402402
fi
403403

lib/tempest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ function configure_tempest {
363363
iniset $TEMPEST_CONFIG network-feature-enabled api_extensions $network_api_extensions
364364

365365
# boto
366-
iniset $TEMPEST_CONFIG boto ec2_url "$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/services/Cloud"
366+
iniset $TEMPEST_CONFIG boto ec2_url "$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/"
367367
iniset $TEMPEST_CONFIG boto s3_url "http://$SERVICE_HOST:${S3_SERVICE_PORT:-3333}"
368368
iniset $TEMPEST_CONFIG boto s3_materials_path "$BOTO_MATERIALS_PATH"
369369
iniset $TEMPEST_CONFIG boto ari_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-initrd.manifest.xml

tools/create_userrc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export -n SERVICE_TOKEN SERVICE_ENDPOINT OS_SERVICE_TOKEN OS_SERVICE_ENDPOINT
131131

132132
EC2_URL=$(openstack endpoint show -f value -c publicurl ec2 || true)
133133
if [[ -z $EC2_URL ]]; then
134-
EC2_URL=http://localhost:8773/services/Cloud
134+
EC2_URL=http://localhost:8773/
135135
fi
136136

137137
S3_URL=$(openstack endpoint show -f value -c publicurl s3 || true)

0 commit comments

Comments
 (0)