[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790886#comment-13790886
 ] 

Jessica Wang commented on CLOUDSTACK-3111:
------------------------------------------

This is an API bug, NOT UI bug.

Because listVolumes API doesn't return hypervisor property of volume that is 
attached to instance running in KVM.

I'll remove "UI" and add "API" to Component field.

When filing an UI or API bug next time, please provide API call info (which is 
very useful),
like this:
http://10.215.3.26:8080/client/api?command=listVolumes&response=json&sessionkey=IyFSzZzGCj1zlT%2FtDBRTkCLYjkk%3D&listAll=true&page=1&pagesize=20&_=1381354248647
{
    "listvolumesresponse": {
        "count": 3,
        "volume": [
            {
                "id": "88fbcdc9-3b96-4589-b65a-66facfb78894",
                "name": "ROOT-6",
                "zoneid": "6bcd3bd9-591c-4d99-a164-d05b87df1b04",
                "zonename": "jw-adv",
                "type": "ROOT",
                "deviceid": 0,
                "virtualmachineid": "0acb7fb8-2dba-4752-ab2c-8b5dbe133cd8",
                "vmname": "bbb",
                "vmdisplayname": "bbb",
                "vmstate": "Running",
                "size": 21474836480,
                "created": "2013-10-08T15:18:03-0700",
                "state": "Ready",
                "account": "admin",
                "domainid": "b99cd8ec-2d40-11e3-86aa-3c970e739c3e",
                "domain": "ROOT",
                "storagetype": "shared",
                "hypervisor": "XenServer",
                "storage": "jw-primary",
                "destroyed": false,
                "serviceofferingid": "7a48a248-5328-4e91-b7a4-2189a98e8e12",
                "serviceofferingname": "Small Instance",
                "serviceofferingdisplaytext": "Small Instance",
                "isextractable": true,
                "tags": [],
                "displayvolume": false
            },
            {
                "id": "ef558c60-c0ca-415b-ba21-19f14959061d",
                "name": "aaa",
                "zoneid": "6bcd3bd9-591c-4d99-a164-d05b87df1b04",
                "zonename": "jw-adv",
                "type": "DATADISK",
                "deviceid": 1,
                "virtualmachineid": "0acb7fb8-2dba-4752-ab2c-8b5dbe133cd8",
                "vmname": "bbb",
                "vmdisplayname": "bbb",
                "vmstate": "Running",
                "size": 5368709120,
                "created": "2013-10-08T15:17:14-0700",
                "state": "Ready",
                "account": "admin",
                "domainid": "b99cd8ec-2d40-11e3-86aa-3c970e739c3e",
                "domain": "ROOT",
                "storagetype": "shared",
                "hypervisor": "XenServer",
                "diskofferingid": "e1505081-c2d8-4102-8f2b-eecd1c889c05",
                "diskofferingname": "Small",
                "diskofferingdisplaytext": "Small Disk, 5 GB",
                "storage": "jw-primary",
                "attached": "2013-10-08T15:28:56-0700",
                "destroyed": false,
                "isextractable": true,
                "tags": [],
                "displayvolume": true
            },
            {
                "id": "94dff3ee-8625-43df-a660-8ec1d30b092d",
                "name": "ROOT-3",
                "zoneid": "6bcd3bd9-591c-4d99-a164-d05b87df1b04",
                "zonename": "jw-adv",
                "type": "ROOT",
                "deviceid": 0,
                "virtualmachineid": "29228971-e4a0-49d9-861f-6c0a4e1a0b08",
                "vmname": "aaa",
                "vmdisplayname": "aaa",
                "vmstate": "Stopped",
                "size": 21474836480,
                "created": "2013-10-04T15:18:56-0700",
                "state": "Ready",
                "account": "bbb_user",
                "domainid": "478aa8f0-5b1c-4e69-ae28-31a78e59dba5",
                "domain": "bbb",
                "storagetype": "shared",
                "hypervisor": "XenServer",
                "storage": "jw-primary",
                "destroyed": false,
                "serviceofferingid": "7a48a248-5328-4e91-b7a4-2189a98e8e12",
                "serviceofferingname": "Small Instance",
                "serviceofferingdisplaytext": "Small Instance",
                "isextractable": true,
                "tags": [],
                "displayvolume": false
            }
        ]
    }
}


> [UI] Storage tab is not showing the Hypervisor column as 'KVM' if the 
> (root/data)disk is attached to instance running in KVM Hypervisor.
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3111
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3111
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.1.1, 4.2.0
>            Reporter: Rajesh Battala
>             Fix For: 4.2.1
>
>         Attachments: screen1.png
>
>
> Attaching the screenshot.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to