oracle-database-operator: message "Fail to watch resource..." after applying operator yaml file
I am trying to create a Multitenant CDB using the Oracle Database Operator following the guide: Use Case 03 - Create a CDB with ORDS
However, I am facing a circular dependency issue:
The CDB (with ORDS Image 23.4) is stuck in ValidatingPods status, waiting for the ORDS Pod to be ready.
The CDB (with ORDS Image 23.4) status remains stuck at:
STATUS: ValidatingPods
MESSAGE: Waiting for ORDS Pod(s) to be ready
But i can connect to the ORDS Pod, ORDS works also, but my CDB has the STATUS: ValidatingPods and MESSAGE: Waiting for ORDS Pod(s) to be ready.
Is the Namespace name of the CDB important, or can i use a name i want?
The Database Operator try to get a url, with localhost, but ords cant reach with localhost, or?
2025-03-13T08:51:42Z INFO bash -c curl --cert /opt/oracle/ords/secrets/tls.crt --key /opt/oracle/ords/secrets/tls.key -sSkv -k -X GET https://localhost:8888/ords/_/db-api/stable/metadata-catalog/ || curl --cert /opt/oracle/ords/secrets/tls.crt --key /opt/oracle/ords/secrets/tls.key -sSkv -X GET http://localhost:8888/ords/_/db-api/stable/metadata-catalog/ {"controller": "cdb", "controllerGroup": "database.oracle.com", "controllerKind": "CDB", "CDB": {"name":"cdb-dev","namespace":"cdb-19c"}, "namespace": "cdb-19c", "name": "cdb-dev", "reconcileID": "bdd9bcdd-7be0-43ca-ad63-c01e6f9bf554", "ExecCommand": {"name":"cdb-dev","namespace":"cdb-19c"}}
bash on database operator, i can curl the ords url, i get a json answer
curl -k -v https://cdb-dev-ords.cdb-19c:8888/ords/_/db-api/stable/metadata-catalog/
Any ideas, what im doing wrong?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (10 by maintainers)
Thank you good catch !!! we are working on that - I’m just about to change the title ; this is not a controller issue