migtools / pvc-migrate

Standalone PVC migration
Apache License 2.0
5 stars 13 forks source link

[DO NOT MERGE]: stunnel integration #82

Closed alaypatel07 closed 4 years ago

alaypatel07 commented 4 years ago

This gets rid of our dependency on LoadBalancer service. A lot of time was spent waiting for AWS ELB resource creation (and sometimes cleanup). This will significantly improve the speed of PV migration.

jmontleon commented 4 years ago

We should add the new Dockerfile, sshd_config, stunnel.conf, and remove the entrypoint.sh at https://github.com/konveyor/pvc-migrate/tree/master/2_pvc_destination_gen/extras/container (from https://github.com/jmontleon/stunnel-ssh-poc/tree/master/image)

djwhatle commented 4 years ago

The stunnel pod won't launch successfully in my environment. Still troubleshooting. I am running ansible automation on macOS, trying again on my Fedora box.

$ oc logs -f dwhatley-benchmark-rsync -c ssh
bash: /opt/ssh/.ssh/authorized_keys: No such file or directory

$ oc logs -f dwhatley-benchmark-rsync -c stunnel
bash: /etc/stunnel/tls.crt: No such file or directory

Update Performed same test on Fedora host, same result: crash looping pod.

alaypatel07 commented 4 years ago

closed in favor of #102