You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/13 01:33:02 UTC

[jira] [Commented] (CLOUDSTACK-6907) listVolumes: diskOfferingId is returned for the volume instead of service offering id, if its a root volume detached from the vm

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

ASF subversion and git services commented on CLOUDSTACK-6907:
-------------------------------------------------------------

Commit 887f027a9ae97f6dd2bdd89f52e6233f991b2949 in cloudstack's branch refs/heads/master from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=887f027 ]

CLOUDSTACK-6907: lisVolumes - make a decision whether to set service or disk offering in the response, based on the DiskOfferingVO type entry, not the volume Type


> listVolumes: diskOfferingId is returned for the volume instead of service offering id, if its a root volume detached from the vm
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6907
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6907
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.4.0
>            Reporter: Alena Prokharchyk
>            Assignee: Alena Prokharchyk
>             Fix For: 4.5.0
>
>
> Steps to reproduce:
> 1) Deploy vm. Stop it.
> 2) Detach the Root volume. It becomes a DataDisk
> 3) execute listVolumes call.
> Bug: volumes that were originally created as Root, reference service offering instead of a disk offering. But the API just assumes that if the disk Type is DataDisk, then diskOffering should be returned.
> Api has to be smarter while figuring out what to return - service or disk offering id - and return the service offering if thats what the id of the offering represents.



--
This message was sent by Atlassian JIRA
(v6.2#6252)