-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Describe the bug
DVM fails if we try for instance to stage a second time a project that contains a PVC whom size costumes more than 50% of the project quota.
To Reproduce
Steps to reproduce the behavior:
- Create project with quota to 100Gb
- Create PVC of 60Gb
- Stage the project for migration
- Stage the project for migration a second time
Expected behavior
Staging should happen a second time without DMV failing.
Screenshots & Snippets
Additional context
We are running MIG operator version 1.5.0. Since I cannot find release notes, I'm not sure if the problem has been addressed in more recent releases.
Log line from oc logs migration-log-reader-657486d85d-mbtd9 -c plain -n openshift-migration| grep '"dvm":"edms-search-dev-staging-23788-8qfgf"'
openshift-migration migration-controller-5ffdb47b68-w9gc2 mtc {"level":"info","ts":1634046512.042396,"logger":"directvolume","msg":"","dvm":"edms-search-dev-staging-23788-8qfgf","migMigration":"edms-search-dev-staging-23788","error":"persistentvolumeclaims \"records-files-claim\" is forbidden: exceeded quota: edms-search-dev, requested: requests.storage=2Ti, used: requests.storage=2Ti, limited: requests.storage=2Ti","stacktrace":"\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*Task).Run()\n\t/opt/app-root/src/github.com/konveyor/mig-controller/pkg/controller/directvolumemigration/task.go:249\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*ReconcileDirectVolumeMigration).migrate()\n\t/opt/app-root/src/github.com/konveyor/mig-controller/pkg/controller/directvolumemigration/migrate.go:39\ngithub.com/konveyor/mig-controller/pkg/controller/directvolumemigration.(*ReconcileDirectVolumeMigration).Reconcile()\n\t/opt/app-root/src/github.com/konveyor/mig-controller/pkg/controller/directvolumemigration/directvolumemigration_controller.go:144\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler()\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem()\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:235\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1()\n\t/opt/app-root/src/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:198\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1()\n\t/opt/app-root/src/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1()\n\t/opt/app-root/src/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil()\n\t/opt/app-root/src/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil()\n\t/opt/app-root/src/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext()\n\t/opt/app-root/src/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext()\n\t/opt/app-root/src/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:99\nruntime.goexit()\n\t/usr/lib/golang/src/runtime/asm_amd64.s:1373"}
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
