Huawei / DockerMachineDriver4OTC

Apache License 2.0
10 stars 18 forks source link

VPC.0007 urlTenantId is not equal tokenTenantId #18

Open rfleschenberg opened 5 years ago

rfleschenberg commented 5 years ago

I run this command:

docker-machine -D create -d otc \
    --otc-service-endpoint https://ecs.eu-de.otc.t-systems.com \
    --otc-region eu-de \
    --otc-tenant-id $MY_TENANT_ID \
    --otc-access-key-id $MY_ACCESS_KEY_ID \
    --otc-access-key-secret $MY_ACCESS_KEY_SECRET \
    --otc-image-id 6a30d701-9294-409e-b9dc-8d95c78a5ca4 \
    --otc-root-volume-size 50 \
    --otc-root-volume-type SATA \
    --otc-security-group default \
    --otc-vpc-id $MY_VPC_ID \
    rene-test1

It fails with:

notifying bugsnag: [Error creating machine: Error in driver during machine creation: rene-test1 | Failed to crate ssh key pair: unknown error, status code: 400, err: { }]

According to the debug output, the remote side is complaining about a tenand ID mismatch:

(rene-test1) DBG | subnets:[] response code:400 error info:{VPC.0007 urlTenantId is not equal tokenTenantId.}
tischrei commented 5 years ago

Tenant-ID = Project-ID