From e23f6de4d2d634278e92d31c40298cc79aeee866 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 21 Dec 2011 09:29:32 -0800 Subject: [PATCH] Add ec2 endpoint to service catalog Change-Id: Id779d4d818621db042c420e034083577a3d3ab0d blueprint: ec2-service-endpoint --- files/keystone_data.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/keystone_data.sh b/files/keystone_data.sh index be2d5767cd..6a495518cb 100755 --- a/files/keystone_data.sh +++ b/files/keystone_data.sh @@ -28,6 +28,7 @@ $BIN_DIR/keystone-manage $* role grant KeystoneServiceAdmin admin # Services $BIN_DIR/keystone-manage $* service add nova compute "Nova Compute Service" +$BIN_DIR/keystone-manage $* service add ec2 ec2 "EC2 Compatability Layer" $BIN_DIR/keystone-manage $* service add glance image "Glance Image Service" $BIN_DIR/keystone-manage $* service add keystone identity "Keystone Identity Service" if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then @@ -36,6 +37,7 @@ fi #endpointTemplates $BIN_DIR/keystone-manage $* endpointTemplates add RegionOne nova http://%HOST_IP%:8774/v1.1/%tenant_id% http://%HOST_IP%:8774/v1.1/%tenant_id% http://%HOST_IP%:8774/v1.1/%tenant_id% 1 1 +$BIN_DIR/keystone-manage $* endpointTemplates add RegionOne ec2 http://%HOST_IP%:8773/services/Cloud http://%HOST_IP%:8773/services/Admin http://%HOST_IP%:8773/services/Cloud 1 1 $BIN_DIR/keystone-manage $* endpointTemplates add RegionOne glance http://%HOST_IP%:9292/v1.1/%tenant_id% http://%HOST_IP%:9292/v1.1/%tenant_id% http://%HOST_IP%:9292/v1.1/%tenant_id% 1 1 $BIN_DIR/keystone-manage $* endpointTemplates add RegionOne keystone http://%HOST_IP%:5000/v2.0 http://%HOST_IP%:35357/v2.0 http://%HOST_IP%:5000/v2.0 1 1 if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then