Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on Windows, beginning wait for 0 resources unexpected; running a migrate command should actually do something #319

Open
doctorpangloss opened this issue Nov 7, 2024 · 1 comment

Comments

@doctorpangloss
Copy link

Describe the bug
Migrations seemingly do not work at all.

To Reproduce

  1. run a migration on windows
  2. observe the application sits on
Nov  7 12:21:30.112 DBG beginning wait for 0 resources with timeout of 2m0s

Expected behavior
I would expect something to happen.

Console output
Add the error logs and/or the output to help us diagnose the problem.

Version

  • Source and destination Kubernetes version: 1.29
  • Source and destination container runtimes [e.g. containerd://1.4.4-k3s2, docker://19.3.6]
  • pv-migrate version and architecture [e.g. v0.5.5 - darwin_x86_64] latest and 2.0.1
  • Installation method [e.g. homebrew, binary download] binary download, golang installation
@doctorpangloss doctorpangloss changed the title beginning wait for 0 resources unexpected; running a migrate command should actually do something on Windows, beginning wait for 0 resources unexpected; running a migrate command should actually do something Nov 7, 2024
@doctorpangloss
Copy link
Author

linux at least starts:

~ ./pv-migrate migrate -n monitoring -N monitoring prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0-x prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0 --log-level=debug --strategies=mnt2 --helm-values=./test.yaml
Nov  7 12:40:43.532 INF ⚠️ Using legacy mode with PVC names as arguments, consider switching to --source and --dest flags
Nov  7 12:40:43.532 INF 🚀 Starting migration
Nov  7 12:40:43.613 INF 💭 Attempting migration source=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0-x dest=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0 strategies=mnt2
Nov  7 12:40:43.613 INF 🚁 Attempt using strategy source=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0-x dest=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0 attempt_id=aaded strategy=mnt2
Nov  7 12:40:43.800 DBG creating 2 resource(s) source=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0-x dest=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0 attempt_id=aaded strategy=mnt2
Nov  7 12:40:43.813 DBG beginning wait for 2 resources with timeout of 2m0s source=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0-x dest=monitoring/prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0 attempt_id=aaded strategy=mnt2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant