gluent / goe

GOE: a simple and flexible way to copy data from an Oracle Database to Google BigQuery.
Apache License 2.0
8 stars 2 forks source link

Update connect version checks #64

Closed nj1973 closed 6 months ago

nj1973 commented 8 months ago

Connect is currently reporting two problems which are no longer problems:

Oracle version Oracle 10.2 is now supported (we haven't tested 10.1 or prior):

Oracle version
10.2.0.1.0
Oracle version Failed

Linux Debian is supported, we are no longer limited to Red Hat variants:

Operating system version
Unsupported operating system
Operating system version Failed

I think the file we need to interrogate on Debian is /etc/os-release. I've not thought about how we pick our supported versions, likewise for Red Hat based releases. This might link into how we build and pick Python package versions which could become complex. So perhaps for now we test on a recent-ish release and at least get a line in the sand.

offload.env I don't think we need to worry about offload.env permissions since we became Offload only.

Configuration file permissions
/home/neiljohnson_google_com/goe/offload/conf/offload.env has permissions: 755
Configuration file permissions Warning
Expected permissions are 640
nj1973 commented 8 months ago

Another thing to improve is the Gluent Listener check. The listener is broken in the first release but will be brought back to life at some point. The default settings in offload.env are triggering connect to check the listener:

Gluent Enterprise Listener
No module named 'gluentlib_contrib'
Gluent Enterprise Listener Failed

We should either change the default listener settings to be truly disabled or disable the check in connect.