[ https://issues.apache.org/jira/browse/CLOUDSTACK-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591131#comment-13591131 ]
Jessica Wang commented on CLOUDSTACK-1465: ------------------------------------------ I was unable to reproduce this bug in my own environment. When I logged in as a normal user, listZones API does return what it should return (i.e. a zone). So, I asked Parth to provide a database dump from his testing environment where he saw the bug. After restoring database dump provided by Parth in my environment, I saw the bug (i.e. listZones API doesn't return what it's supposed to return). I suggest whoever is assigned to fix this bug try to reproduce this bug by himself first. If it's not reproducible, then ask Parth to provide database dump. > List Zones returns null under create instance when logged is as user > -------------------------------------------------------------------- > > Key: CLOUDSTACK-1465 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1465 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API, Management Server > Affects Versions: 4.1.0 > Environment: Build 46 > RHEL 6.3 > Reporter: Parth Jagirdar > Assignee: Prasanna Santhanam > Priority: Blocker > Attachments: list_zone as user.jpg > > > List Zones returns null under create instance when logged is as user > > Logged in as user (not admin). > > Create instance fires List Zone which returns nothing. > > Refer to attached screen; Left screen was taken while logged in as Admin and > other as user. > > > 2013-02-28 16:30:17,210 INFO [cloud.api.ApiServer] (catalina-exec-22:null) > (userId=3 accountId=3 sessionId=C053501016E18D3F98E4321FD498C899) > 10.217.252.57 -- GET > command=listZones&available=true&response=json&sessionkey=AU7vDLU0hh%2BaB9l1FBZrlYlEM50%3D&_=1362097817746 > 200 { "listzonesresponse" : { } } > > > List Zones works as expected under Admin user. > > This bugs prevent user from seeing any Zones. Which in-turn prevents user > from creating any instances. -- 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