diff --git a/deploy/00crds.yaml b/deploy/00crds.yaml index 958d35e..c5768f6 100644 --- a/deploy/00crds.yaml +++ b/deploy/00crds.yaml @@ -460,6 +460,8 @@ spec: type: string type: array type: object + fallbackToDHCP: + type: boolean firstBootScript: default: echo "Add your startup script here!" type: string @@ -545,6 +547,10 @@ spec: MigrationStatus is the status of the migration using Kubernetes PodPhase states (Pending, Running, Succeeded, Failed, Unknown) type: string + retryCount: + description: Migration RetryCount is the number of times the migration + has been retried + type: integer required: - migrationMessage - migrationStatus @@ -1340,7 +1346,7 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: - description: RDMDisk is the Schema for the rdmdisks API. + description: RDMDisk is the Schema for the RDMDisks API. properties: apiVersion: description: |- @@ -1386,10 +1392,6 @@ spec: type: object volumeType: type: string - required: - - cinderBackendPool - - source - - volumeType type: object ownerVMs: items: @@ -1401,7 +1403,6 @@ spec: - diskName - diskSize - displayName - - openstackVolumeRef - ownerVMs - uuid type: object @@ -2399,42 +2400,7 @@ spec: description: RDMDisks is the list of RDM disks for the virtual machine items: - description: RDMDiskInfo contains information about a Raw Device - Mapping (RDM) disk - properties: - diskName: - description: DiskName is the name of the disk - type: string - diskSize: - description: DiskSize is the size of the disk in GB - format: int64 - type: integer - displayName: - description: DisplayName is the display name of the disk - type: string - openstackVolumeRef: - description: OpenstackVolumeRef contains OpenStack volume - reference information - properties: - cinderBackendPool: - description: CinderBackendPool is the cinder backend - pool of the disk - type: string - volumeRef: - additionalProperties: - type: string - description: VolumeRef is the reference to the OpenStack - volume - type: object - volumeType: - description: VolumeType is the volume type of the disk - type: string - type: object - uuid: - description: UUID (VML id) is the unique identifier of the - disk - type: string - type: object + type: string type: array vmState: description: VMState is the state of the virtual machine @@ -3666,7 +3632,10 @@ spec: - --health-probe-bind-address=:8081 command: - /manager - image: quay.io/platform9/vjailbreak-controller:v0.3.3 + env: + - name: MAX_CONCURRENT_RECONCILES + value: "5" + image: quay.io/platform9/vjailbreak-controller:v0.3.4 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -3746,7 +3715,7 @@ spec: app: vpwned-sdk spec: containers: - - image: quay.io/platform9/vjailbreak-vpwned:v0.3.3 + - image: quay.io/platform9/vjailbreak-vpwned:v0.3.4 imagePullPolicy: IfNotPresent name: vpwned ports: @@ -3791,4 +3760,4 @@ spec: port: number: 80 path: /dev-api/sdk/(.*) - pathType: ImplementationSpecific + pathType: ImplementationSpecific \ No newline at end of file diff --git a/deploy/upgrade-all-resources.yaml b/deploy/upgrade-all-resources.yaml index ece3771..152efa2 100644 --- a/deploy/upgrade-all-resources.yaml +++ b/deploy/upgrade-all-resources.yaml @@ -460,6 +460,8 @@ spec: type: string type: array type: object + fallbackToDHCP: + type: boolean firstBootScript: default: echo "Add your startup script here!" type: string @@ -545,6 +547,10 @@ spec: MigrationStatus is the status of the migration using Kubernetes PodPhase states (Pending, Running, Succeeded, Failed, Unknown) type: string + retryCount: + description: Migration RetryCount is the number of times the migration + has been retried + type: integer required: - migrationMessage - migrationStatus @@ -1340,7 +1346,7 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: - description: RDMDisk is the Schema for the rdmdisks API. + description: RDMDisk is the Schema for the RDMDisks API. properties: apiVersion: description: |- @@ -1386,10 +1392,6 @@ spec: type: object volumeType: type: string - required: - - cinderBackendPool - - source - - volumeType type: object ownerVMs: items: @@ -1401,7 +1403,6 @@ spec: - diskName - diskSize - displayName - - openstackVolumeRef - ownerVMs - uuid type: object @@ -2399,42 +2400,7 @@ spec: description: RDMDisks is the list of RDM disks for the virtual machine items: - description: RDMDiskInfo contains information about a Raw Device - Mapping (RDM) disk - properties: - diskName: - description: DiskName is the name of the disk - type: string - diskSize: - description: DiskSize is the size of the disk in GB - format: int64 - type: integer - displayName: - description: DisplayName is the display name of the disk - type: string - openstackVolumeRef: - description: OpenstackVolumeRef contains OpenStack volume - reference information - properties: - cinderBackendPool: - description: CinderBackendPool is the cinder backend - pool of the disk - type: string - volumeRef: - additionalProperties: - type: string - description: VolumeRef is the reference to the OpenStack - volume - type: object - volumeType: - description: VolumeType is the volume type of the disk - type: string - type: object - uuid: - description: UUID (VML id) is the unique identifier of the - disk - type: string - type: object + type: string type: array vmState: description: VMState is the state of the virtual machine diff --git a/image_builder/configs/daemonset.yaml b/image_builder/configs/daemonset.yaml index 81cece9..4c38cd4 100644 --- a/image_builder/configs/daemonset.yaml +++ b/image_builder/configs/daemonset.yaml @@ -103,8 +103,8 @@ spec: echo "Syncing from rsync://${MASTER_IP}" rsync -avz rsync://${MASTER_IP}/vmwarelib/ /home/ubuntu/vmware-vix-disklib-distrib/ - # Sync logs from worker to master (with delete flag to sync deletions too) - rsync -avz --delete /var/log/pf9 rsync://${MASTER_IP}/worker-logs + # Sync logs from worker to master + rsync -avz /var/log/pf9 rsync://${MASTER_IP}/worker-logs # Sync virtio-win drivers from master to worker rsync -avz rsync://${MASTER_IP}/virtio-win /home/ubuntu/virtio-win diff --git a/image_builder/configs/vjailbreak-settings.yaml b/image_builder/configs/vjailbreak-settings.yaml index d6421fd..89b6d55 100644 --- a/image_builder/configs/vjailbreak-settings.yaml +++ b/image_builder/configs/vjailbreak-settings.yaml @@ -10,4 +10,5 @@ data: DEFAULT_MIGRATION_METHOD: "hot" # 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 - POPULATE_VMWARE_MACHINE_FLAVORS: "true" # automatically populate VMwareMachine objects with OpenStack flavors \ No newline at end of file + POPULATE_VMWARE_MACHINE_FLAVORS: "true" # automatically populate VMwareMachine objects with OpenStack flavors + VCENTER_LOGIN_RETRY_LIMIT: "5" # number of retries for vcenter login \ No newline at end of file diff --git a/releases/v0.3.4.md b/releases/v0.3.4.md new file mode 100644 index 0000000..e265349 --- /dev/null +++ b/releases/v0.3.4.md @@ -0,0 +1,32 @@ +# v0.3.4 + +- **Tag:** `v0.3.4` +- **Published:** 2025-09-16T13:29:31Z +- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.3.4 + +## Release Notes + +## What's Changed +* volume wait interval through settings by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/872 +* logs all openstack calls that we make by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/873 +* admin cut over poweroff sequence prevent user error by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/874 +* Added cronjob to fetch for latest release and notify in UI by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/882 +* bugfix: Add logic to assign IP from network interfaces if not already… by @rishabh625 in https://github.com/platform9/vjailbreak/pull/895 +* create openstack ports before copy by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/879 +* Admin cutover improve the pod label watch function by @spai-p9 in https://github.com/platform9/vjailbreak/pull/881 +* remove --delete to not purge each others logs in master by @spai-p9 in https://github.com/platform9/vjailbreak/pull/904 +* Advance option in UI to ask for fallback to DHCP if static IP assignment fails by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/906 +* block on channel send to ensure initial label delivery by @spai-p9 in https://github.com/platform9/vjailbreak/pull/900 +* Support for shared pRDM disk migration in vJailbreak, including all necessary controller changes and validation through testing with clustered Windows VMs using RDM disks by @rishabh625 in https://github.com/platform9/vjailbreak/pull/858 +* Optimize OpenstackCreds reconciliation for scalability by @spai-p9 in https://github.com/platform9/vjailbreak/pull/908 +* Change implementation from select to normal blocking channel. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/917 +* bugfix: Add check for RDM disks in VM migration validation by @rishabh625 in https://github.com/platform9/vjailbreak/pull/915 +* Added option in UI to retry Failed migrations by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/918 +* changed MAAS to Bare-metal by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/916 +* Added static RPMs and versionlocked in dnf by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/921 +* Add SELinux for nbdkit by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/923 +* vmdataexporter cli arg validation by @sanya-pf9 in https://github.com/platform9/vjailbreak/pull/884 +* Fixed fonts inconsistency in vJailbreak UI by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/898 + + +**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.3.3...v0.3.4