cloudstack/server/src/com/cloud
Nitin Kumar Maharana 8c6fb0e312 CLOUDSTACK-10157: Wrong notification while migration (#2337)
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.
2017-12-11 21:50:37 +05:30
..
account Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
acl Merge release branch 4.6 to master 2015-12-03 20:42:41 +01:00
agent/manager Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
alert CLOUDSTACK-9782: Host HA and KVM HA provider 2017-08-30 18:06:48 +02:00
api CLOUDSTACK-9776: extra DHCP options support for Nuage VSP 2017-11-21 11:44:39 +01:00
async Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
capacity CLOUDSTACK-9997: Add cpu cores information in CapacityResponse 2017-07-22 11:26:37 +02:00
configuration Merge pull request #2005 from nuagenetworks/feature/nw_offering_for_vpc 2017-11-16 17:33:07 +01:00
consoleproxy CLOUDSTACK-9993: Securing Agents Communications (#2239) 2017-08-28 12:15:11 +02:00
dc Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
deploy CLOUDSTACK-9972: Enhance listVolume API to include physical size and … (#2158) 2017-11-05 21:44:43 +05:30
event Merge release branch 4.6 to master 2015-11-28 15:12:49 +01:00
ha CLOUDSTACK-9738: [Vmware] Optimize vm expunge process for instances with vm snapshots 2017-02-06 23:39:01 -03:00
hypervisor CLOUDSTACK-10047: DVSwitch fixes and improvements (#2293) 2017-10-25 15:14:42 +05:30
metadata CLOUDSTACK-9690: Scale CentOS7 VM fails with error 2017-05-05 10:58:12 +05:30
network CLOUDSTACK-9776: extra DHCP options support for Nuage VSP 2017-11-21 11:44:39 +01:00
projects CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-05-11 09:45:19 +05:30
resource CLOUDSTACK-10157: Wrong notification while migration (#2337) 2017-12-11 21:50:37 +05:30
resourcelimit CLOUDSTACK-9667 Enable resourcecount.check.interval by default 2017-07-24 09:26:17 +02:00
server Merge pull request #2005 from nuagenetworks/feature/nw_offering_for_vpc 2017-11-16 17:33:07 +01:00
servlet CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
storage Merge branch 'pr-2081' 2017-10-18 14:25:45 -06:00
tags Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
template CLOUDSTACK-10046 checksum validation for any java supported Digests-type (#2246) 2017-10-11 11:49:06 +02:00
test CLOUDSTACK-10123: Entity should use GMT TZ for timestamp values (#2303) 2017-11-18 09:14:57 +05:30
usage Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
user Merge branch '4.9' into 4.10 2017-08-10 01:39:14 +02:00
uuididentity CLOUDSTACK-6785: changed async job param injectedjobid to customjobid and check for unique/uuid 2014-05-27 15:23:12 -06:00
vm CLOUDSTACK-7793: Create Snaphot with quiesce option set to true fails with InvalidParameterValueException (#2312) 2017-12-01 02:43:39 +05:30