Comment 0 for bug 1314124

Revision history for this message
Vadim Rovachev (vrovachev) wrote :

Sahara config(part):
...
os_admin_password=<admin_password>
os_admin_username=sahara
os_admin_tenant_name=services
...

User credentials
username=admin
tenant_name=admin
password=<user_password>

Preconditions steps:
User has created cluster, has added jar and pig scripts and input file for edp job in Swift, has created data sources, job binaries and job.

Step to reproduse:
Launch Job.
Wait some time.
Expected result: Job SUCCESSED.
Actual result: Job in pending state.

------------------------------------------------------------------------------
Sahara trace:
http://paste.openstack.org/show/77644/
------------------------------------------------------------------------------
if I send request for tokens as in Sahara: 401 Unauthorized
   curl -i -X POST http://<host>:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"tenantName": "services", "passwordCredentials": {"username": "admin", "password": <user_password>}}}'
   HTTP/1.1 401 Unauthorized
   ...
   {"error": {"message": "User 8b885fda630c4adbb08650688303ecfe is unauthorized for tenant
--------------------------
If i change "tenantName" from "services" to "services": HTTP/1.1 200 OK
   curl -i -X POST http://172.18.92.100:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"tenantName": "services",, "passwordCredentials": {"username": "admin", "password": <user_password>}}}'
   HTTP/1.1 200 OK
   ...
   {JSON with tokens}
--------------------------