Missing dependency on the Oracle Client libraries
Description
The gemos query vfat
command uses the cx_Oracle
Python library to retrieve the VFAT calibration constants from the CMS Oracle DB. The cx_Oracle
Python library requires the presence of the Oracle Client libraries at runtime. They are packages as RPM in either the CERN-only repository or the xDAQ repositories. The former is included in the default search path while the latter requires setting the LD_LIBRARY_PATH
environment variable. A basic default cmsgemos-analysis
RPM installation, such as the one in the CMS cluster, will result in a non-working command.
Possible fixes
Update the cx_Oracle
library to the new python-oracledb
one and try using the new "Thin" mode, which shouldn't require any external dependency. If not working, add a dependency on the Oracle Client libraries to the RPM.