-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Describe the bug
I have configured a custom port number in the values.yaml:
sshd:
service:
# -- SSHD service port
port: 2222But in the destination port I see that it still tries to connect to the default port:
+ rsync -azv '--info=progress2,misc0,flist0' --no-inc-recursive -e 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5' [email protected]:/source// /dest//
ssh: connect to host 1.2.3.4 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=3.2.3]
I think there should be [email protected]:2222, right?
To Reproduce
Steps to reproduce the behavior:
- Set the custom port number in the
values.yaml:
sshd:
service:
# -- SSHD service port
port: 2222- Include this yaml to the helm chart:
pv-migrate --helm-values ./values.yaml - See an error:
❌ Error: migration failed: all strategies failed for this migration
Expected behavior
All should work fine.
Console output
+ rsync -azv '--info=progress2,misc0,flist0' --no-inc-recursive -e 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5' [email protected]:/source// /dest//
ssh: connect to host 1.2.3.4 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=3.2.3]
Version
- Source and destination Kubernetes versions
v1.27.8 - Source and destination container runtimes
containerd://1.4.4-k3s2 pv-migrateversion and architecture: version 1.7.1 (commit: 1affa11) (build date: 2023-10-09T21:56:55Z)- Installation method: binary download
- Source and destination PVC type, size and accessModes:
ReadWriteMany, 2G, rook-ceph->ReadWriteMany, 2G, rancher.io/local-path
Metadata
Metadata
Assignees
Labels
No labels