Hide Forgot
Created attachment 1191633 [details] Errors displayed in web console Description of problem Tried to deploy PostgreSQL using the web UI Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Add to project -> Postgresql persistent Actual results: Expected results: Additional info:
I would like to ask which cluster of dev-preview that you experience this issue from? PROD, STG or INT?
PROD https://console.preview.openshift.com/console
Hey Marek, I can't reproduce the issue on PROD. I would like to ask if you can re-try this to see if you still experience the issue. If you do, can you provide the project name so I can ask Ops to look into it. Thanks, Vu
Cleaning up the existing resources $ oc delete all --all deploymentconfig "postgresql" deleted service "postgresql" deleted And trying to recreate Add to Project -> postgresql-persistent -> No changes in configuration -> Clicking Create And I see this message "Cannot create persistent volume claim "postgresql". persistentvolumeclaims "postgresql" already exists." Going back to console and running $ oc delete pvc postgresql persistentvolumeclaim "postgresql" deleted $ oc delete all --all deploymentconfig "postgresql" deleted service "postgresql" deleted pod "postgresql-1-deploy" deleted pod "postgresql-1-fc2pj" deleted And recreating again Add to Project -> postgresql-persistent -> No changes in configuration -> Clicking Create No erros shown, PostgreSQL starts. The problem was that there was some old PVC, that was not cleaned up and was blocking the deployment of the PostgreSQL server. I guess we can close this bug as a storage problem. Question, does it make sense to open bug for "oc delete all --all does not delete pvcs"? is it an intention? it definitely feels very unintuitive to me. thanks
Hey Marek, Thanks for verifying the issue. "oc delete all --all" won't delete PVCs due to the possibility that users may want to reuse the PVCs to or retrieve info from PVs that the PVCs are bounded as well. The thing is as soon as the PVCs are deleted, the PVs will be deleted as well. At the point, there is no way to recover the PVs. Thanks, Vu