[ https://issues.apache.org/jira/browse/CLOUDSTACK-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Animesh Chaturvedi updated CLOUDSTACK-1388: ------------------------------------------- Assignee: Min Chen > UI - ListUsers doesnt display any User except the Default Root Admin User > ------------------------------------------------------------------------- > > Key: CLOUDSTACK-1388 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1388 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: UI > Affects Versions: 4.1.0 > Reporter: Chandan Purushothama > Assignee: Min Chen > Priority: Blocker > Fix For: 4.1.0, 4.2.0 > > > ====================== > Steps to Reproduce the Bug: > ====================== > 1. Login as the ROOT domain's default Admin via the UI. > 2. Click on Accounts menu in the left panel of the UI. > 3. Create an account using the Create Account Button. > 4. Click on Accounts menu in the left panel of the UI to refresh the right > panel of the UI. > 5. Click on the newly created regular Account. > 6. Click on View Users Button. > Observe that the Listed User is the default admin User. > =============== > Fire Bug Information: > =============== > http://10.223.59.67:8080/client/api?command=listAccounts&response=json&sessionkey=NHWmgdBHM6Ne4aOCm5kzNK79xN4%3D&id=6983d7d8-d6dc-4e09-b334-ba15ab87fa5f&_=1361845592724 > { "listaccountsresponse" : { "count":1 ,"account" : [ > {"id":"6983d7d8-d6dc-4e09-b334-ba15ab87fa5f","name":"atoms","accounttype":0,"domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","vmlimit":"20","vmtotal":0,"vmavailable":"20","iplimit":"20","iptotal":0,"ipavailable":"0","volumelimit":"20","volumetotal":0,"volumeavailable":"20","snapshotlimit":"20","snapshottotal":0,"snapshotavailable":"20","templatelimit":"20","templatetotal":0,"templateavailable":"20","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"20","networktotal":0,"networkavailable":"20","state":"enabled","user":[{"id":"be40f01a-7fc9-11e2-bf73-48eed048f5f7","username":"system","firstname":"system","lastname":"cloud","created":"2013-02-25T12:05:23-0800","state":"enabled","account":"system","accounttype":1,"domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","accountid":"be3d32fe-7fc9-11e2-bf73-48eed048f5f7","iscallerchilddomain":false,"jobstatus":0},{"id":"be460b4a-7fc9-11e2-bf73-48eed048f5f7","username":"admin","firstname":"admin","lastname":"cloud","created":"2013-02-25T12:05:23-0800","state":"enabled","account":"admin","accounttype":1,"domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","accountid":"be437b28-7fc9-11e2-bf73-48eed048f5f7","iscallerchilddomain":false,"jobstatus":0},{"id":"f5662482-0080-4809-b8be-0948a381eee0","username":"atoms","firstname":"atoms","lastname":"atomslast","email":"at...@abc.com","created":"2013-02-25T21:13:32-0800","state":"enabled","account":"atoms","accounttype":0,"domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","timezone":"America/Los_Angeles","accountid":"6983d7d8-d6dc-4e09-b334-ba15ab87fa5f","iscallerchilddomain":false,"jobstatus":0}],"networkdomain":"atoms.lab.vmops.com","jobstatus":0} > ] } } > http://10.223.59.67:8080/client/api?command=listResourceLimits&response=json&sessionkey=NHWmgdBHM6Ne4aOCm5kzNK79xN4%3D&domainid=a3b512e4-7fc9-11e2-bf73-48eed048f5f7&account=atoms&_=1361845592831 > { "listresourcelimitsresponse" : { "count":8 ,"resourcelimit" : [ > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"0","max":20}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"1","max":20}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"2","max":20}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"3","max":20}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"4","max":20}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"5","max":-1}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"6","max":20}, > > {"account":"atoms","domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","resourcetype":"7","max":20} > ] } } > http://10.223.59.67:8080/client/api?command=listUsers&response=json&sessionkey=NHWmgdBHM6Ne4aOCm5kzNK79xN4%3D&domainid=a3b512e4-7fc9-11e2-bf73-48eed048f5f7&account=admin&listAll=true&page=1&pagesize=20&_=1361845596344 > { "listusersresponse" : { "count":1 ,"user" : [ > {"id":"be460b4a-7fc9-11e2-bf73-48eed048f5f7","username":"admin","firstname":"admin","lastname":"cloud","created":"2013-02-25T12:05:23-0800","state":"enabled","account":"admin","accounttype":1,"domainid":"a3b512e4-7fc9-11e2-bf73-48eed048f5f7","domain":"ROOT","accountid":"be437b28-7fc9-11e2-bf73-48eed048f5f7","iscallerchilddomain":false,"jobstatus":0} > ] } } > **Observe the Last URL fired from the UI** > ========== > Bug Impact: > ========== > Unable to perform any User specific operations via the UI. Registration of > API and Secret Key required for AWS API REST Query Feature cannot be done via > the UI. -- 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