Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2177

pre-existing instance RHDH failed to start after configure due to missing app-config.extra

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Lightspeed
    • False
    • Hide

      None

      Show
      None
    • 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:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              Unassigned Unassigned
              yangcao Stephanie Cao
              RHDHPAI - DevAI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: