cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] nitin-maharana opened a new pull request #2337: CLOUDSTACK-10157: Wrong notification while migration.
Date Thu, 01 Jan 1970 00:00:00 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message