diff --git a/cluster/openstack-heat/kubernetes-heat/fragments/configure-salt.yaml b/cluster/openstack-heat/kubernetes-heat/fragments/configure-salt.yaml index e86fb5d014..9f8b915af4 100644 --- a/cluster/openstack-heat/kubernetes-heat/fragments/configure-salt.yaml +++ b/cluster/openstack-heat/kubernetes-heat/fragments/configure-salt.yaml @@ -33,7 +33,7 @@ write_files: username=$OS_USERNAME password=$OS_PASSWORD region=$OS_REGION_NAME - tenant-id=$OS_TENANT_ID + tenant-name=$OS_TENANT_NAME [LoadBalancer] lb-version=$LBAAS_VERSION subnet-id=$SUBNET_ID diff --git a/cluster/openstack-heat/kubernetes-heat/kubecluster.yaml b/cluster/openstack-heat/kubernetes-heat/kubecluster.yaml index 9aa07c5447..0924e03ce0 100644 --- a/cluster/openstack-heat/kubernetes-heat/kubecluster.yaml +++ b/cluster/openstack-heat/kubernetes-heat/kubecluster.yaml @@ -123,9 +123,9 @@ parameters: description: OpenStack Region Name default: false - os_tenant_id: + os_tenant_name: type: string - description: OpenStack Tenant ID + description: OpenStack Tenant Name default: false enable_proxy: @@ -313,7 +313,7 @@ resources: "$OS_USERNAME": {get_param: os_username} "$OS_PASSWORD": {get_param: os_password} "$OS_REGION_NAME": {get_param: os_region_name} - "$OS_TENANT_ID": {get_param: os_tenant_id} + "$OS_TENANT_NAME": {get_param: os_tenant_name} "$LBAAS_VERSION": {get_param: lbaas_version} "$SUBNET_ID": {get_resource: fixed_subnet} "$FLOATING_NETWORK_ID": {get_attr: [kube_master_floating, floating_network_id]} @@ -422,7 +422,7 @@ resources: os_username: {get_param: os_username} os_password: {get_param: os_password} os_region_name: {get_param: os_region_name} - os_tenant_id: {get_param: os_tenant_id} + os_tenant_name: {get_param: os_tenant_name} enable_proxy: {get_param: enable_proxy } ftp_proxy: {get_param: ftp_proxy } http_proxy: {get_param: http_proxy } diff --git a/cluster/openstack-heat/kubernetes-heat/kubeminion.yaml b/cluster/openstack-heat/kubernetes-heat/kubeminion.yaml index 5c3d2125bc..10c1b76e97 100644 --- a/cluster/openstack-heat/kubernetes-heat/kubeminion.yaml +++ b/cluster/openstack-heat/kubernetes-heat/kubeminion.yaml @@ -61,9 +61,9 @@ parameters: description: OpenStack Region Name default: false - os_tenant_id: + os_tenant_name: type: string - description: OpenStack Tenant ID + description: OpenStack Tenant Name default: false enable_proxy: @@ -216,7 +216,7 @@ resources: "$OS_USERNAME": {get_param: os_username} "$OS_PASSWORD": {get_param: os_password} "$OS_REGION_NAME": {get_param: os_region_name} - "$OS_TENANT_ID": {get_param: os_tenant_id} + "$OS_TENANT_NAME": {get_param: os_tenant_name} "$role": "kubernetes-pool" "$cluster_cidr": {get_param: cluster_cidr} diff --git a/cluster/openstack-heat/openrc-default.sh b/cluster/openstack-heat/openrc-default.sh index 77a95f9e28..214b975675 100644 --- a/cluster/openstack-heat/openrc-default.sh +++ b/cluster/openstack-heat/openrc-default.sh @@ -22,5 +22,4 @@ export OS_USERNAME=${OS_USERNAME:-admin} export OS_PASSWORD=${OS_PASSWORD:-secretsecret} export OS_AUTH_URL=${OS_AUTH_URL:-http://192.168.123.100:5000/v2.0} export OS_TENANT_NAME=${OS_TENANT_NAME:-admin} -export OS_TENANT_ID=${OS_TENANT_ID:-ed51b98b40944d89a449592eb67431eb} export OS_REGION_NAME=${OS_REGION_NAME:-RegionOne} diff --git a/cluster/openstack-heat/openrc-swift.sh b/cluster/openstack-heat/openrc-swift.sh index 74c2178b32..fdb2c5ac3c 100644 --- a/cluster/openstack-heat/openrc-swift.sh +++ b/cluster/openstack-heat/openrc-swift.sh @@ -23,5 +23,4 @@ export OS_USERNAME=${OS_USERNAME:-admin} export OS_PASSWORD=${OS_PASSWORD:-secretsecret} export OS_AUTH_URL=${OS_AUTH_URL:-http://192.168.123.100:5000/v2.0} export OS_TENANT_NAME=${OS_TENANT_NAME:-admin} -export OS_TENANT_ID=${OS_TENANT_ID:-ed51b98b40944d89a449592eb67431eb} export OS_REGION_NAME=${OS_REGION_NAME:-RegionOne} diff --git a/cluster/openstack-heat/util.sh b/cluster/openstack-heat/util.sh index 785286c2bd..4eec951367 100644 --- a/cluster/openstack-heat/util.sh +++ b/cluster/openstack-heat/util.sh @@ -217,7 +217,7 @@ function run-heat-script() { --parameter os_username=${OS_USERNAME} \ --parameter os_password=${OS_PASSWORD} \ --parameter os_region_name=${OS_REGION_NAME} \ - --parameter os_tenant_id=${OS_TENANT_ID} \ + --parameter os_tenant_name=${OS_TENANT_NAME} \ --parameter enable_proxy=${ENABLE_PROXY} \ --parameter ftp_proxy="${FTP_PROXY}" \ --parameter http_proxy="${HTTP_PROXY}" \