-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Describe the bug
When I start the pv-migrate, it creates the deployment, but in the debug log I see errors like:
🚁 Attempting strategy: lbsvc
🔑 Generating SSH key pair
creating 4 resource(s)
beginning wait for 4 resources with timeout of 1m0s
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
But at the same time, via kubectl I see that the deployment is ready:
$ kubectl -n korepov get deployment pv-migrate-dbabc-src-sshd
NAME READY UP-TO-DATE AVAILABLE AGE
pv-migrate-dbabc-src-sshd 1/1 1 1 43s
The log level is debug, and no additional messages were displayed.
So, any ideas on what can cause this problem?
How can I enable more verbose logging to understand what's happening and why it is not detecting the ready status?
Console output
🚁 Attempting strategy: lbsvc
🔑 Generating SSH key pair
creating 4 resource(s)
beginning wait for 4 resources with timeout of 1m0s
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
Deployment is not ready: korepov/pv-migrate-dbabc-src-sshd. 0 out of 1 expected pods are ready
🧹 Cleaning up
uninstall: Deleting pv-migrate-dbabc-src
uninstall: given cascade value: , defaulting to delete propagation background
Starting delete for "pv-migrate-dbabc-src-sshd" Service
Starting delete for "pv-migrate-dbabc-src-sshd" Deployment
Starting delete for "pv-migrate-dbabc-src-sshd" Secret
Starting delete for "pv-migrate-dbabc-src-sshd" ServiceAccount
beginning wait for 4 resources to be deleted with timeout of 1m0s
purge requested for pv-migrate-dbabc-src
✨ Cleanup done
🔶 Migration failed with this strategy, will try with the remaining strategies
Error: migration failed: all strategies failed for this migration
**Version**
- Source and destination Kubernetes versions: source - `v1.25.6`, destination - ` v1.27.7`
- Source and destination container runtimes: source - `containerd://1.6.15`, destination - `containerd://1.7.5`
- pv-migrate version 1.7.1 (commit: 1affa11b175d20969b9d6f2879c09dc94f0b4a0f) (build date: 2023-10-09T21:56:55Z)
- Installation method: krew
- Source and destination PVC type, size and accessModes: `ReadWriteMany, csi-cephfs-sc, 2G -> ReadWriteMany,
local-path, 2G`
BarrMan
Metadata
Metadata
Assignees
Labels
No labels