Skip to content

Conversation

@Miciah
Copy link
Contributor

@Miciah Miciah commented Sep 10, 2025

Fix a syntax error in the command to get config-resources.json.

Before this commit, gather-extra-commands.sh produced an empty config-resources.json file and the following error messages:

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

These errors are caused by missing commas, which cause the oc get command to treat the resource names listed after the apiservers resource as object names under the apiservers resource.

This commit adds the missing commas, so that the oc get command gets the listed resources and store them in config-resources.json.

Follow-up to #5962.

Fix a syntax error in the command to get config-resources.json.

Before this commit, gather-extra-commands.sh produced an empty
config-resources.json file and the following error messages:

    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

These errors are caused by missing commas, which cause the oc get
command to treat the resource names listed after the apiservers resource
as object names under the apiservers resource.

This commit adds the missing commas, so that the oc get command gets the
listed resources and store them in config-resources.json.

This commit fixes OCPBUGS-61521.

https://issues.redhat.com/browse/OCPBUGS-61521

Follow-up to commit 23ca2ce.

ci-operator/step-registry/gather/extra/gather-extra-commands.sh: Add
missing commas in the oc get command for config-resources.json
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Sep 10, 2025
@openshift-ci-robot
Copy link
Contributor

@Miciah: This pull request references Jira Issue OCPBUGS-61521, which is invalid:

  • expected the bug to target the "4.21.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Fix a syntax error in the command to get config-resources.json.

Before this commit, gather-extra-commands.sh produced an empty config-resources.json file and the following error messages:

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

These errors are caused by missing commas, which cause the oc get command to treat the resource names listed after the apiservers resource as object names under the apiservers resource.

This commit adds the missing commas, so that the oc get command gets the listed resources and store them in config-resources.json.

Follow-up to #5962.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Sep 10, 2025
@openshift-ci openshift-ci bot requested review from smg247 and xueqzhan September 10, 2025 21:44
@Miciah
Copy link
Contributor Author

Miciah commented Sep 10, 2025

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Sep 10, 2025
@openshift-ci-robot
Copy link
Contributor

@Miciah: This pull request references Jira Issue OCPBUGS-61521, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.0) matches configured target version for branch (4.21.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Sep 10, 2025
@Miciah
Copy link
Contributor Author

Miciah commented Sep 10, 2025

/pj-rehearse pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator

@openshift-ci-robot
Copy link
Contributor

@Miciah: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Miciah
Copy link
Contributor Author

Miciah commented Sep 11, 2025

/pj-rehearse pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator

@openshift-ci-robot
Copy link
Contributor

@Miciah: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 11, 2025

@Miciah: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/openshift/cluster-ingress-operator/master/e2e-aws-operator 4489053 link unknown /pj-rehearse pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Miciah
Copy link
Contributor Author

Miciah commented Sep 19, 2025

https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/69141/rehearse-69141-pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator/1966146330942246912 has the expected results:

  • config-resources.json is not empty.
  • build-log.txt for the gather-extra step no longer has the Error from server (NotFound): apiservers.config.openshift.io "[...].config.openshift.io" not found> errors.

@Miciah
Copy link
Contributor Author

Miciah commented Oct 6, 2025

@dgoodwin, this is a simple change to fix some consistent errors in gather-extra. Do you or our team have capacity to review it?

@Miciah
Copy link
Contributor Author

Miciah commented Oct 15, 2025

@vrutkovs, can you review this PR please?

Copy link
Contributor

@vrutkovs vrutkovs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 15, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Miciah, vrutkovs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 15, 2025
@Miciah
Copy link
Contributor Author

Miciah commented Oct 17, 2025

/pj-rehearse ack
per #69141 (comment).

@openshift-ci-robot
Copy link
Contributor

@Miciah: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Oct 17, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 31b2102 into openshift:master Oct 17, 2025
10 of 11 checks passed
@openshift-ci-robot
Copy link
Contributor

@Miciah: Jira Issue OCPBUGS-61521: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-61521 has been moved to the MODIFIED state.

Details

In response to this:

Fix a syntax error in the command to get config-resources.json.

Before this commit, gather-extra-commands.sh produced an empty config-resources.json file and the following error messages:

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

These errors are caused by missing commas, which cause the oc get command to treat the resource names listed after the apiservers resource as object names under the apiservers resource.

This commit adds the missing commas, so that the oc get command gets the listed resources and store them in config-resources.json.

Follow-up to #5962.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants