Skip to content

Commit 220f254

Browse files
committed
Merge remote-tracking branch 'upstream/main' into resource-alerts
# Conflicts: # engine/schema/src/main/resources/META-INF/db/schema-42300to2400.sql
2 parents cf7e7ba + 510d0ec commit 220f254

129 files changed

Lines changed: 230 additions & 20982 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎PendingReleaseNotes‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,25 +55,6 @@ example.ver.1 > example.ver.2:
5555
continue to snapshot live.
5656

5757
4.23.0.0 > 24.0.0:
58-
* VMware-to-KVM import using VDDK can import powered-off VMware VMs directly
59-
into Ceph RBD primary storage when forceconverttopool is enabled and the
60-
selected KVM conversion host supports qemu RBD access and in-place virt-v2v
61-
finalization. Hosts without in-place finalization support can still use the
62-
staged VDDK flow, converting to temporary qcow2 storage before copying the
63-
finalized disks into RBD.
64-
65-
* Linstor primary storage can now be the destination for VMware-to-KVM
66-
imports in all three modes. Staged imports (virt-v2v to a temporary NFS
67-
location) copy the converted disks into pre-created DRBD block devices
68-
through the Linstor storage adaptor; the import host must be a LINSTOR
69-
satellite connected to the destination pool. Direct VDDK imports with
70-
forceconverttopool write each powered-off VMware disk over nbdkit/VDDK
71-
straight into the DRBD device and finalize it with virt-v2v in place.
72-
VMware CBT warm migrations replicate the initial full copy and all
73-
incremental changed-block cycles directly into Linstor volumes and
74-
finalize in place at cutover; the conversion host requires VDDK,
75-
in-place virt-v2v support and access to the Linstor pool.
76-
7758
* KVM/Ceph: RBD volumes can now be encrypted at rest using native librbd
7859
LUKS2 (<encryption format='luks2' engine='librbd'>), for both data disks
7960
and root disks. Encryption is transparent to the guest and reuses the

‎agent/src/main/java/com/cloud/agent/properties/AgentProperties.java‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -848,19 +848,6 @@ public Property<Integer> getWorkers() {
848848
*/
849849
public static final Property<String> VDDK_TRANSPORTS = new Property<>("vddk.transports", null, String.class);
850850

851-
/**
852-
* NBD-transport compression used between the VDDK and the VMware server for the
853-
* agent-driven nbdkit full-disk copies (cold direct import and CBT initial full
854-
* sync). Passed to the nbdkit vddk plugin as <code>compression=&lt;value&gt;</code>.
855-
* Valid values: <code>none</code>, <code>zlib</code>, <code>fastlz</code>,
856-
* <code>skipz</code> (nbdkit &ge; 1.24, vSphere &ge; 6.5). <code>fastlz</code>
857-
* compresses both zero regions and real data at low CPU cost; <code>skipz</code>
858-
* only elides zero blocks. Does not affect the staged virt-v2v conversion path.
859-
* Data type: String.<br>
860-
* Default value: <code>fastlz</code>
861-
*/
862-
public static final Property<String> VDDK_NBD_COMPRESSION = new Property<>("vddk.nbd.compression", "fastlz", String.class);
863-
864851
/**
865852
* vCenter TLS certificate thumbprint used by virt-v2v VDDK mode, passed as <code>-io vddk-thumbprint=&lt;value&gt;</code>.
866853
* If unset, the KVM host computes it at runtime from the vCenter endpoint.

‎api/src/main/java/com/cloud/agent/api/to/RemoteInstanceTO.java‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public class RemoteInstanceTO implements Serializable {
3838
private String datacenterName;
3939
private String clusterName;
4040
private String hostName;
41-
private String vmwareMoref;
4241

4342
public RemoteInstanceTO() {
4443
}
@@ -66,11 +65,6 @@ public RemoteInstanceTO(String instanceName, String instancePath, String vcenter
6665
this.hostName = hostName;
6766
}
6867

69-
public RemoteInstanceTO(String instanceName, String instancePath, String vcenterHost, String vcenterUsername, String vcenterPassword, String datacenterName, String clusterName, String hostName, String vmwareMoref) {
70-
this(instanceName, instancePath, vcenterHost, vcenterUsername, vcenterPassword, datacenterName, clusterName, hostName);
71-
this.vmwareMoref = vmwareMoref;
72-
}
73-
7468
public Hypervisor.HypervisorType getHypervisorType() {
7569
return this.hypervisorType;
7670
}
@@ -106,12 +100,4 @@ public String getClusterName() {
106100
public String getHostName() {
107101
return hostName;
108102
}
109-
110-
public String getVmwareMoref() {
111-
return vmwareMoref;
112-
}
113-
114-
public void setVmwareMoref(String vmwareMoref) {
115-
this.vmwareMoref = vmwareMoref;
116-
}
117103
}

‎api/src/main/java/com/cloud/agent/api/to/VmwareCbtChangedBlockRangeTO.java‎

Lines changed: 0 additions & 47 deletions
This file was deleted.

‎api/src/main/java/com/cloud/agent/api/to/VmwareCbtDiskSyncResultTO.java‎

Lines changed: 0 additions & 78 deletions
This file was deleted.

‎api/src/main/java/com/cloud/agent/api/to/VmwareCbtDiskTO.java‎

Lines changed: 0 additions & 85 deletions
This file was deleted.

‎api/src/main/java/com/cloud/agent/api/to/VmwareVddkSourceDiskTO.java‎

Lines changed: 0 additions & 53 deletions
This file was deleted.

‎api/src/main/java/com/cloud/event/EventTypes.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ public class EventTypes {
127127
public static final String EVENT_VM_RESTORE = "VM.RESTORE";
128128
public static final String EVENT_VM_EXPUNGE = "VM.EXPUNGE";
129129
public static final String EVENT_VM_IMPORT = "VM.IMPORT";
130-
public static final String EVENT_VMWARE_CBT_MIGRATION_START = "VMWARE.CBT.MIGRATION.START";
131-
public static final String EVENT_VMWARE_CBT_MIGRATION_SYNC = "VMWARE.CBT.MIGRATION.SYNC";
132-
public static final String EVENT_VMWARE_CBT_MIGRATION_CUTOVER = "VMWARE.CBT.MIGRATION.CUTOVER";
133130
public static final String EVENT_VM_UNMANAGE = "VM.UNMANAGE";
134131
public static final String EVENT_VM_RECOVER = "VM.RECOVER";
135132

‎api/src/main/java/com/cloud/host/Host.java‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,8 @@ public static String[] toStrings(Host.Type... types) {
6262
String HOST_VDDK_SUPPORT = "host.vddk.support";
6363
String HOST_VDDK_LIB_DIR = "vddk.lib.dir";
6464
String HOST_VDDK_VERSION = "host.vddk.version";
65-
String HOST_VDDK_BLOCKCOPY_SUPPORT = "host.vddk.blockcopy.support";
66-
String HOST_VDDK_BLOCKCOPY_INPLACE_FINALIZATION_SUPPORT = "host.vddk.blockcopy.inplace.finalization.support";
67-
String HOST_VDDK_BLOCKCOPY_RBD_SUPPORT = "host.vddk.blockcopy.rbd.support";
68-
String HOST_QEMU_IMG_VERSION = "host.qemu.img.version";
69-
String HOST_QEMU_NBD_VERSION = "host.qemu.nbd.version";
70-
String HOST_QEMU_IO_VERSION = "host.qemu.io.version";
7165
String HOST_OVFTOOL_VERSION = "host.ovftool.version";
7266
String HOST_VIRTV2V_VERSION = "host.virtv2v.version";
73-
String HOST_VIRTV2V_INPLACE_VERSION = "host.virtv2v.inplace.version";
74-
String HOST_VDDK_RBD_DIRECT_IMPORT_SUPPORT = "host.vddk.rbd.direct.import.support";
75-
String HOST_VIRTV2V_INPLACE_SUPPORT = "host.virtv2v.inplace.support";
76-
String HOST_QEMU_RBD_SUPPORT = "host.qemu.rbd.support";
7767
String HOST_SSH_PORT = "host.ssh.port";
7868
String HOST_CDROM_MAX_COUNT = "host.cdrom.max.count";
7969
String GUEST_OS_CATEGORY_ID = "guest.os.category.id";

0 commit comments

Comments
 (0)