Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-16017: update DataGather CR status in case of job failure #809

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

tremes
Copy link
Contributor

@tremes tremes commented Jul 24, 2023

This is only for TechPreview and it updates the DataGather custom resource status in case of failure. The datagather_conditions.go file has been renamed to datagather_status.go and some functions were moved there (to be able to reuse them easily).

Steps to verify:

  1. Get TechPreview cluster
  2. Switch to openshift-insights namespace
  3. Wait for some periodic-gathering to happen and delete the Pod when it's running
  4. Check the corresponding DataGather custom resource with the same name

Categories

  • Bugfix
  • Data Enhancement
  • Feature
  • Backporting
  • Others (CI, Infrastructure, Documentation)

Sample Archive

  • no new data

Documentation

Unit Tests

  • pkg/controller/status/datagather_status_test.go

Privacy

Yes. There are no sensitive data in the newly collected information.

Changelog

Breaking Changes

No

References

https://issues.redhat.com/browse/OCPBUGS-16017
https://access.redhat.com/solutions/???

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Jul 24, 2023
@openshift-ci-robot
Copy link
Contributor

@tremes: This pull request references Jira Issue OCPBUGS-16017, 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.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @JoaoFula

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

In response to this:

This is only for TechPreview and it updates the DataGather custom resource status in case of failure. The datagather_conditions.go file has been renamed to datagather_status.go and some functions were moved there (to be able to reuse them easily).

Steps to verify:

  1. Get TechPreview cluster
  2. Switch to openshift-insights namespace
  3. Wait for some periodic-gathering to happen and delete the Pod when it's running
  4. Check the corresponding DataGather custom resource with the same name

Categories

  • Bugfix
  • Data Enhancement
  • Feature
  • Backporting
  • Others (CI, Infrastructure, Documentation)

Sample Archive

  • no new data

Documentation

Unit Tests

  • pkg/controller/status/datagather_status_test.go

Privacy

Yes. There are no sensitive data in the newly collected information.

Changelog

Breaking Changes

No

References

https://issues.redhat.com/browse/OCPBUGS-16017
https://access.redhat.com/solutions/???

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/test-infra repository.

@openshift-ci openshift-ci bot requested review from JoaoFula, ncaak and rhrmo July 24, 2023 12:19
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 24, 2023
@tremes
Copy link
Contributor Author

tremes commented Jul 24, 2023

/retest

Copy link
Contributor

@ncaak ncaak left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jul 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ncaak, tremes

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

The pull request process is described here

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

@ncaak
Copy link
Contributor

ncaak commented Jul 26, 2023

/retest

@openshift-ci
Copy link

openshift-ci bot commented Jul 26, 2023

@tremes: all tests passed!

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@tremes
Copy link
Contributor Author

tremes commented Jul 26, 2023

bugs should not require the qe-approved label. We need to fix it.
/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Jul 26, 2023
@openshift-merge-robot openshift-merge-robot merged commit 0338819 into openshift:master Jul 26, 2023
@openshift-ci-robot
Copy link
Contributor

@tremes: Jira Issue OCPBUGS-16017: All pull requests linked via external trackers have merged:

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

In response to this:

This is only for TechPreview and it updates the DataGather custom resource status in case of failure. The datagather_conditions.go file has been renamed to datagather_status.go and some functions were moved there (to be able to reuse them easily).

Steps to verify:

  1. Get TechPreview cluster
  2. Switch to openshift-insights namespace
  3. Wait for some periodic-gathering to happen and delete the Pod when it's running
  4. Check the corresponding DataGather custom resource with the same name

Categories

  • Bugfix
  • Data Enhancement
  • Feature
  • Backporting
  • Others (CI, Infrastructure, Documentation)

Sample Archive

  • no new data

Documentation

Unit Tests

  • pkg/controller/status/datagather_status_test.go

Privacy

Yes. There are no sensitive data in the newly collected information.

Changelog

Breaking Changes

No

References

https://issues.redhat.com/browse/OCPBUGS-16017
https://access.redhat.com/solutions/???

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/test-infra repository.

JoaoFula pushed a commit to JoaoFula/insights-operator that referenced this pull request Jan 23, 2024
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/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. qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants