Srikanteswararao Talluri created CLOUDSTACK-2956:
----------------------------------------------------

             Summary: listStoragePools API is returning cluster details for 
zone scoped primary storage
                 Key: CLOUDSTACK-2956
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2956
             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
            Reporter: Srikanteswararao Talluri
            Priority: Critical
             Fix For: 4.2.0


1. While deploying a zone using zone create wizard and add a zone scoped 
primary storage.
2. Invoke listStoragePools API.
It is listing cluster details for  zone scoped primary storage which doesn't 
make sense.

This is happening when  createStoragePool API is invoked by providing 
clustered= and podId= 

command=createStoragePool&zoneid=223c3687-f561-4b16-9584-2e1266c303b1&podId=fd70cc91-07ee-4c5e-92ff-3090911653a8&clusterid=ce410600-35c3-4e69-af4e-972b61bd9259&name=prim&scope=zone&hypervisor=VMware&url=nfs%3A%2F%2F10.147.28.7%2Fexport%2Fhome%2Ftalluri%2Fmysetup_prim&response=json&sessionkey=vQryK5i4jo4Lm%2BLJ%2F3gHgGQzneg%3D&_=1371030846595

<liststoragepoolsresponse cloud-stack-version="4.2.0-SNAPSHOT">
<count>3</count>
<storagepool>
<id>98a13fa4-5768-3a67-b6ed-6c06e609a4dc</id>
<zoneid>223c3687-f561-4b16-9584-2e1266c303b1</zoneid>
<zonename>zwpszone</zonename>
<zonetype>Advanced</zonetype>
<podid>fd70cc91-07ee-4c5e-92ff-3090911653a8</podid>
<podname>pod</podname>
<name>prim3</name>
<ipaddress>10.147.28.7</ipaddress>
<path>/export/home/talluri/mysetup_prim3</path>
<created>2013-06-12T21:44:10+0530</created>
<type>NetworkFilesystem</type>
<clusterid>ce410600-35c3-4e69-af4e-972b61bd9259</clusterid>
<clustername>10.147.60.15/stormig/stormig_clus</clustername>
<disksizetotal>5902284800000</disksizetotal>
<disksizeallocated>0</disksizeallocated>
<disksizeused>3281502081024</disksizeused>
<state>Up</state>
<scope>ZONE</scope>
<hypervisor>VMware</hypervisor>
</storagepool>
<storagepool>
<id>ece502dc-5d06-3043-afec-38e3d54fe995</id>
<zoneid>223c3687-f561-4b16-9584-2e1266c303b1</zoneid>
<zonename>zwpszone</zonename>
<zonetype>Advanced</zonetype>
<name>prim2</name>
<ipaddress>10.147.28.7</ipaddress>
<path>/export/home/talluri/mysetup_prim2</path>
<created>2013-06-12T21:23:13+0530</created>
<type>NetworkFilesystem</type>
<disksizetotal>5902284800000</disksizetotal>
<disksizeallocated>0</disksizeallocated>
<disksizeused>3281155739648</disksizeused>
<state>Up</state>
<scope>ZONE</scope>
<hypervisor>VMware</hypervisor>
</storagepool>
<storagepool>
<id>5a830e2f-3b1e-32fd-bdde-a418fba453a2</id>
<zoneid>223c3687-f561-4b16-9584-2e1266c303b1</zoneid>
<zonename>zwpszone</zonename>
<zonetype>Advanced</zonetype>
<podid>fd70cc91-07ee-4c5e-92ff-3090911653a8</podid>
<podname>pod</podname>
<name>prim</name>
<ipaddress>10.147.28.7</ipaddress>
<path>/export/home/talluri/mysetup_prim</path>
<created>2013-06-12T20:49:33+0530</created>
<type>NetworkFilesystem</type>
<clusterid>ce410600-35c3-4e69-af4e-972b61bd9259</clusterid>
<clustername>10.147.60.15/stormig/stormig_clus</clustername>
<disksizetotal>5902284800000</disksizetotal>
<disksizeallocated>8489271296</disksizeallocated>
<disksizeused>3280631812096</disksizeused>
<state>Up</state>
<scope>ZONE</scope>
<hypervisor>VMware</hypervisor>
</storagepool>
</liststoragepoolsresponse>

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

Reply via email to