You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Nitin Mehta (JIRA)" <ji...@apache.org> on 2014/09/08 23:34:28 UTC

[jira] [Updated] (CLOUDSTACK-7513) listServiceOfferings API when called with VM's id also returns offerings to which it cant be upgraded

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-7513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nitin Mehta updated CLOUDSTACK-7513:
------------------------------------
    Description: 
When making the listServiceOfferings api call such as follows:
http://localhost:8080/client/api?command=listServiceOfferings&VirtualMachineId=41813941-c7de-4fd3-bd0e-1977bc395f22&response=json&sessionkey=kRxUwlrhNDg6CBX408XeHc40mDg%3D&_=1401878291930

Since the VM id is passed, only compatible offerings for this particular VMs should be listed. 
Trying to change the compute offering to 'Tiny Instance' results into error shown in attached screenshot.

EXPECTED BEHAVIOR:
If a certain compute offering is lesser in configuration that VM's current compute offering and the VM is in running state it should not be listed in the listServiceOfferings API response when called with VM id in the first place.

  was:
When making the listServiceOfferings api call such as follows:
http://localhost:8080/client/api?command=listServiceOfferings&VirtualMachineId=41813941-c7de-4fd3-bd0e-1977bc395f22&response=json&sessionkey=kRxUwlrhNDg6CBX408XeHc40mDg%3D&_=1401878291930
Since the VM id is passed, only compatible offerings for this particular VMs should be listed. Please find the response in the attachment.
Trying to change the compute offering to 'Tiny Instance' results into error shown in attached screenshot.
EXPECTED BEHAVIOR:
If a certain compute offering is lesser in configuration that VM's current compute offering and the VM is in running state it should not be listed in the listServiceOfferings API response when called with VM id in the first place.


> listServiceOfferings API when called with VM's id also returns offerings to which it cant be upgraded
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7513
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7513
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.5.0
>            Reporter: Nitin Mehta
>            Assignee: Nitin Mehta
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> When making the listServiceOfferings api call such as follows:
> http://localhost:8080/client/api?command=listServiceOfferings&VirtualMachineId=41813941-c7de-4fd3-bd0e-1977bc395f22&response=json&sessionkey=kRxUwlrhNDg6CBX408XeHc40mDg%3D&_=1401878291930
> Since the VM id is passed, only compatible offerings for this particular VMs should be listed. 
> Trying to change the compute offering to 'Tiny Instance' results into error shown in attached screenshot.
> EXPECTED BEHAVIOR:
> If a certain compute offering is lesser in configuration that VM's current compute offering and the VM is in running state it should not be listed in the listServiceOfferings API response when called with VM id in the first place.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)