Rayees Namathponnan created CLOUDSTACK-7294:
-----------------------------------------------
Summary: [Automation] ListUser API call returns null, with admin
user
Key: CLOUDSTACK-7294
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7294
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.5.0
Reporter: Rayees Namathponnan
Priority: Blocker
Fix For: 4.5.0
This is issue observed in automation run, listUser API call from admin account
its not returning anything
{notformat}
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?username=test-a-TestScaleVmDynamicServiceOffering-test_check_vm_stats_1_ADMIN_ACCOUNT-CSLTD9&apiKey=6zw5hCTgehiuRygidlX9Lg089xLncrgdPOB1kUI32G6CG19hYJiT8hEKlIyJL5hOaSW9nJ2s0hc3a605fi0wVQ&command=listUsers&response=json&signature=spQJXI%2Bz76Enm%2B1mthEXDtdFc64%3D
HTTP/1.1" 200 29
test_check_vm_stats_1_ADMIN_ACCOUNT
(integration.component.test_dynamic_compute_offering.TestDynamicServiceOffering):
DEBUG: Response : None
test_check_vm_stats_1_ADMIN_ACCOUNT
(integration.component.test_dynamic_compute_offering.TestDynamicServiceOffering):
ERROR: Exception Occurred Under getUserApiClient : ['Traceback (most recent
call last):\n', ' File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py", line
349, in __createUserApiClient\n userId = listuserRes[0].id\n', "TypeError:
'NoneType' object is not subscriptable\n"]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py",
line 349, in __createUserApiClient
userId = listuserRes[0].id
TypeError: 'NoneType' object is not subscriptable
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)