Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-machine creation fails in subprojects like eu-de_test1 #28

Closed
tischrei opened this issue Aug 22, 2019 · 3 comments
Closed

docker-machine creation fails in subprojects like eu-de_test1 #28

tischrei opened this issue Aug 22, 2019 · 3 comments

Comments

@tischrei
Copy link
Contributor

tischrei commented Aug 22, 2019

(ansibleenv) ubuntu@tino-dev2:~$ openstack --os-cloud otc project list
+----------------------------------+-------------------------+
| ID                               | Name                    |
+----------------------------------+-------------------------+
| d380837226214dfd87_shortened | eu-de_test1               |
| 16d53a84a13b49529d_shortened | eu-de                        |
+----------------------------------+-------------------------+

In eu-de it is working
In eu-de_test it is not working

Error 1)
(dockermachine-3) DBG | subnets:[] response code:400 error info:{VPC.0007 urlTenantId is not equal tokenTenantId.}

Error 2)

Error creating machine: Error in driver during machine creation: dockermachine-3 | Failed to crate ssh key pair: unknown error, status code: 400, err: { }
notifying bugsnag: [Error creating machine: Error in driver during machine creation: dockermachine-3 | Failed to crate ssh key pair: unknown error, status code: 400, err: { }]
@AdamVB
Copy link
Contributor

AdamVB commented Oct 30, 2019

@zzhaoy It is probably because the signer module does not add the X-Project-Id to the header

See here https://docs.otc.t-systems.com/en-us/api/apiug/apig-en-api-180328008.html at the bottom

@AdamVB
Copy link
Contributor

AdamVB commented Oct 31, 2019

I fixed it here:

AdamVB@9ef3aa3

@AdamVB
Copy link
Contributor

AdamVB commented Oct 31, 2019

#29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants