Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
412cdc43da | ||
|
|
115faf9854 | ||
|
|
41620797bd | ||
|
|
2cd04d020b | ||
|
|
6ff9251744 | ||
|
|
c2bf28ee95 | ||
|
|
ae6ea842f1 | ||
|
|
2402f7258a |
+2079
-267
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -17,7 +17,7 @@ spec:
|
||||
containers:
|
||||
- name: vjailbreak-ui-container
|
||||
image: platform9/vjailbreak-ui:v0.1
|
||||
imagePullPolicy: Always
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
|
||||
@@ -15,11 +15,33 @@ spec:
|
||||
app: sync-daemon
|
||||
spec:
|
||||
hostNetwork: true
|
||||
containers:
|
||||
- name: sync-container
|
||||
image: alpine:latest
|
||||
initContainers:
|
||||
- name: fix-perms
|
||||
image: quay.io/platform9/vjailbreak:alpine
|
||||
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
|
||||
echo "Fixing permissions on /home/ubuntu/virtio-win..."
|
||||
chown -R 1000:1000 /home/ubuntu/virtio-win
|
||||
chmod 755 /home/ubuntu/virtio-win
|
||||
volumeMounts:
|
||||
- name: vmwarelib
|
||||
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
|
||||
- name: virtio-win
|
||||
mountPath: /home/ubuntu/virtio-win
|
||||
containers:
|
||||
- name: sync-container
|
||||
image: quay.io/platform9/vjailbreak:alpine
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
ports:
|
||||
- containerPort: 873
|
||||
volumeMounts:
|
||||
@@ -28,20 +50,19 @@ spec:
|
||||
readOnly: true
|
||||
- name: vmwarelib
|
||||
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
|
||||
- name: logs
|
||||
mountPath: /var/log/pf9
|
||||
- name: virtio-win
|
||||
mountPath: /home/ubuntu/virtio-win
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
# Install required packages
|
||||
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)
|
||||
MASTER_IP=$(grep -E '^export MASTER_IP=' /etc/pf9/k3s.env | cut -d'=' -f2)
|
||||
if [ "$IS_MASTER" = "true" ]; then
|
||||
echo "Master node detected. IP: $MASTER_IP"
|
||||
# Start rsync daemon using the pre-created config file
|
||||
echo "Starting rsync daemon..."
|
||||
rsync --daemon --config=/etc/pf9/rsyncd.conf --no-detach
|
||||
# Verify rsync daemon is running
|
||||
if ps aux | grep rsync | grep -v grep; then
|
||||
echo "rsync daemon is running."
|
||||
else
|
||||
@@ -54,20 +75,38 @@ spec:
|
||||
mkdir -p /home/ubuntu/vmware-vix-disklib-distrib/
|
||||
echo "Syncing from rsync://${MASTER_IP}"
|
||||
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
|
||||
|
||||
# Sync virtio-win drivers from master to worker
|
||||
rsync -avz rsync://${MASTER_IP}/virtio-win /home/ubuntu/virtio-win
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Sync completed successfully."
|
||||
else
|
||||
echo "Sync failed. Retrying in 60 seconds..."
|
||||
fi
|
||||
sleep 20 # Retry every 60 seconds
|
||||
sleep 20
|
||||
done
|
||||
fi
|
||||
volumes:
|
||||
- name: pf9-env
|
||||
hostPath:
|
||||
path: /etc/pf9
|
||||
type: Directory
|
||||
type: DirectoryOrCreate
|
||||
- name: vmwarelib
|
||||
hostPath:
|
||||
path: /home/ubuntu/vmware-vix-disklib-distrib
|
||||
type: DirectoryOrCreate
|
||||
- name: logs
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: /var/log/pf9
|
||||
- name: virtio-win
|
||||
hostPath:
|
||||
type: DirectoryOrCreate
|
||||
path: /home/ubuntu/virtio-win
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -13,3 +13,24 @@ timeout = 300
|
||||
read only = no
|
||||
write only = no
|
||||
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
|
||||
|
||||
[virtio-win]
|
||||
path = /home/ubuntu/virtio-win
|
||||
comment = virtio-win drivers
|
||||
read only = no
|
||||
write only = no
|
||||
list = yes
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,54 @@
|
||||
# v0.1.13
|
||||
|
||||
- **Tag:** `v0.1.13`
|
||||
- **Published:** 2025-06-18T14:06:38Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.13
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What’s Changed
|
||||
* vPwned: Rolling Conversion (release) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/546
|
||||
* uncomment build-vpwned action by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/552
|
||||
* added the functionality to validate and assign/edit ips to/of the vms for rolling conversion by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/567
|
||||
* added the target cluster selections for migrations by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/573
|
||||
* convert PCD Cluster name to k8s compatible by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/576
|
||||
* fix issues when VM is attached to same network twice by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/579
|
||||
* Release v0.1.13 (release) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/581
|
||||
* Add proxy for vjailbreak by @spai-p9 in https://github.com/platform9/vjailbreak/pull/562
|
||||
* add/update/edit os and flavors in vms list in rolling conversion by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/586
|
||||
* Add alpine docker image with rsync,coreutils in quay by @spai-p9 in https://github.com/platform9/vjailbreak/pull/590
|
||||
* DOC: Add doc for virtio drivers injection by the user by @spai-p9 in https://github.com/platform9/vjailbreak/pull/589
|
||||
* change from cloud-ctl to pcdctl by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/599
|
||||
* Change the base ubuntu image for vJailbreak qcow by @spai-p9 in https://github.com/platform9/vjailbreak/pull/598
|
||||
* Fix scale up by @spai-p9 in https://github.com/platform9/vjailbreak/pull/601
|
||||
* Fix cluster name by @spai-p9 in https://github.com/platform9/vjailbreak/pull/602
|
||||
* fix openstack volume sizes being smaller than original disk size by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/558
|
||||
* improved guestfish logging by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/565
|
||||
* Rolling Conversion UI changes by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/548
|
||||
* fix debug log file for migration re-runs by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/560
|
||||
* move os family selection to per VM basis by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/568
|
||||
* save disk space on vjb VM by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/571
|
||||
* Prebake components by @spai-p9 in https://github.com/platform9/vjailbreak/pull/574
|
||||
* Give users option to upload virtio drivers to a path in master and then propogate it down to agents by @spai-p9 in https://github.com/platform9/vjailbreak/pull/575
|
||||
* make delete migration-controller-manager pod work by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/572
|
||||
|
||||
### Usability Enhancements and Stability Improvements
|
||||
|
||||
- **Rolling Conversion (Beta Availability)**
|
||||
The Rolling Conversion feature is now available as a beta release.
|
||||
|
||||
- **Pre-Packaged vJailbreak Image**
|
||||
A new vJailbreak image is now available, containing all required components pre-installed. This enhancement eliminates the need for internet access during installation, making it suitable for restricted network environments.
|
||||
|
||||
- **Support for Custom VirtIO Drivers**
|
||||
Users may now upload VirtIO drivers to a designated path. If present, these drivers will be utilized during the migration process. If absent, the system will default to downloading the necessary drivers from the internet, providing flexibility based on deployment conditions. https://github.com/platform9/vjailbreak/blob/main/docs/src/content/docs/guides/virtio_doc.md
|
||||
|
||||
- **Resolution of Pod Eviction Due to Disk Pressure**
|
||||
An issue causing pod eviction under disk pressure conditions has been resolved. This fix improves the reliability and stability of workloads during extended migration operations.
|
||||
|
||||
- **Enhanced Debug Logging**
|
||||
Debug logs have been improved to provide more comprehensive and structured output
|
||||
|
||||
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.11...v0.1.13
|
||||
@@ -0,0 +1,16 @@
|
||||
# v0.1.14
|
||||
|
||||
- **Tag:** `v0.1.14`
|
||||
- **Published:** 2025-06-20T16:00:45Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.14
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* revert the changes for duplicate networks by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/605
|
||||
* accept os_family correctly and override if present by @spai-p9 in https://github.com/platform9/vjailbreak/pull/607
|
||||
* support migration without a cluster on pcd by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/608
|
||||
* do not fail migrations for snapshot delettions by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/611
|
||||
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.13...v0.1.14
|
||||
@@ -0,0 +1,17 @@
|
||||
# v0.1.15
|
||||
|
||||
- **Tag:** `v0.1.15`
|
||||
- **Published:** 2025-06-25T12:07:39Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.15
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* fix part-to-dev input by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/614
|
||||
* Fix RC file parsing to support special characters in OpenStack credentials. by @sarika-p9 in https://github.com/platform9/vjailbreak/pull/619
|
||||
* Made changes to the desination cluster selection by showing cred name… by @patil-pratik-87 n https://github.com/platform9/vjailbreak/pull/634
|
||||
* pcdclusters and tenant in UI (release) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/633
|
||||
* Destination cluster dropdown changes for same id by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/636
|
||||
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.14...v0.1.15
|
||||
@@ -0,0 +1,20 @@
|
||||
# v0.1.8
|
||||
|
||||
- **Tag:** `v0.1.8`
|
||||
- **Published:** 2025-04-10T06:48:23Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.8
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Release v0.1.7 by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/322
|
||||
* Update release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/326
|
||||
* Updating the video by @roopakparikh in https://github.com/platform9/vjailbreak/pull/342
|
||||
* Update the readme to point to the 'Getting Started' by @roopakparikh in https://github.com/platform9/vjailbreak/pull/349
|
||||
* release v0.1.8 by @spai-p9 in https://github.com/platform9/vjailbreak/pull/354
|
||||
* Update release notes for v0.1.8 by @github-actions in https://github.com/platform9/vjailbreak/pull/358
|
||||
|
||||
## New Contributors
|
||||
* @roopakparikh made their first contribution in https://github.com/platform9/vjailbreak/pull/342
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.7...v0.1.8
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user