Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-61521

gather-extra produces empty config-resources.json

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • premerge
    • Test Framework
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • Moderate
    • None
    • None
    • None
    • NI&D Sprint 277
    • 1
    • In Progress
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem

      The gather-extra step produces an empty config-resources.json file, as a result of a syntax error in gather-extra-commands.sh.

      Version-Release number of selected component (if applicable)

      The command with the syntax error was introduced in https://github.com/openshift/release/pull/5962/commits/23ca2ce5365cb5e72345ef9109c6933d5b061126, merged Dec 2, 2019.

      How reproducible

      100%.

      Steps to Reproduce

      1. Go to the CI artifacts for a CI job that runs the gather-extra step. Example job: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-ingress-operator/1279/pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator/1965816471716106240
      2. Check config-resources.json.
      3. Check build-log.txt.

      Actual results

      config-resources.json is empty, and build-log.txt has these errors:

      Error from server (NotFound): apiservers.config.openshift.io "authentication.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "build.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "console.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "dns.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "featuregate.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "image.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "infrastructure.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "ingress.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "network.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "oauth.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "project.config.openshift.io" not found
      Error from server (NotFound): apiservers.config.openshift.io "scheduler.config.openshift.io" not found
      

      Expected results

      config-resources.json contains the resources mentioned in the error messages: authentication.config.openshift.io, build.config.openshift.io, and so on.

      build-log.txt should not have the cited error messages.

              mmasters1@redhat.com Miciah Masters
              mmasters1@redhat.com Miciah Masters
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: