cloudstack/vmware-base/src/com/cloud/hypervisor/vmware/mo
Likitha Shetty 29c36b2ad2 CLOUDSTACK-5122. [VMware] During upgrade from 4.1 system vms don't come up with 'ROOT-x-y VMDK file not found' exception.
During VM start, if VM already exists and CS finds a matching disk in storage for each of the existing disk then the VM is reconfigured with VM's existing disk information. This existing disk information for a VM is got from vCenter.
CS checks if a matching disk exists in storage by checking if there is a disk in storage whose name atleast partially matches with the name of the existing disk.
Post 4.1, Volume path has been changed to ROOT-<instanceId> from ROOT-<instanceId>-<volumeId>. Hence in case of an upgraded setup (pre 4.1 to 4.2) during search for an existing disk in storage even though ROOT-<instanceId>-<volumeId> has been deleted, CS does a postive match of the old existing disk because of the partial match with the new disk ROOT-<instanceId> that exists in storage. And so when VM is being powered on by vCenter it looks for ROOT-<instanceId>-<volumeId> and fails to power on.
Solution - While looking for a VM's matching disk in storage, instead of checking if a disk with a partial match exists check if a disk with the exact name exists.
2013-11-25 15:52:24 +05:30
..
BaseMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
ClusterMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
CustomFieldConstants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
CustomFieldsManagerMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
DatacenterMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
DatastoreFile.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
DatastoreMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
DiskControllerType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
DistributedVirtualSwitchMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
FeatureKeyConstants.java CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error 2013-07-08 12:49:39 +05:30
HostDatastoreBrowserMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostDatastoreSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostFirewallSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostNetworkSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostStorageSystemMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HostVirtualNicType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
HttpNfcLeaseMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
HypervisorHostHelper.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
LicenseAssignmentManagerMO.java CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error 2013-07-08 12:49:39 +05:30
LicenseManagerMO.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkDetails.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
PerfCounterInfoMapper.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
PerfManagerMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
SnapshotDescriptor.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
TaskMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
VersioningContants.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualDiskManagerMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
VirtualEthernetCardType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualMachineDiskInfo.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VirtualMachineDiskInfoBuilder.java CLOUDSTACK-5122. [VMware] During upgrade from 4.1 system vms don't come up with 'ROOT-x-y VMDK file not found' exception. 2013-11-25 15:52:24 +05:30
VirtualMachineMO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
VirtualSwitchType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmdkFileDescriptor.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmwareHostType.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmwareHypervisorHost.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
VmwareHypervisorHostNetworkSummary.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
VmwareHypervisorHostResourceSummary.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00