oracle-database-operator icon indicating copy to clipboard operation
oracle-database-operator copied to clipboard

OracleRestDataService does not work with more recent versions of ORDS

Open ilfur opened this issue 1 year ago • 1 comments

Its a problem with the SIDB part of OraOperator. I was only able to run specific ORDS container versions up to about 21.x as a OracleRestDataService resource. Using newer versions of ORDS (like the recent ORDS 23.3) fails, the ORDS container only gets to an error message complaining about config files. I believe the path structure has changed a bit inside ORDS, the "config" directory may have been renamed to "databases". Please make OracleRestDataService work with more recent versions of ORDS images.

Best regards! Marcel

ilfur avatar Jan 23 '24 13:01 ilfur

I've managed to get it working up to version 23.4.0 by changing one line in runOrdsSSL.sh. Any newer version (namely 24.x) has breaking API changes and should not work with current implementation (at least so far it has always returned ORDS ERROR, so I've decided to just wait for newer operator release that explicitly supports it).

I've changed this line: NOT_INSTALLED=`$ORDS --config $CONFIG config list | grep "INFO: The" |wc -l ` Into this line: NOT_INSTALLED=`$ORDS --config $CONFIG config list 2>&1 | grep "INFO: The" | wc -l `

Without redirected output (2>&1) grep & wc -l always returned 0, thus never creating configuration for ords.

peter6667 avatar May 17 '24 06:05 peter6667

same problem here. can someone take care?

rbaumgar avatar Aug 21 '24 12:08 rbaumgar