Open JoaoBraveCoding opened 2 years ago
Thanks for the report. This is an open issue that we need to handle.
For anyone curious about the root cause, here is why this is happening:
AlreadyExists
errorAlreadyExists
the apiserver returns forbidden: exceeded quota
Instead of depending on apiserver error to assert if the PVC exists, DVM controller needs to make an explicit get call to see if the PVC exists. The part of error handling that is leading to this error is here
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:
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"'