Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae6ea842f1 | ||
|
|
2402f7258a | ||
|
|
45d3a14195 | ||
|
|
9b38fd3b00 | ||
|
|
1faa3a5f45 | ||
|
|
cccd90c9ff | ||
|
|
b414b04d7d | ||
|
|
2fcf305d17 |
+612
-754
File diff suppressed because it is too large
Load Diff
+11
-2
@@ -62,13 +62,22 @@ metadata:
|
||||
namespace: default
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /apis
|
||||
pathType: Prefix
|
||||
- path: /(apis.*)
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: kubernetes
|
||||
port:
|
||||
number: 443
|
||||
- path: /(api.*)
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: kubernetes
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: sync-daemon
|
||||
namespace: kube-system
|
||||
labels:
|
||||
app: sync-daemon
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sync-daemon
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: sync-daemon
|
||||
spec:
|
||||
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:
|
||||
- name: sync-container
|
||||
image: alpine:latest
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
ports:
|
||||
- containerPort: 873
|
||||
volumeMounts:
|
||||
- name: pf9-env
|
||||
mountPath: /etc/pf9
|
||||
readOnly: true
|
||||
- name: vmwarelib
|
||||
mountPath: /home/ubuntu/vmware-vix-disklib-distrib
|
||||
command: ["/bin/sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
apk add --no-cache rsync coreutils grep
|
||||
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"
|
||||
echo "Starting rsync daemon..."
|
||||
rsync --daemon --config=/etc/pf9/rsyncd.conf --no-detach
|
||||
if ps aux | grep rsync | grep -v grep; then
|
||||
echo "rsync daemon is running."
|
||||
else
|
||||
echo "Failed to start rsync daemon."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Worker node detected. Syncing from Master..."
|
||||
while true; do
|
||||
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/
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Sync completed successfully."
|
||||
else
|
||||
echo "Sync failed. Retrying in 60 seconds..."
|
||||
fi
|
||||
sleep 20
|
||||
done
|
||||
fi
|
||||
volumes:
|
||||
- name: pf9-env
|
||||
hostPath:
|
||||
path: /etc/pf9
|
||||
type: Directory
|
||||
- name: vmwarelib
|
||||
hostPath:
|
||||
path: /home/ubuntu/vmware-vix-disklib-distrib
|
||||
type: DirectoryOrCreate
|
||||
- name: env
|
||||
hostPath:
|
||||
type: Directory
|
||||
path: /etc/pf9/env
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export IS_MASTER=true
|
||||
export MASTER_IP=
|
||||
export K3S_TOKEN=
|
||||
@@ -0,0 +1,15 @@
|
||||
# Rsync Daemon Configuration
|
||||
uid = root
|
||||
gid = root
|
||||
use chroot = no
|
||||
read only = no
|
||||
max connections = 5
|
||||
log file = /var/log/rsync.log
|
||||
timeout = 300
|
||||
|
||||
[vmwarelib]
|
||||
path = /home/ubuntu/vmware-vix-disklib-distrib
|
||||
comment = VMware VIX Disk Library
|
||||
read only = no
|
||||
write only = no
|
||||
list = yes
|
||||
@@ -0,0 +1,44 @@
|
||||
# v0.1.2
|
||||
|
||||
- **Tag:** `v0.1.2`
|
||||
- **Published:** 2025-01-17T14:59:16Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.2
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Upgrade min version to v0.1.1 by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/71
|
||||
* Use version as tag for release event by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/72
|
||||
* Added React Query to cache data, refactored MigrationForm component, and added error handling to MigrationForm by @knnguy in https://github.com/platform9/vjailbreak/pull/69
|
||||
* Add FAQs by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/74
|
||||
* Fix for incomplete transfer of changed blocks by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/75
|
||||
* Add Video Demo by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/73
|
||||
* Add vCenter role perms and port req by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/76
|
||||
* Adding additional network port prereqs for NBDkit by @jeremymv2 in https://github.com/platform9/vjailbreak/pull/77
|
||||
* replaced vCenter Role permissions with more comprehensive list from R… by @jeremymv2 in https://github.com/platform9/vjailbreak/pull/78
|
||||
* update README with table for prereqs by @jeremymv2 in https://github.com/platform9/vjailbreak/pull/79
|
||||
* Add debug logs to v2v-helper by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/80
|
||||
* UI: Fixes by @knnguy in https://github.com/platform9/vjailbreak/pull/87
|
||||
* Remove unused VMInfo field by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/82
|
||||
* Add ephemeral storage req and limits by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/119
|
||||
* Compress nmcli scripts by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/120
|
||||
* Wait for volume mount for up to a minute by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/121
|
||||
* Disable healthchecks by default by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/122
|
||||
* Update healthcheck in README by @tanaypf9 in https://github.com/platform9/vjailbreak/pull/124
|
||||
* Mapped OS_PROJECT_DOMAIN_NAME to OS_DOMAIN_NAME and OS_PROJECT_NAME t… by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/130
|
||||
* add IpAddress and VM state info to migrationtemplate status by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/133
|
||||
* 106 - disabled stopped VMs from migrating and notified with a tooltip by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/136
|
||||
* Allowed one to many network mappings from VMware to Openstack by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/137
|
||||
* UI: If the form is not submitted CRs created, should be deleted by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/139
|
||||
* UI: Handle VM refresh with additional put call to migration template and add adjust the timeout needed for it to reflect latest detail by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/142
|
||||
* check if disks have os installed in lexical order (release) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/140
|
||||
|
||||
## Known Issues
|
||||
* If the VM to be migrated has an LV spanning multiple physical devices used as boot volume unless both are mounted simultaneously to the OS-VM, vJailbreak cannot detect whether it is bootable, or not. ([issue link](https://github.com/platform9/vjailbreak/issues/146))
|
||||
* If a user turns on a VM on VCenter after migration and tries to migrate it again, the migration object will not be created. In this case, the user should delete the VM from PCD/Openstack before trying the migration again. This error will be pushed up the stack for visibility.
|
||||
|
||||
## New Contributors
|
||||
* @patil-pratik-87 made their first contribution in https://github.com/platform9/vjailbreak/pull/130
|
||||
* @OmkarDeshpande7 made their first contribution in https://github.com/platform9/vjailbreak/pull/133
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.1...16.01
|
||||
@@ -0,0 +1,13 @@
|
||||
# v0.1.3
|
||||
|
||||
- **Tag:** `v0.1.3`
|
||||
- **Published:** 2025-02-12T11:56:12Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.3
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Fix ui to accept OS_INSECURE from rc file by @spai-p9 in https://github.com/platform9/vjailbreak/pull/177
|
||||
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.2...v0.1.3
|
||||
@@ -0,0 +1,28 @@
|
||||
# v0.1.4
|
||||
|
||||
- **Tag:** `v0.1.4`
|
||||
- **Published:** 2025-02-21T13:51:39Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.4
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Fix GH workflow runs on release event by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/147
|
||||
* workflow dispatch manual by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/148
|
||||
* Update README.md by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/149
|
||||
* Update model.ts by @markp93 in https://github.com/platform9/vjailbreak/pull/152
|
||||
* Added delete migration functionality to the migration table by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/155
|
||||
* Adding workers nodes to the vjailbreak by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/161
|
||||
* update package.json by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/172
|
||||
* Update issue templates by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/158
|
||||
* Update bug_report.yaml by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/175
|
||||
* Migration data copy progress % and migration phases by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/167
|
||||
* Nit: consistent referring to company VMware by @ericwb in https://github.com/platform9/vjailbreak/pull/164
|
||||
* Update README.md by @markp93 in https://github.com/platform9/vjailbreak/pull/170
|
||||
* release version v0.1.4 (release) by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/196
|
||||
|
||||
## New Contributors
|
||||
* @markp93 made their first contribution in https://github.com/platform9/vjailbreak/pull/152
|
||||
* @ericwb made their first contribution in https://github.com/platform9/vjailbreak/pull/164
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.3...v0.1.4
|
||||
@@ -0,0 +1,29 @@
|
||||
# v0.1.5
|
||||
|
||||
- **Tag:** `v0.1.5`
|
||||
- **Published:** 2025-03-04T18:18:51Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.5
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Accept vmware and openstack creds via secert by @spai-p9 in https://github.com/platform9/vjailbreak/pull/228
|
||||
* Create and Reuse existing open stack and vmware creds with other mino… by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/237
|
||||
* Support OS installed on LV by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/227
|
||||
* Adding templates for github wiki by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/226
|
||||
* resolving lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/239
|
||||
* resolving lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/240
|
||||
* update image tag to v0.1.5 by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/242
|
||||
* Base documentation update for vJailbreak by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/243
|
||||
* Update checkout action to generate release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/249
|
||||
* Update checkout action to generate release notes by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/250
|
||||
* Ingress changes to call k8s apis by @spai-p9 in https://github.com/platform9/vjailbreak/pull/252
|
||||
* Reformatted readme by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/206
|
||||
|
||||
## New Contributors
|
||||
* @damian-pf9 made their first contribution in https://github.com/platform9/vjailbreak/pull/206
|
||||
* @bhavin192 made their first contribution
|
||||
* @anmolsachan made their first contribution
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.4...v0.1.5
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
# v0.1.6
|
||||
|
||||
- **Tag:** `v0.1.6`
|
||||
- **Published:** 2025-03-17T09:51:00Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.6
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Update the correct gh-pages by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/265
|
||||
* Update the correct icon for gh-pages by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/266
|
||||
* Update the correct version for gh-pages by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/267
|
||||
* ( release ) UI improvements and Backend fixes. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/281
|
||||
* Update release notes for v0.1.6 by @github-actions in https://github.com/platform9/vjailbreak/pull/282
|
||||
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.5...v0.1.6
|
||||
@@ -0,0 +1,40 @@
|
||||
# v0.1.7
|
||||
|
||||
- **Tag:** `v0.1.7`
|
||||
- **Published:** 2025-03-26T09:01:10Z
|
||||
- **Source release:** https://github.com/platform9/vjailbreak/releases/tag/v0.1.7
|
||||
|
||||
## Release Notes
|
||||
|
||||
## What's Changed
|
||||
* Update video link to latest by @anmolsachan in https://github.com/platform9/vjailbreak/pull/290
|
||||
* fix readme for openstackcreds and vmware creds by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/288
|
||||
* ( release ) Change base image to ubuntu base image, reduced image size. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/286
|
||||
* Ignore Failed phase on retry by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/289
|
||||
* api cosmetic fixes by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/274
|
||||
* Support rollback for failed VM by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/300
|
||||
* check VM status before marking migration as complete by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/295
|
||||
* UI: Api cosmetic changes UI by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/297
|
||||
* UI: Fix active migration by @spai-p9 in https://github.com/platform9/vjailbreak/pull/304
|
||||
* fix mocks, unit tests by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/308
|
||||
* block openstackcreds deletion for master creds by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/303
|
||||
* UI: Implement a new credential addition workflow, and remove the creds addition from MigrationForm and Scaleup drawer by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/298
|
||||
* Easy debug config by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/287
|
||||
* resolved lint issues by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/311
|
||||
* 270 identically named source destination credentials arent displayed properly by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/312
|
||||
* Actions enhancement: Build and push on every PR raised to main or release branch. by @spai-p9 in https://github.com/platform9/vjailbreak/pull/313
|
||||
* Heavily re-organized docs pages by @damian-pf9 in https://github.com/platform9/vjailbreak/pull/309
|
||||
* Update the docs github page by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/314
|
||||
* Sync VDDK across agents without any manual intervention by @spai-p9 in https://github.com/platform9/vjailbreak/pull/296
|
||||
* Fix versions and github actions by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/316
|
||||
* Fixed regression while updating cosmetic api changes, virtualmac… by @patil-pratik-87 in https://github.com/platform9/vjailbreak/pull/317
|
||||
* 0.1.7 release fixes by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/318
|
||||
* Build: Fix CGO Linking for libnbd Library in Build Process (release) by @spai-p9 in https://github.com/platform9/vjailbreak/pull/315
|
||||
* fix migration status with random pod ref name by @OmkarDeshpande7 in https://github.com/platform9/vjailbreak/pull/320
|
||||
* UI: Disable scale down of a node when active migration is going on by @spai-p9 in https://github.com/platform9/vjailbreak/pull/319
|
||||
* release: Fix github action when PR raised from release branch by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/323
|
||||
* update astro action to use v4 by @sharma-tapas in https://github.com/platform9/vjailbreak/pull/324
|
||||
* Add optional dependency by @spai-p9 in https://github.com/platform9/vjailbreak/pull/325
|
||||
|
||||
|
||||
**Full Changelog**: https://github.com/platform9/vjailbreak/compare/v0.1.6...v0.1.7
|
||||
@@ -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