Compare commits

...
4 Commits
Author SHA1 Message Date
OmkarDeshpande7 2cd04d020b Add release v0.1.12 2026-09-15 22:46:46 +05:30
OmkarDeshpande7 6ff9251744 Add release v0.1.11 2026-09-15 22:46:37 +05:30
OmkarDeshpande7 c2bf28ee95 Add release v0.1.10 2026-09-15 22:45:31 +05:30
OmkarDeshpande7 ae6ea842f1 Add release v0.1.9 2026-09-15 22:45:22 +05:30
8 changed files with 151 additions and 14 deletions
+13 -6
View File
@@ -222,6 +222,12 @@ spec:
description: Human-readable message indicating details about description: Human-readable message indicating details about
last transition. last transition.
type: string type: string
observedGeneration:
description: |-
If set, this represents the .metadata.generation that the pod condition was set based upon.
This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
format: int64
type: integer
reason: reason:
description: Unique, one-word, CamelCase reason for the condition's description: Unique, one-word, CamelCase reason for the condition's
last transition. last transition.
@@ -1655,7 +1661,7 @@ spec:
- --health-probe-bind-address=:8081 - --health-probe-bind-address=:8081
command: command:
- /manager - /manager
image: quay.io/platform9/vjailbreak-controller:v0.1.8 image: quay.io/platform9/vjailbreak-controller:v0.1.12
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
httpGet: httpGet:
@@ -1674,14 +1680,11 @@ spec:
requests: requests:
cpu: 200m cpu: 200m
memory: 256Mi memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
volumeMounts: volumeMounts:
- mountPath: /etc/pf9/k3s - mountPath: /etc/pf9/k3s
name: master-token name: master-token
- mountPath: /home/ubuntu
name: vddk
hostNetwork: true hostNetwork: true
securityContext: securityContext:
runAsGroup: 0 runAsGroup: 0
@@ -1693,3 +1696,7 @@ spec:
path: /var/lib/rancher/k3s/server path: /var/lib/rancher/k3s/server
type: Directory type: Directory
name: master-token name: master-token
- hostPath:
path: /home/ubuntu
type: Directory
name: vddk
+33 -7
View File
@@ -15,11 +15,28 @@ spec:
app: sync-daemon app: sync-daemon
spec: spec:
hostNetwork: true hostNetwork: true
initContainers:
- name: fix-perms
image: alpine:latest
securityContext:
privileged: true
runAsUser: 0
command: ["/bin/sh", "-c"]
args:
- |
echo "Fixing permissions on /home/ubuntu/vmware-vix-disklib-distrib..."
chown -R 1000:1000 /home/ubuntu/vmware-vix-disklib-distrib
chmod 755 /home/ubuntu/vmware-vix-disklib-distrib
volumeMounts:
- name: vmwarelib
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
containers: containers:
- name: sync-container - name: sync-container
image: alpine:latest image: alpine:latest
securityContext: securityContext:
privileged: true privileged: true
runAsUser: 0
runAsGroup: 0
ports: ports:
- containerPort: 873 - containerPort: 873
volumeMounts: volumeMounts:
@@ -28,20 +45,18 @@ spec:
readOnly: true readOnly: true
- name: vmwarelib - name: vmwarelib
mountPath: /home/ubuntu/vmware-vix-disklib-distrib mountPath: /home/ubuntu/vmware-vix-disklib-distrib
- name: logs
mountPath: /var/log/pf9
command: ["/bin/sh", "-c"] command: ["/bin/sh", "-c"]
args: args:
- | - |
# Install required packages apk add --no-cache rsync coreutils grep
apk add --no-cache rsync coreutils grep;
# Extract variables from environment file
IS_MASTER=$(grep -E '^export IS_MASTER=' /etc/pf9/k3s.env | cut -d'=' -f2) IS_MASTER=$(grep -E '^export IS_MASTER=' /etc/pf9/k3s.env | cut -d'=' -f2)
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"
# Start rsync daemon using the pre-created config file
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
# Verify rsync daemon is running
if ps aux | grep rsync | grep -v grep; then if ps aux | grep rsync | grep -v grep; then
echo "rsync daemon is running." echo "rsync daemon is running."
else else
@@ -54,20 +69,31 @@ spec:
mkdir -p /home/ubuntu/vmware-vix-disklib-distrib/ mkdir -p /home/ubuntu/vmware-vix-disklib-distrib/
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
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
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "Sync completed successfully." echo "Sync completed successfully."
else else
echo "Sync failed. Retrying in 60 seconds..." echo "Sync failed. Retrying in 60 seconds..."
fi fi
sleep 20 # Retry every 60 seconds sleep 20
done done
fi fi
volumes: volumes:
- name: pf9-env - name: pf9-env
hostPath: hostPath:
path: /etc/pf9 path: /etc/pf9
type: Directory type: DirectoryOrCreate
- name: vmwarelib - name: vmwarelib
hostPath: hostPath:
path: /home/ubuntu/vmware-vix-disklib-distrib path: /home/ubuntu/vmware-vix-disklib-distrib
type: DirectoryOrCreate type: DirectoryOrCreate
- name: logs
hostPath:
type: DirectoryOrCreate
path: /var/log/pf9
+4
View File
@@ -0,0 +1,4 @@
# This file is used to set environment variables to be injected into v2v-helper
# User can populate this file via cloud-init
+14
View File
@@ -13,3 +13,17 @@ timeout = 300
read only = no read only = no
write only = no write only = no
list = yes list = yes
[worker-logs]
path = /var/log
comment = Logs pushed by vjailbreak workers
read only = no
write only = no
list = yes
[master-logs]
path = /var/log/pf9
comment = Logs pushed by vjailbreak master to all the workers
read only = no
write only = no
list = yes
+17
View File
@@ -0,0 +1,17 @@
# v0.1.10
- **Tag:** `v0.1.10`
- **Published:** 2025-05-07T17:34:01Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.10
## Release Notes
## What's Changed
* added os icons in vms list table in Migrations by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/431
* Backend change to block selection of vms without appropriate flavors in openstack by @spai-p9 in https://github.com/platform9/vjailbreak/pull/424
* Backend:Retrieve correct network names from backing Network references instead of device summary by @spai-p9 in https://github.com/platform9/vjailbreak/pull/432
* Backend: Improve the error handling and event reporting on these failures. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/411
* Backend: Preserve the job logs. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/435
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.9...v0.1.10
+20
View File
@@ -0,0 +1,20 @@
# v0.1.11
- **Tag:** `v0.1.11`
- **Published:** 2025-05-14T05:26:32Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.11
## Release Notes
## What's Changed
* added swagger ui for v0.1.9 and v0.1.10 by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/439
* counter output for incremental copy by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/451
* automated swagger ui at every push by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/450
* Migration stuck in Pending on UI by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/459
* Wait for volume attachements also to clear out. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/461
* v2v-helper: Add check if subnet exists to avoid panic. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/460
* enable openstack re-auth by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/464
* use flavor id instead of name in label by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/465
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.10...v0.1.11
+25
View File
@@ -0,0 +1,25 @@
# v0.1.12
- **Tag:** `v0.1.12`
- **Published:** 2025-05-30T05:26:52Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.12
## Release Notes
## What's Changed
* save migration debug logs at hostPath '/var/log/pf9' ( release ) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/479
* Add ons in v2v-helper for post-migration actions by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/490
* Updated documentation for all external connectivity required for vjailbreak by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/467
* Sync migration logs from worker to master ( release ) by @spai-p9 in https://github.com/platform9/vjailbreak/pull/494
* User should be able to delete migration when in pending or any stage by @spai-p9 in https://github.com/platform9/vjailbreak/pull/511
* added the admincutover option to the migration strategy by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/514
* disabled migration form submission on enter key when text inputs are … by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/515
* added insecure option to the vmware creds form by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/516
* Add check from nova side also for volume dettach by @spai-p9 in https://github.com/platform9/vjailbreak/pull/480
* Document: Add cbt privilege and flavor selection logic in Doc. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/502
* Increase timeout for vm status to become active by @spai-p9 in https://github.com/platform9/vjailbreak/pull/525
* create delete update vmwaremachines by @spai-p9 in https://github.com/platform9/vjailbreak/pull/523
* fix build issue. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/526
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.11...v0.1.12
+24
View File
@@ -0,0 +1,24 @@
# v0.1.9
- **Tag:** `v0.1.9`
- **Published:** 2025-04-25T06:14:53Z
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.9
## Release Notes
## What's Changed
* Backend: Add check if datacenter exists by @spai-p9 in https://github.com/platform9/vjailbreak/pull/368
* Proxy env injection via configmap by @spai-p9 in https://github.com/platform9/vjailbreak/pull/364
* removed creds from logs and Made changes to match OS_INSECURE value t… by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/379
* vddk files check before migration ( release ) by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/375
* Damian doc updates by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/377
* Doc: Inject any environment variables required by user into v2v-helper pod. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/381
* Backend: Change ownership of /home/ubuntu/vmware-vix-disklib-distrib to ubuntu:ubuntu via init container. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/378
* ensure correct permissions on shared vmwarelib directory for rsync ac… by @spai-p9 in https://github.com/platform9/vjailbreak/pull/383
* Scaling doc update by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/391
* Backend: Remove logs in vmwaremachines by @spai-p9 in https://github.com/platform9/vjailbreak/pull/390
## New Contributors
* @sarika-p9 made their first contribution in https://github.com/platform9/vjailbreak/pull/379
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.8...v0.1.9