Giter Site home page Giter Site logo

Local strategy fails on port forwarding in our case of cross-cluster migration (error upgrading connection: Unauthorized) about pv-migrate HOT 2 OPEN

lgyurci avatar lgyurci commented on June 13, 2024
Local strategy fails on port forwarding in our case of cross-cluster migration (error upgrading connection: Unauthorized)

from pv-migrate.

Comments (2)

utkuozdemir avatar utkuozdemir commented on June 13, 2024

Thanks for the detailed report.

Can you retry with the args --log-level=debug --log-format=json? It might shed some light on the underlying error.

from pv-migrate.

lgyurci avatar lgyurci commented on June 13, 2024

Sure. I don't see any extra info in it unfortunately.

{"dest":"vol-claim","dest_ns":"testns","level":"info","msg":":bulb: PVC vol-claim is mounted to node cluster1-node2, ignoring...","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:55+02:00"}
{"dest":"vol-claim","dest_ns":"testns","level":"info","msg":":bulb: PVC vol-claim is mounted to node cluster2-node1, ignoring...","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:55+02:00"}
{"dest":"vol-claim","dest_ns":"testns","level":"info","msg":":thought_balloon: Will attempt 1 strategies: local","source":"vol-claim","source_ns":"testns","strategies":"local","time":"2023-08-21T09:15:55+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"info","msg":":helicopter: Attempting strategy: local","source":"vol-claim","source_ns":"testns","strategy":"local","time":"2023-08-21T09:15:55+02:00"}
{"dest":"vol-claim","dest_ns":"testns","level":"info","msg":":key: Generating SSH key pair","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:55+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"creating 4 resource(s)","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:57+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"beginning wait for 4 resources with timeout of 1m0s","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:57+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Deployment is not ready: testns/pv-migrate-daeec-src-sshd. 0 out of 1 expected pods are ready","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:57+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Deployment is not ready: testns/pv-migrate-daeec-src-sshd. 0 out of 1 expected pods are ready","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:15:59+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Deployment is not ready: testns/pv-migrate-daeec-src-sshd. 0 out of 1 expected pods are ready","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:16:01+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"creating 4 resource(s)","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:16:05+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"beginning wait for 4 resources with timeout of 1m0s","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:16:05+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Deployment is not ready: testns/pv-migrate-daeec-dest-sshd. 0 out of 1 expected pods are ready","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:16:05+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Deployment is not ready: testns/pv-migrate-daeec-dest-sshd. 0 out of 1 expected pods are ready","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:16:07+02:00"}
{"dest":"vol-claim","dest_ns":"testns","error":"error upgrading connection: Unauthorized","level":"error","msg":":cross_mark: Error on port-forward","name":"pv-migrate-daeec-src-sshd-76b7f4556-2rm7w","ns":"testns","port":36935,"source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:09+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"info","msg":":broom: Cleaning up","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:39+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"uninstall: Deleting pv-migrate-daeec-src","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:39+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"uninstall: given cascade value: , defaulting to delete propagation background","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-src-sshd\" Service","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-src-sshd\" Deployment","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-src-sshd\" Secret","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-src-sshd\" ServiceAccount","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"beginning wait for 4 resources to be deleted with timeout of 1m0s","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"purge requested for pv-migrate-daeec-src","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:40+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"uninstall: Deleting pv-migrate-daeec-dest","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:41+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"uninstall: given cascade value: , defaulting to delete propagation background","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-dest-sshd\" Service","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-dest-sshd\" Deployment","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-dest-sshd\" Secret","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"Starting delete for \"pv-migrate-daeec-dest-sshd\" ServiceAccount","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"beginning wait for 4 resources to be deleted with timeout of 1m0s","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"debug","msg":"purge requested for pv-migrate-daeec-dest","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","id":"daeec","level":"info","msg":":sparkles: Cleanup done","source":"vol-claim","source_ns":"testns","time":"2023-08-21T09:17:42+02:00"}
{"dest":"vol-claim","dest_ns":"testns","error":"timed out waiting for port-forward to be ready","id":"daeec","level":"warning","msg":":large_orange_diamond: Migration failed with this strategy, will try with the remaining strategies","source":"vol-claim","source_ns":"testns","strategy":"local","time":"2023-08-21T09:17:42+02:00"}```

from pv-migrate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.