[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713124#comment-13713124
 ] 

Parth Jagirdar commented on CLOUDSTACK-3610:
--------------------------------------------

Also we have in-consistencies while passing the domain path.


[root@msauto4 ~]# cat /var/log/cloudstack/management/apilog.log | grep LEH5TP
2013-07-18 18:22:58,769 INFO  [cloud.api.ApiServer] (catalina-exec-11:null)  
10.217.252.127 -- POST command=login domain=/Domain-LEH5TPUnable to find the 
domain from the path /Domain-LEH5TP/
2013-07-18 18:23:02,798 INFO  [cloud.api.ApiServer] (catalina-exec-25:null)  
10.217.252.127 -- POST command=login domain=/Domain-LEH5TPUnable to find the 
domain from the path /Domain-LEH5TP/
2013-07-18 18:23:08,601 INFO  [cloud.api.ApiServer] (catalina-exec-3:null)  
10.217.252.127 -- POST command=login domain=/LEH5TPUnable to find the domain 
from the path /LEH5TP/
2013-07-18 18:23:14,208 INFO  [cloud.api.ApiServer] (catalina-exec-13:null)  
10.217.252.127 -- POST command=login domain=/LEH5TPUnable to find the domain 
from the path /LEH5TP/
2013-07-18 18:23:16,425 INFO  [cloud.api.ApiServer] (catalina-exec-10:null)  
10.217.252.127 -- POST command=login domain=/LEH5TPUnable to find the domain 
from the path /LEH5TP/
[root@msauto4 ~]#


                
> Regresssion test case "test_accounts.TestUserLogin" failed with wrong 
> credentials
> ---------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3610
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3610
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: KVM and VMWARe
> Automation
>            Reporter: Rayees Namathponnan
>             Fix For: 4.2.0
>
>
> Test suite integration.component.test_accounts.TestUserLogin failed login 
> failure,
> observed below error in log
> Execute cmd: error failed, due to: errorCode: 531, errorText:Failed to 
> authenticate user test-IRAJPP in domain 1; please provide valid credentials
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestUserLogin: DEBUG: Creating a domain for login with 
> API domain test
> testclient.testcase.TestUserLogin: DEBUG: Domain: Domain-LEH5TP is created 
> succesfully.
> testclient.testcase.TestUserLogin: DEBUG: Checking if the created domain is 
> listed in list domains API
> testclient.testcase.TestUserLogin: DEBUG: Creating an user account in domain: 
> Domain-LEH5TP
> testclient.testcase.TestUserLogin: DEBUG: Logging into the cloudstack with 
> login API
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_accounts.py", line 
> 1587, in test_LoginApiDomain
>     password=self.services["account"]["password"]
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 212, in login
>     return apiclient.login(cmd)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 2725, in login
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 222, in marvin_request
>     response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 
> 148, in getResultObj
>     raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: error failed, due to: errorCode: 531, errorText:Failed to 
> authenticate user test-IRAJPP in domain 1; please provide valid credentials

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to