Compare commits

..
3 Commits
Author SHA1 Message Date
OmkarDeshpande7 610dd94bb9 Add release v0.3.4 2026-09-15 22:48:19 +05:30
OmkarDeshpande7 54158f60c9 Add release v0.3.3 2026-09-15 22:48:09 +05:30
OmkarDeshpande7 0d3c530d6d Add release v0.3.2 2026-09-15 22:48:00 +05:30
8 changed files with 3801 additions and 53 deletions
+59 -46
View File
@@ -460,6 +460,8 @@ spec:
type: string type: string
type: array type: array
type: object type: object
fallbackToDHCP:
type: boolean
firstBootScript: firstBootScript:
default: echo "Add your startup script here!" default: echo "Add your startup script here!"
type: string type: string
@@ -545,6 +547,10 @@ spec:
MigrationStatus is the status of the migration using Kubernetes PodPhase states MigrationStatus is the status of the migration using Kubernetes PodPhase states
(Pending, Running, Succeeded, Failed, Unknown) (Pending, Running, Succeeded, Failed, Unknown)
type: string type: string
retryCount:
description: Migration RetryCount is the number of times the migration
has been retried
type: integer
required: required:
- migrationMessage - migrationMessage
- migrationStatus - migrationStatus
@@ -797,6 +803,10 @@ spec:
description: TargetPCDClusterName is the name of the PCD cluster where description: TargetPCDClusterName is the name of the PCD cluster where
the virtual machine will be migrated the virtual machine will be migrated
type: string type: string
useFlavorless:
description: UseFlavorless indicates if the migration should use flavorless
VM creation for PCD.
type: boolean
virtioWinDriver: virtioWinDriver:
description: VirtioWinDriver is the driver to be used for the virtual description: VirtioWinDriver is the driver to be used for the virtual
machine machine
@@ -1090,7 +1100,20 @@ spec:
type: array type: array
securityGroups: securityGroups:
items: items:
type: string description: SecurityGroupInfo holds the security group name
and ID
properties:
id:
type: string
name:
type: string
requiresIdDisplay:
type: boolean
required:
- id
- name
- requiresIdDisplay
type: object
type: array type: array
volumeBackends: volumeBackends:
items: items:
@@ -1323,7 +1346,7 @@ spec:
- name: v1alpha1 - name: v1alpha1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
description: RDMDisk is the Schema for the rdmdisks API. description: RDMDisk is the Schema for the RDMDisks API.
properties: properties:
apiVersion: apiVersion:
description: |- description: |-
@@ -1369,10 +1392,6 @@ spec:
type: object type: object
volumeType: volumeType:
type: string type: string
required:
- cinderBackendPool
- source
- volumeType
type: object type: object
ownerVMs: ownerVMs:
items: items:
@@ -1384,7 +1403,6 @@ spec:
- diskName - diskName
- diskSize - diskSize
- displayName - displayName
- openstackVolumeRef
- ownerVMs - ownerVMs
- uuid - uuid
type: object type: object
@@ -2359,6 +2377,8 @@ spec:
description: NIC represents a Virtual ethernet card in the virtual description: NIC represents a Virtual ethernet card in the virtual
machine. machine.
properties: properties:
ipAddress:
type: string
mac: mac:
type: string type: string
network: network:
@@ -2380,42 +2400,7 @@ spec:
description: RDMDisks is the list of RDM disks for the virtual description: RDMDisks is the list of RDM disks for the virtual
machine machine
items: items:
description: RDMDiskInfo contains information about a Raw Device type: string
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: array type: array
vmState: vmState:
description: VMState is the state of the virtual machine description: VMState is the state of the virtual machine
@@ -2687,6 +2672,30 @@ rules:
- get - get
- patch - patch
- update - update
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups: - apiGroups:
- batch - batch
resources: resources:
@@ -3623,7 +3632,10 @@ spec:
- --health-probe-bind-address=:8081 - --health-probe-bind-address=:8081
command: command:
- /manager - /manager
image: quay.io/platform9/vjailbreak-controller:v0.3.0 env:
- name: MAX_CONCURRENT_RECONCILES
value: "5"
image: quay.io/platform9/vjailbreak-controller:v0.3.4
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
lifecycle: lifecycle:
preStop: preStop:
@@ -3703,7 +3715,7 @@ spec:
app: vpwned-sdk app: vpwned-sdk
spec: spec:
containers: containers:
- image: quay.io/platform9/vjailbreak-vpwned:v0.3.0 - image: quay.io/platform9/vjailbreak-vpwned:v0.3.4
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: vpwned name: vpwned
ports: ports:
@@ -3720,6 +3732,7 @@ spec:
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler
securityContext: {} securityContext: {}
serviceAccountName: migration-controller-manager
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
volumes: volumes:
- hostPath: - hostPath:
@@ -3747,4 +3760,4 @@ spec:
port: port:
number: 80 number: 80
path: /dev-api/sdk/(.*) path: /dev-api/sdk/(.*)
pathType: ImplementationSpecific pathType: ImplementationSpecific
File diff suppressed because it is too large Load Diff
+29 -5
View File
@@ -61,6 +61,19 @@ spec:
MASTER_IP=$(grep -E '^export MASTER_IP=' /etc/pf9/k3s.env | cut -d'=' -f2) MASTER_IP=$(grep -E '^export MASTER_IP=' /etc/pf9/k3s.env | cut -d'=' -f2)
if [ "$IS_MASTER" = "true" ]; then if [ "$IS_MASTER" = "true" ]; then
echo "Master node detected. IP: $MASTER_IP" echo "Master node detected. IP: $MASTER_IP"
# Clean up logs older than 24 hours on master node
echo "Cleaning up logs older than 24 hours on master node"
# Note: Not restarting services to avoid disruption
# Instead, properly closing files in the v2v-helper code
# Clean master's own logs and force delete any stuck files
find /var/log/pf9 -type f -mtime +1 -delete 2>/dev/null || true
# Clean worker logs stored on master and force delete any stuck files
find /var/lib/rsync/worker-logs -type f -mtime +1 -delete 2>/dev/null || true
# Clear deleted but open files (useful when processes still hold file handles)
echo "Clearing deleted but open files..."
lsof +L1 | grep "/var/log/pf9\|/var/lib/rsync/worker-logs" | awk '{print $2}' | xargs -r kill -HUP 2>/dev/null || true
echo "Starting rsync daemon..." echo "Starting rsync daemon..."
rsync --daemon --config=/etc/pf9/rsyncd.conf --no-detach rsync --daemon --config=/etc/pf9/rsyncd.conf --no-detach
if ps aux | grep rsync | grep -v grep; then if ps aux | grep rsync | grep -v grep; then
@@ -73,14 +86,25 @@ spec:
echo "Worker node detected. Syncing from Master..." echo "Worker node detected. Syncing from Master..."
while true; do while true; do
mkdir -p /home/ubuntu/vmware-vix-disklib-distrib/ mkdir -p /home/ubuntu/vmware-vix-disklib-distrib/
# Clean up logs older than 24 hours on worker node
echo "Cleaning up logs older than 24 hours on worker node"
# Note: Not restarting services to avoid disruption
# Instead, properly closing files in the v2v-helper code
# Force delete old log files
find /var/log/pf9 -type f -mtime +1 -delete 2>/dev/null || true
# Clear deleted but open files
echo "Clearing deleted but open files..."
lsof +L1 | grep "/var/log/pf9" | awk '{print $2}' | xargs -r kill -HUP 2>/dev/null || true
# Free up disk space by clearing caches
sync
echo 3 > /proc/sys/vm/drop_caches 2>/dev/null || true
echo "Syncing from rsync://${MASTER_IP}" echo "Syncing from rsync://${MASTER_IP}"
rsync -avz rsync://${MASTER_IP}/vmwarelib/ /home/ubuntu/vmware-vix-disklib-distrib/ rsync -avz rsync://${MASTER_IP}/vmwarelib/ /home/ubuntu/vmware-vix-disklib-distrib/
# Sync logs from worker to master # Sync logs from worker to master
rsync -avz /var/log/pf9 rsync://${MASTER_IP}/worker-logs rsync -avz /var/log/pf9 rsync://${MASTER_IP}/worker-logs
# Also Sync logs from master to worker
rsync -avz rsync://${MASTER_IP}/master-logs /var/log/pf9
# Sync virtio-win drivers from master to worker # Sync virtio-win drivers from master to worker
rsync -avz rsync://${MASTER_IP}/virtio-win /home/ubuntu/virtio-win rsync -avz rsync://${MASTER_IP}/virtio-win /home/ubuntu/virtio-win
+3 -1
View File
@@ -6,4 +6,6 @@ metadata:
data: data:
version: ${TAG} version: ${TAG}
upgradeAvailable: "false" upgradeAvailable: "false"
upgradeVersion: "" upgradeVersion: ""
githubOwner: "" # Optional: Defaults to "platform9" if not set
githubRepo: "" # Optional: Defaults to "vjailbreak" if not set
@@ -9,4 +9,6 @@ data:
VM_ACTIVE_WAIT_RETRY_LIMIT: "15" # number of retries 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: "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 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
VCENTER_LOGIN_RETRY_LIMIT: "5" # number of retries for vcenter login
+31
View File
@@ -0,0 +1,31 @@
# v0.3.2
- **Tag:** `v0.3.2`
- **Published:** 2025-08-26T11:39:44Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.3.2
## Release Notes
## What's Changed
* handle for sles by @spai-p9 in https://github.com/platform9/vjailbreak/pull/815
* make the power off live vms default when selected and add completed at column. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/813
* UI: Do admin cutover via UI by @spai-p9 in https://github.com/platform9/vjailbreak/pull/810
* Added polling for QCOW2 image before docs update by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/804
* add a setting to keep the copied volumes in case of failure by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/823
* optimisations for openstack creds upload time by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/829
* fix dasboard count mismatch by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/826
* optimise disk pressure problem due to logs by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/832
* In-place upgrade by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/792
* Filtering security group according to particular tenant by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/824
* change completed at to created at by @spai-p9 in https://github.com/platform9/vjailbreak/pull/835
* Support Dynamic Hotplug-Enabled Flavors in Target Openstack Environment by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/838
* crd update and ui changes required for hotplug by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/842
* indicate missing base flavor for specific vmwaremachine by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/843
* search option(s) for faster migration triggers by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/844
* Fix label getting triggered back to no, when patched by @spai-p9 in https://github.com/platform9/vjailbreak/pull/847
* Push things to S3 and introduce nightly builds (release) by @sharma-tapas @sarika-p9 in https://github.com/platform9/vjailbreak/pull/793
* search for volume types and networks by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/849
* added alert in the ui while upgrade in progress by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/850
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.3.1...v0.3.2
+22
View File
@@ -0,0 +1,22 @@
# v0.3.3
- **Tag:** `v0.3.3`
- **Published:** 2025-09-04T12:15:48Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.3.3
## Release Notes
## What's Changed
* Fixed artifacts availability check by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/851
* fill networks based on network devices by @spai-p9 in https://github.com/platform9/vjailbreak/pull/846
* equate mac id case insensitive by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/857
* get bootable index for windows LDM by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/855
* Added MAX Keys to hotplug metadata and made it specific to PCD by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/860
* UI and backend for multiple ip by @spai-p9 in https://github.com/platform9/vjailbreak/pull/833
* Fix admin cutover by @spai-p9 in https://github.com/platform9/vjailbreak/pull/862
* locked versions for nbdkit by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/865
* fetch rpm from main by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/870
* Fixed the os assigment in the migration form by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/867
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.3.2...v0.3.3
+32
View File
@@ -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