[
https://issues.apache.org/jira/browse/CLOUDSTACK-7558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jessica Wang reassigned CLOUDSTACK-7558:
----------------------------------------
Assignee: Animesh Chaturvedi (was: Jessica Wang)
Animesh,
This is an API issue, not UI issue.
Please assign this issue to an API developer.
=============================================================================================
API developer,
Please fix API response of "listStoragePools&zoneid=xxx" to include primary
storages under other clusters.
(Currently, the API response includes only primary storages under the same
cluster.)
p.s. Here is API call and API response in my attached screenshot:
http://10.215.3.26:8080/client/api?command=listStoragePools&zoneid=703c747a-19ab-417b-bd92-2bdd1720b450&response=json&sessionkey=aR4zci84VtlKHbSL5lhL3ceQZlE%3D&_=1415144054018
{
"liststoragepoolsresponse": {
"count": 2,
"storagepool": [
{
"id": "156766ce-7979-3648-9367-4237533237d3",
"zoneid": "703c747a-19ab-417b-bd92-2bdd1720b450",
"zonename": "jw1",
"podid": "f7197096-593a-480a-934d-71eb27c147f1",
"podname": "jw1-pod",
"name": "alena",
"ipaddress": "10.223.110.232",
"path": "/export/home/jessica/jw1_24hours_E",
"created": "2014-08-14T15:11:08-0800",
"type": "NetworkFilesystem",
"clusterid": "f275f6c2-cfc9-450e-83bb-1fde50937e7c",
"clustername": "jw1-cluster",
"disksizetotal": 11810778316800,
"disksizeallocated": 85899345920,
"tags": "24hoursTag",
"state": "Maintenance",
"scope": "CLUSTER",
"storagecapabilities": {
"VOLUME_SNAPSHOT_QUIESCEVM": "false"
}
},
{
"id": "723fb9fe-634f-3b68-962a-d14cb6eac0a8",
"zoneid": "703c747a-19ab-417b-bd92-2bdd1720b450",
"zonename": "jw1",
"podid": "f7197096-593a-480a-934d-71eb27c147f1",
"podname": "jw1-pod",
"name": "jw1_primary",
"ipaddress": "10.223.110.232",
"path": "/export/home/jessica/jw1_primary",
"created": "2014-08-12T08:59:36-0800",
"type": "NetworkFilesystem",
"clusterid": "f275f6c2-cfc9-450e-83bb-1fde50937e7c",
"clustername": "jw1-cluster",
"disksizetotal": 11810778316800,
"disksizeallocated": 136713338880,
"disksizeused": 6581751611392,
"state": "Up",
"scope": "CLUSTER",
"storagecapabilities": {
"VOLUME_SNAPSHOT_QUIESCEVM": "false"
}
}
]
}
}
> [UI]list storage pools under "Migrate" root volume is not listing the primary
> storage of other clusters.
> --------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7558
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7558
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API, Storage Controller
> Affects Versions: 4.5.0
> Environment: 1zone,1pod,2 clusters with 2 cluster wide primary
> storage pools.
> Reporter: manasaveloori
> Assignee: Animesh Chaturvedi
> Fix For: 4.5.0
>
>
> 1. Clusters C1 with PS1 and cluster PS2----both are cluster wide primary
> storages.
> 2. deployed a VM with data disk under C1.
> 3. stopped the VM.
> 4. Migrate the root/data volume from PS1 to PS2.
> Observation:
> under Migration...the drop down is not listing the primary storage of other
> clusters.
> As this is supported operation the UI should list them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)