Skip to content

Commit 93d5557

Browse files
DaanHooglanddhslove
authored andcommitted
Merge release branch 4.20 to main
* 4.20: UI: Tooltip on the host information card to display the CPU speed in MHz and the memory value in MB (to 3 decimal places) (apache#9971) UI: Allow accounts of the `User` type to add other accounts or users to projects through UI (apache#9927) enable to create VPC portfowarding rules with source cidr (apache#7081) Add new column `last_id` to the table volumes (apache#9759) Allow VMWare import via another host (apache#9787) Linstor: add support for ISO block devices and direct download (apache#9792) get expunged VM data for job result (apache#9949) fix section divider display on auth page (apache#9966)
1 parent db37691 commit 93d5557

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

core/src/main/java/com/cloud/agent/api/ConvertInstanceAnswer.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ public String getTemporaryConvertUuid() {
3838
return temporaryConvertUuid;
3939
}
4040

41+
public ConvertInstanceAnswer(Command command, String temporaryConvertUuid) {
42+
super(command, true, "");
43+
this.temporaryConvertUuid = temporaryConvertUuid;
44+
}
45+
46+
public String getTemporaryConvertUuid() {
47+
return temporaryConvertUuid;
48+
}
49+
4150
public UnmanagedInstanceTO getConvertedInstance() {
4251
return convertedInstance;
4352
}

engine/schema/src/main/java/com/cloud/storage/VolumeVO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ public boolean isDeleteProtection() {
693693
public void setDeleteProtection(boolean deleteProtection) {
694694
this.deleteProtection = deleteProtection;
695695
}
696-
696+
697697
public long getLastId() {
698698
return lastId;
699699
}

server/src/main/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ protected UserVm importUnmanagedInstanceFromVmwareToKvm(DataCenter zone, Cluster
16481648

16491649
temporaryConvertLocation = selectInstanceConversionTemporaryLocation(
16501650
destinationCluster, convertHost, convertStoragePoolId);
1651-
DiskOffering diskOffering = diskOfferingDao.findById(serviceOffering.getDiskOfferingId());
1651+
DiskOffering diskOffering = diskOfferingDao.findById(serviceOffering.getDiskOfferingId());
16521652
List<StoragePoolVO> convertStoragePools = primaryDataStoreDao.findPoolsByTags(zone.getId(), destinationCluster.getPodId(), destinationCluster.getId(), diskOffering.getTagsArray(), true, VolumeApiServiceImpl.storageTagRuleExecutionTimeout.value());
16531653
long importStartTime = System.currentTimeMillis();
16541654
Pair<UnmanagedInstanceTO, Boolean> sourceInstanceDetails = getSourceVmwareUnmanagedInstance(vcenter, datacenterName, username, password, clusterName, sourceHostName, sourceVMName);

0 commit comments

Comments
 (0)