incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-336) listZones doesn't honour paging
Date Wed, 23 Jan 2013 23:13:13 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohit Yadav resolved CLOUDSTACK-336.
------------------------------------

    Resolution: Cannot Reproduce

Verified, this issue was already fixed.

For a single basic zone, the request:
http://localhost:8096/api?apiKey=lAkqllizZHzpCZym8ITX9Qy_eH_bPFgUy3DQE8POP5gxy6N_g5t-3I3eiMGHatR8kP2NaUv4KncErOPy0-QRUA&command=listZones&response=sadf&signature=MfcXyR1cokbkoF%2F3ShxfbUJBg2E%3D&page=2&pagesize=10

Has empty response for zone entity:
<listzonesresponse cloudstack-version="4.1.0-SNAPSHOT">
<count>1</count>
</listzonesresponse>

For page=1, the response was valid:

<listzonesresponse cloudstack-version="4.1.0-SNAPSHOT"><count>1</count><zone><id>c196b9cf-554e-4bd3-a824-460f1fa340d3</id><name>MyZone</name><dns1>192.168.56.1</dns1><internaldns1>192.168.56.1</internaldns1><networktype>Basic</networktype><securitygroupsenabled>true</securitygroupsenabled><allocationstate>Enabled</allocationstate><zonetoken>cb5ddc6c-85f0-3e67-b9d0-54d89d364cd9</zonetoken><dhcpprovider>VirtualRouter</dhcpprovider><localstorageenabled>true</localstorageenabled></zone></listzonesresponse>
                
> listZones doesn't honour paging
> -------------------------------
>
>                 Key: CLOUDSTACK-336
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-336
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: pre-4.0.0
>            Reporter: Kenneth Bell
>            Assignee: Rohit Yadav
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> When there's a single zone, this API call should return no results:
> http://192.168.1.90:8080/client/api?page=132&pagesize=100&command=listZones&apiKey=cXffVceGdldAQ3jTwbitAh-XIPDlDTs7s9OGSy7QY9ot3Dqg9Ge1fO4dLciG7zTP1cRyik1DPdHJq6pz4y9iIA&signature=kQr%2bTSbQom6tGAjGyCXzihKU4yk%3d
> Instead, it returns the one zone present:
> <?xml version="1.0" encoding="utf-16"?>
> <listzonesresponse cloud-stack-version="3.0.2.20120506222834">
>   <count>1</count>
>   <zone>
>     <id>fc9a3d8c-6ae0-4a9e-82e5-12c65712ce04</id>
>     <name>Zone1</name>
>     <dns1>192.168.1.254</dns1>
>     <internaldns1>192.168.1.254</internaldns1>
>     <networktype>Basic</networktype>
>     <securitygroupsenabled>true</securitygroupsenabled>
>     <allocationstate>Enabled</allocationstate>
>     <zonetoken>787d94d6-520e-321a-9017-76485505ab16</zonetoken>
>     <dhcpprovider>VirtualRouter</dhcpprovider>
>   </zone>
> </listzonesresponse>

--
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

Mime
View raw message