-
Notifications
You must be signed in to change notification settings - Fork 50
Unable to create a pdb: ORDSERROR #127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I called the ORDS REST API directly successfully.
How to configure the pdb CRD to get the same REST API call by the operator? |
it looks like the parameter oracle-database-operator/controllers/database/pdb_controller.go Lines 655 to 686 in 577a467
|
Yes correct it's not working with ords 24.... see the latest version of Dockerfile which uses earlier version |
@mmalvezz which dockerfile are you talking about? |
Please have a look at https://github.com/oracle/oracle-database-operator/blob/main/ords/Dockerfile, just recreate the cdb image usng this one
|
Since a week or so, my ORDS 23.4 cannot connect to my 23ai CDB anymore, TNS Errors (no service specified in connect and no default service configured) |
Let me check on my env with the ords 23.4 and 23ai... ords 24 is not in the roadmap. |
I'm testing ords 23.4 and rdbms 23ai...it works
on database select banner_legacy from v$version;
BANNER_LEGACY
--------------------------------------------------------------------------------
Oracle Database 23ai EE High Perf Release 23.0.0.0.0 - for Oracle Cloud and Engi neered Systems
SQL> select unique(machine) from v$session;
MACHINE
----------------------------------------------------------------
opr
cdb-dev-ords-rs-xqzl9
mmalvezzpcd
kubectl apply -f create_pdb1_resource.yaml
[...]
kubectl get pdb pdb1 -n pdbnamespace
NAME CDB NAME PDB NAME PDB STATE PDB SIZE STATUS MESSAGE CONNECT_STRING
pdb1 DB12 pdbdev READ WRITE 0.96G Ready Success (DESCRIPTION=(CONNECT_TIMEOUT=5)(TRANSPORT_CONNECT_TIMEOUT=3)(RETRY_COUNT=3)(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.40.102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdbdev.vncpod.vcndns.oraclevcn.com))) on database SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDBTEST READ WRITE NO
4 PDBDEV READ WRITE NO |
I think I may have found the problem. I was wondering where You got the TNS connect string from in Your logs. I cannot go back to version 23.4 anymore to test this, so I will wait for the newer OraOperator 1.2 instead to get free from ORDS version dependencies... |
After creating a cdb, by fixing the problems #126, #124, ...
I have a working ORDS server.
When I try to create a pdb, like the examples the pdb is in
status: false
The operator log
The ORDS log is empty.
The pdb CRD
The text was updated successfully, but these errors were encountered: