Skip to content

Ords container complains about CONN_STRING_FILE #2984

Open
@artm

Description

@artm

When attempting to run ords container in kuberntes the container complains at start up:

ERROR: CONN_STRING_FILE has not added, create a file with CONN_STRING variable and added as docker volume:
          mkdir volume ; echo 'CONN_STRING=user/password@hostname:port/service_name' > volume/conn_string.txt

This requirement isn't documented at https://container-registry.oracle.com/ords/ocr/ba/database/ords . The error message is ungrammatical. And it doesn't explain where the image expects the file (where the voulume is supposed to be mounted).

All the information in the conn string is already supplied to the container via the documented environment variables DBHOST, DBPORT, DBSERVICENAME and ORACLE_PWD. The image doesn't need the file as well. Having a dummy volume must not be a requirement for running a container.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions