Closed vinayakbhat24 closed 7 years ago
Hi Vinayak,
Am 16.09.2017 um 02:26 schrieb Vinayak Bhat:
Hi, I am not able to run any commands (ex: openstack network list ...). My user name is my name itself. I saw some documents in that they have taken username like 146* OTC****. Is that a problem?
Make sure you have your evironment configured correctly:
export OS_PASSWORD="XXXXXXXXXXXXXXXXXXXXXXXXXX"
export OS_USERNAME="1XXXXXXX OTC00000000001000YYYYYY" export OS_TENANT_NAME=eu-de export OS_PROJECT_NAME=eu-de
export OS_USER_DOMAIN_NAME="${OS_USERNAME##* }" export OS_AUTH_URL=https://iam.eu-de.otc.t-systems.com/v3 export OS_PROJECT_DOMAIN_NAME= export OS_IDENTITY_API_VERSION=3 export OS_VOLUME_API_VERSION=2 export OS_IMAGE_API_VERSION=2 export OS_ENDPOINT_TYPE=publicURL export NOVA_ENDPOINT_TYPE=publicURL export CINDER_ENDPOINT_TYPE=publicURL
More details you can find for example on slides.com/kgarloff/
HTH,
-- Kurt Garloff kurt@garloff.de, Cologne, Germany
Hi Kurt, Still I am not able to access. According to https://docs.otc.t-systems.com/en-us/devg/sdk/en-us_topic_0056975452.html, I should be able to login into the MyWorkspace to see OS_USER_DOMAIN_NAME. But I am not able to login into MyWorkspace and using my regular domain name. Is this an issue behind this?
Many thanks,
Hi Vinayak,
It sounds like you have an IAM user. This is actually the best way. You can get the username and domain name from "My Credential". I would expect something like this
export OS_USERNAME="yourNormalLoginUsername" export OS_USER_DOMAIN_NAME=OTC00000000001000XXXXXX export OS_PASSWORD="yourNormalPassword"
Domain name might start OTC-EU-DE-00000...
If this doesn't work for you, I could do a Webex with you to have a look.
Anthony
Hi @28formica77 , Thanks, Actualy I was not running as a root user. Now as a root user error is different.
[vagrant@localhost openstack]$ openstack user list Unauthorized. (HTTP 401) [vagrant@localhost openstack]$ sudo openstack network list Missing value auth-url required for auth plugin password
Any idea?
Best Regards, Vinayak Bhat
Could you email me your OS environment variables? [without your password] so I can check them. Perhaps I can give you some test ones so we can rule out the environment.
Anthony.Clarke@t-systems.com
Hi @28formica77 ,
Thanks a lot for figuring out the issue. It was my password problem. There should not be any special character in the password.
Thanks,
Best Regards,
Hi, I am not able to run any commands (ex: openstack network list ...). My user name is my name itself. I saw some documents in that they have taken username like 146* OTC****. Is that a problem?