[ https://issues.apache.org/jira/browse/CLOUDSTACK-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sailaja Mada closed CLOUDSTACK-2046. ------------------------------------ Regressed with latest master. Now max limit is set to -1 to admin & 400 GB to non admins. Hence closing the defect. > Primary Storage & Secondary Storage is max limit is set 0 with > listResourceLimits API response as ROOT admin > ------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-2046 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2046 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API > Affects Versions: 4.2.0 > Reporter: Sailaja Mada > Assignee: Sanjay Tripathi > Fix For: 4.2.0 > > Attachments: screenshot-1.jpg > > > Setup: Advanced Networking zone with Xen 6.1, Latest Master [RHEL 6.3 MS] > Steps: > 1. Trigger listResourceLimits API as ROOT admin > Observation: > 1) Primary Storage & Secondary Storage is max limit is set 0 with > listResourceLimits API response as ROOT admin > 2) UI also uses the same API so it is set to 0. > 2013-04-16 17:09:56,387 INFO [cloud.api.ApiServer] (ApiServer-6:null) > (userId=1 accountId=1 sessionId=null) /10.144.6.19 -- GET > /client/api?command=listResourceLimits&resourcetype=11&account=admin&domainid=1 > HTTP/1.1 200 <?xml version="1.0" > encoding="UTF-8"?><listresourcelimitsresponse > cloud-stack-version="4.2.0-SNAPSHOT"><count>1</count><resourcelimit><account>admin</account><domainid>bbf69242-a66b-11e2-8cb5-c2ae49691a00</domainid><domain>ROOT</domain><resourcetype>11</resourcetype><max>0</max></resourcelimit></listresourcelimitsresponse> > 2013-04-16 17:09:51,981 INFO [cloud.api.ApiServer] (ApiServer-5:null) > (userId=1 accountId=1 sessionId=null) /10.144.6.19 -- GET > /client/api?command=listResourceLimits&resourcetype=10&account=admin&domainid=1 > HTTP/1.1 200 <?xml version="1.0" > encoding="UTF-8"?><listresourcelimitsresponse > cloud-stack-version="4.2.0-SNAPSHOT"><count>1</count><resourcelimit><account>admin</account><domainid>bbf69242-a66b-11e2-8cb5-c2ae49691a00</domainid><domain>ROOT</domain><resourcetype>10</resourcetype><max>0</max></resourcelimit></listresourcelimitsresponse> > 200 324 -- 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