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

ASF GitHub Bot commented on CLOUDSTACK-10157:
---------------------------------------------

nitin-maharana opened a new pull request #2337: CLOUDSTACK-10157: Wrong 
notification while migration.
URL: https://github.com/apache/cloudstack/pull/2337
 
 
   Steps to Reproduce:
   ===============
   1. Create a cluster with three hosts, two of them with GPU cards NVIDIA GRID 
K1 and GRID K2 and one normal host.
   2. Deploy a VM with GRID K2 vGPU.
   3. Stop the VM and try starting it on a different host. (Expect it to fail 
as there is only one host supporting that particular vGPU type)
   4. The log shows it as failed operation, VM remains in the stopped state, 
yet the notification shows "Start Instance" as successful and no error message 
displays.
   
   Root Cause:
   =========
   Earlier, it was failing with ArrayIndexOutOfBoundsException, when the list 
is empty and accessing the first element.
   The error was only observed in Log, but was not showing in UI as it was not 
throwing any exception.
   Hence the API call was in turn successful.
   
   Solution:
   =======
   Added the empty check before sending device details.
   Which says either the required GPU device is not available or out of 
capacity.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Wrong notification while migration
> ----------------------------------
>
>                 Key: CLOUDSTACK-10157
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10157
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.11.0.0
>            Reporter: Nitin Kumar Maharana
>              Labels: GPU
>             Fix For: 4.11.0.0
>
>
> RETRO STEPS:
> 1. Had three hosts in one cluster, two of them with GPU cards NVIDIA GRID K1 
> and K2 and one normal host.
> 2. Deployed a VM with K2 vgpu.
> 3. Stopped the VM and tried starting it on a different host. (Expected it to 
> fail as there is only one host supporting that particular vgpu type)
> 4. The log showed it as failed operation, VM remained in the stopped state, 
> yet the notification showed "Start Instance" as successful and no error 
> message was displayed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to