-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
Description of problem:
followed instruction on configuring pre-eisting rhdh instance: https://github.com/redhat-ai-dev/ai-rhdh-installer/blob/d76a33ed90df762915d1625c41b35bbafff3c877/docs/RHDH-CONFIG.md#pre-existing-instance-script-configuration
got error in the pod log:
Loading config from MergedConfigSource{FileConfigSource{path="/opt/app-root/src/app-config.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.example.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.example.production.yaml"}, FileConfigSource{path="/opt/app-root/src/dynamic-plugins-root/app-config.dynamic-plugins.yaml"}, FileConfigSource{path="/opt/app-root/src/default.app-config.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.extra.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.extra.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.extra.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.extra.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.extra.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.extra.yaml"}, FileConfigSource{path="/opt/app-root/src/argocd-config.yaml"}, EnvConfigSource{count=1}}(node:1) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. MaxListeners is 10. Use events.setMaxListeners() to increase limit(Use `node --trace-warnings ...` to show where the warning was created)/opt/app-root/src/node_modules/@backstage/config-loader/dist/index.cjs.js:960throw new errors.NotFoundError(`Config file "${__privateGet$2(this, _path)}" does not exist`);^NotFoundError: Config file "/opt/app-root/src/app-config.extra.yaml" does not existat readConfigFile (/opt/app-root/src/node_modules/@backstage/config-loader/dist/index.cjs.js:960:15)at async _FileConfigSource.readConfigData (/opt/app-root/src/node_modules/@backstage/config-loader/dist/index.cjs.js:981:22)at async Promise.all (index 5)at async _MergedConfigSource.readConfigData (/opt/app-root/src/node_modules/@backstage/config-loader/dist/index.cjs.js:1054:28)at async /opt/app-root/src/node_modules/@backstage/config-loader/dist/index.cjs.js:1496:36 {cause: undefined}Node.js v20.16.0
by-defaul rhdh does not create app-config.extra.yaml under /opt/app-root/src, script cannot assume the file exist
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
# <steps>
Actual results:
Expected results:
Reproducibility (Always/Intermittent/Only Once):
Acceptance criteria:
Definition of Done: