diff --git a/deploy/00crds.yaml b/deploy/00crds.yaml index a1d59b1..5f8e56a 100644 --- a/deploy/00crds.yaml +++ b/deploy/00crds.yaml @@ -534,6 +534,8 @@ spec: items: type: string type: array + serverGroup: + type: string virtualMachines: description: VirtualMachines is a list of virtual machines to be migrated items: @@ -820,6 +822,10 @@ spec: description: UseFlavorless indicates if the migration should use flavorless VM creation for PCD. type: boolean + useGPUFlavor: + description: UseGPUFlavor indicates if the migration should filter + and use GPU-enabled flavors. + type: boolean virtioWinDriver: description: VirtioWinDriver is the driver to be used for the virtual machine @@ -996,6 +1002,15 @@ spec: disk: description: Disk is the amount of root disk, measured in GB. type: integer + extra_specs: + additionalProperties: + type: string + description: |- + Properties is a dictionary of the flavor’s extra-specs key-and-value + pairs. This will only be included if the user is allowed by policy to + index flavor extra_specs + New in version 2.61 + type: object id: description: ID is the flavor's unique ID. type: string @@ -1020,6 +1035,7 @@ spec: - OS-FLV-EXT-DATA:ephemeral - description - disk + - extra_specs - id - name - os-flavor-access:is_public @@ -1131,6 +1147,25 @@ spec: - requiresIdDisplay type: object type: array + serverGroups: + items: + description: ServerGroupInfo holds the server group name, ID, + and policy information + properties: + id: + type: string + members: + type: integer + name: + type: string + policy: + type: string + required: + - id + - name + - policy + type: object + type: array volumeBackends: items: type: string @@ -1998,6 +2033,18 @@ spec: openstackImageID: description: OpenstackImageID is the image of the VM type: string + openstackSecurityGroups: + description: |- + OpenstackSecurityGroups is the list of security groups for the VM + If empty, the security groups will be determined from the master node + items: + type: string + type: array + openstackVolumeType: + description: |- + OpenstackVolumeType is the volume type for the root disk of the VM + If empty, the volume type will be determined from the master node + type: string required: - nodeRole - openstackCreds @@ -2361,6 +2408,19 @@ spec: esxiName: description: ESXiName is the name of the ESXi host type: string + gpu: + description: GPU contains information about GPU devices attached + to the VM + properties: + passthroughCount: + description: PassthroughCount is the number of PCI passthrough + GPU devices + type: integer + vgpuCount: + description: VGPUCount is the number of vGPU (shared GPU) + devices + type: integer + type: object guestNetworks: description: GuestNetworks is the list of network interfaces for the virtual machine as reported by the guest diff --git a/deploy/installer.yaml b/deploy/installer.yaml index afeb797..77d5ae2 100644 --- a/deploy/installer.yaml +++ b/deploy/installer.yaml @@ -534,6 +534,8 @@ spec: items: type: string type: array + serverGroup: + type: string virtualMachines: description: VirtualMachines is a list of virtual machines to be migrated items: @@ -820,6 +822,10 @@ spec: description: UseFlavorless indicates if the migration should use flavorless VM creation for PCD. type: boolean + useGPUFlavor: + description: UseGPUFlavor indicates if the migration should filter + and use GPU-enabled flavors. + type: boolean virtioWinDriver: description: VirtioWinDriver is the driver to be used for the virtual machine @@ -996,6 +1002,15 @@ spec: disk: description: Disk is the amount of root disk, measured in GB. type: integer + extra_specs: + additionalProperties: + type: string + description: |- + Properties is a dictionary of the flavor’s extra-specs key-and-value + pairs. This will only be included if the user is allowed by policy to + index flavor extra_specs + New in version 2.61 + type: object id: description: ID is the flavor's unique ID. type: string @@ -1020,6 +1035,7 @@ spec: - OS-FLV-EXT-DATA:ephemeral - description - disk + - extra_specs - id - name - os-flavor-access:is_public @@ -1131,6 +1147,25 @@ spec: - requiresIdDisplay type: object type: array + serverGroups: + items: + description: ServerGroupInfo holds the server group name, ID, + and policy information + properties: + id: + type: string + members: + type: integer + name: + type: string + policy: + type: string + required: + - id + - name + - policy + type: object + type: array volumeBackends: items: type: string @@ -1998,6 +2033,18 @@ spec: openstackImageID: description: OpenstackImageID is the image of the VM type: string + openstackSecurityGroups: + description: |- + OpenstackSecurityGroups is the list of security groups for the VM + If empty, the security groups will be determined from the master node + items: + type: string + type: array + openstackVolumeType: + description: |- + OpenstackVolumeType is the volume type for the root disk of the VM + If empty, the volume type will be determined from the master node + type: string required: - nodeRole - openstackCreds @@ -2361,6 +2408,19 @@ spec: esxiName: description: ESXiName is the name of the ESXi host type: string + gpu: + description: GPU contains information about GPU devices attached + to the VM + properties: + passthroughCount: + description: PassthroughCount is the number of PCI passthrough + GPU devices + type: integer + vgpuCount: + description: VGPUCount is the number of vGPU (shared GPU) + devices + type: integer + type: object guestNetworks: description: GuestNetworks is the list of network interfaces for the virtual machine as reported by the guest @@ -3719,7 +3779,7 @@ spec: envFrom: - configMapRef: name: pf9-env - image: quay.io/platform9/vjailbreak-controller:v0.3.6 + image: quay.io/platform9/vjailbreak-controller:v0.3.7 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -3802,7 +3862,7 @@ spec: - envFrom: - configMapRef: name: pf9-env - image: quay.io/platform9/vjailbreak-vpwned:v0.3.6 + image: quay.io/platform9/vjailbreak-vpwned:v0.3.7 imagePullPolicy: IfNotPresent name: vpwned ports: diff --git a/image_builder/configs/vjailbreak-settings.yaml b/image_builder/configs/vjailbreak-settings.yaml index 74879db..f259dbe 100644 --- a/image_builder/configs/vjailbreak-settings.yaml +++ b/image_builder/configs/vjailbreak-settings.yaml @@ -8,9 +8,10 @@ data: PERIODIC_SYNC_INTERVAL: "1h" # interval to sync vCenter VMs VM_ACTIVE_WAIT_INTERVAL_SECONDS: "20" # interval to wait for vm to become active VM_ACTIVE_WAIT_RETRY_LIMIT: "15" # number of retries to wait for vm to become active - DEFAULT_MIGRATION_METHOD: "hot" # supported value hot/cold, (This setting is not used as of now. To be used by UI) + DEFAULT_MIGRATION_METHOD: "cold" # supported value hot/cold, (This setting is not used as of now. To be used by UI) VCENTER_SCAN_CONCURRENCY_LIMIT: "10" # max number of vms to scan at the same time CLEANUP_VOLUMES_AFTER_CONVERT_FAILURE: "false" # cleanup volumes after disk convert failure + CLEANUP_PORTS_AFTER_MIGRATION_FAILURE: "false" # cleanup ports after migration failure POPULATE_VMWARE_MACHINE_FLAVORS: "true" # automatically populate VMwareMachine objects with OpenStack flavors VOLUME_AVAILABLE_WAIT_INTERVAL_SECONDS: "10" # interval to wait for volume to become available VOLUME_AVAILABLE_WAIT_RETRY_LIMIT: "15" # number of retries to wait for volume to become available diff --git a/releases/v0.3.7.md b/releases/v0.3.7.md new file mode 100644 index 0000000..28c268f --- /dev/null +++ b/releases/v0.3.7.md @@ -0,0 +1,47 @@ +# v0.3.7 + +- **Tag:** `v0.3.7` +- **Published:** 2025-12-19T12:08:24Z +- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.3.7 + +## Release Notes + +## What's Changed +* fix - Periodic Sync Migration Fails on Transient Network Errors Instead of Retrying by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1204 +* Prebaked Openstack Cli inside the vjailbreak VM by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1211 +* fix - Migration controller logs are being flooded by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1212 +* #1202 :: Bug :: Single migrationtemplate object should be created for one migrationplan (Use Dynamic Hotplug-Enabled Flavors is the advance option making post calls) by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1215 +* #1140 :: Enhancement :: Allow user input for IP's for any VM being migrated by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1217 +* Added migration pod and controller logs in the UI by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1214 +* #1040 :: Bug :: UI should block migration of VM having unknown OS (Should provide an option to select OS) by @AbhijeetThakur in https://github.com/platform9/vjailbreak/pull/1222 +* Backend implementation for ability to add server group to the VMs by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1219 +* Frontend for selecting server group during migration by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1220 +* [Fix] added APIReader to get RDM by @rijojohn85 in https://github.com/platform9/vjailbreak/pull/1149 +* cluster conversion fixes for static esx IPs by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1203 +* fix - Password set in cloud init is not being reflected by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1226 +* add more aggressive cleaning in v2v-helper by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1235 +* support gpu flavours by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1233 +* Show correct time elapsed during migration on ui by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1237 +* Removed fstrim by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1143 +* Reduced log verbosity for disk copy by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1249 +* Disable 'Apply Changes' button when ip has invalid format by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1251 +* fix - Can't assign dhcp IP to the migrated instance by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1234 +* Fix migration timeout for multi-attach RDM volumes by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1247 +* add setting to delete port after migration failure by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1255 +* reflect current default migration method in migration form by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1257 +* Fix batch script to properly write self-delete logic to the generated startup script by @Track2k in https://github.com/platform9/vjailbreak/pull/1213 +* add UI option to automatically run script to fix fstab entries during migration by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1258 +* feat: add a net pacakge with unit test cases by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/1160 +* Added script to check disks status in Windows post-migration by @amar-chand in https://github.com/platform9/vjailbreak/pull/1167 +* fix agents tenant and security groups by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1260 +* fix multiple migration succeeded events in amplitude by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/1262 +* fix - Migration fails when port already exist on pcd side (DHCP=true) by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1279 +* Setting up the default password for the agent nodes by @meghansh-pf9 in https://github.com/platform9/vjailbreak/pull/1281 +* Fixed default migration-method to cold and map with global settings by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1284 +* Updating CRDs for release by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1285 +* Populate metadata in extra specs in openstack creds by @sarika-pf9 in https://github.com/platform9/vjailbreak/pull/1286 + +## New Contributors +* @Track2k made their first contribution in https://github.com/platform9/vjailbreak/pull/1213 + +**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.3.6...v0.3.7