[ https://issues.apache.org/jira/browse/CLOUDSTACK-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723234#comment-13723234 ]
Srikanteswararao Talluri commented on CLOUDSTACK-1405: ------------------------------------------------------ what i mean is, by issuing following command with 'scope=zone' , response has cluster scoped primary storages also. http://10.147.38.166:8096/client/api?command=listStoragePools&scope=zone <liststoragepoolsresponse cloud-stack-version="4.2.0-SNAPSHOT"> <count>3</count> <storagepool> <id>e718041f-27bf-36a4-8fec-cddcf344ad96</id> <zoneid>fa1e7dd0-259e-4af7-8926-13d67c968b34</zoneid> <zonename>Sandbox-XenServer1</zonename> <podid>dbce17af-add0-4fb0-a97f-0a3072b05389</podid> <podname>POD0</podname> <name>prim2</name> <ipaddress>10.147.28.8</ipaddress> <path>/vol/dgVol/automation/adv/pri_2</path> <created>2013-07-30T04:21:57+0530</created> <type>NetworkFilesystem</type> <clusterid>f5fa173e-127e-4409-a3f9-f0dbc8536bdc</clusterid> <clustername>C0</clustername> <disksizetotal>1759218630656</disksizetotal> <disksizeallocated>4194304000</disksizeallocated> <disksizeused>1574864158720</disksizeused> <state>Up</state> <scope>CLUSTER</scope> </storagepool> <storagepool> <id>cb8c6c62-71ea-3269-94b9-b1c0a4055d45</id> <zoneid>214657f8-a3c5-47c0-9246-60239d5037b1</zoneid> <zonename>Sandbox-XenServer</zonename> <podid>20d436d4-65a8-4f51-922f-0881e0a9eee9</podid> <podname>POD0</podname> <name>PS1</name> <ipaddress>10.147.28.8</ipaddress> <path>/vol/dgVol/automation/adv/pri_3</path> <created>2013-07-30T04:07:57+0530</created> <type>NetworkFilesystem</type> <clusterid>6546074a-b3d5-4d92-b2ba-c96d30e605de</clusterid> <clustername>C0</clustername> <disksizetotal>1759218630656</disksizetotal> <disksizeallocated>99656663040</disksizeallocated> <disksizeused>1574925828096</disksizeused> <state>Up</state> <scope>CLUSTER</scope> </storagepool> <storagepool> <id>dfd58d93-f4f2-34f7-b5f0-bfd69b6aaebe</id> <zoneid>214657f8-a3c5-47c0-9246-60239d5037b1</zoneid> <zonename>Sandbox-XenServer</zonename> <podid>20d436d4-65a8-4f51-922f-0881e0a9eee9</podid> <podname>POD0</podname> <name>PS0</name> <ipaddress>10.147.28.8</ipaddress> <path>/vol/dgVol/automation/adv/primary</path> <created>2013-07-30T04:07:55+0530</created> <type>NetworkFilesystem</type> <clusterid>6546074a-b3d5-4d92-b2ba-c96d30e605de</clusterid> <clustername>C0</clustername> <disksizetotal>1759218630656</disksizetotal> <disksizeallocated>128547028992</disksizeallocated> <disksizeused>1574914621440</disksizeused> <state>Up</state> <scope>CLUSTER</scope> </storagepool> </liststoragepoolsresponse> > ZWPS: listStoragePool API doesn't accept scope parameter > -------------------------------------------------------- > > Key: CLOUDSTACK-1405 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1405 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.2.0 > Environment: advanced zone > Reporter: Srikanteswararao Talluri > Assignee: Min Chen > Priority: Critical > Fix For: 4.2.0 > > > listStoragePool API doesn't accept scope parameter -- 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