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}
--------------------------
Sahara config(part): password= <admin_ password> username= sahara tenant_ name=services
...
os_admin_
os_admin_
os_admin_
...
User credentials <user_password>
username=admin
tenant_name=admin
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.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - paste.openstack .org/show/ 77644/ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - 5000/v2. 0/tokens -H "Content-Type: application/json" -H "User-Agent: python- keystoneclient" -d '{"auth": {"tenantName": "services", "passwordCreden tials": {"username": "admin", "password": <user_password>}}}' bb08650688303ec fe is unauthorized for tenant ------- ------- ----- 172.18. 92.100: 5000/v2. 0/tokens -H "Content-Type: application/json" -H "User-Agent: python- keystoneclient" -d '{"auth": {"tenantName": "services",, "passwordCreden tials": {"username": "admin", "password": <user_password>}}}' ------- ------- -----
Sahara trace:
http://
-------
if I send request for tokens as in Sahara: 401 Unauthorized
curl -i -X POST http://<host>:
HTTP/1.1 401 Unauthorized
...
{"error": {"message": "User 8b885fda630c4ad
-------
If i change "tenantName" from "services" to "services": HTTP/1.1 200 OK
curl -i -X POST http://
HTTP/1.1 200 OK
...
{JSON with tokens}
-------