← Back to team overview

openstack team mailing list archive

Re: tenant Id and user ID

 

hi, you need 4 variables
export OS_USERNAME=adminexport OS_PASSWORD=123456export OS_TENANT_NAME=adminexport OS_AUTH_URL=http://localhost:5000/v2.0/
Thanksfrom Peter

From: nirlay@xxxxxxxxxxx
To: mcheung63@xxxxxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Openstack] tenant Id and user ID
Date: Thu, 18 Jul 2013 09:20:59 -0400




I am a similar question. I am trying to create an image using RDO. When I do this, it is asking for username
glance image-create --name "Fedora 19 x86_64" --disk-format qcow2 --container-format bare --is-public true --copy-from http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2
You must provide a username via either --os-username or env[OS_USERNAME]
Then it is asking for tenant ID, OS_AUTH_URL.
ThanksNirlayFrom: mcheung63@xxxxxxxxxxx
To: openstack@xxxxxxxxxxxxxxxxxxx
Date: Thu, 18 Jul 2013 11:50:26 +0800
Subject: [Openstack] tenant Id and user ID




hi all   when i "keystone user-role-list", why i need to pass tenantId and userId to horizon to get the user role list? Suppose the command will list out all roles for all users.
192.168.100.170.47363-192.168.100.170.35357: GET /v2.0/tenants/b721f5b1f7cd43dd83ee573f6d4e6c74/users/9a1f8c114e2f44f8a5e4889997f2cac1/roles HTTP/1.1

Thanksfrom Peter 		 	   		  

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp 		 	   		   		 	   		  

References