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

CCXDEV-9905: Introduce a new config option for storing archives to persistent volume #1070

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

opokornyy
Copy link
Contributor

This PR adds a new config option for user to specify PVC name where archives produced by on-demand gathering jobs will be stored. It also introduces a cleanup job that removes old archives from the persistent volume.

Categories

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

Sample Archive

None

Documentation

None

Unit Tests

  • pkg/controller/periodic/job_test.go

Privacy

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

Changelog

Breaking Changes

No

References

https://issues.redhat.com/browse/CCXDEV-9905

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 29, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 29, 2025

@opokornyy: This pull request references CCXDEV-9905 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

This PR adds a new config option for user to specify PVC name where archives produced by on-demand gathering jobs will be stored. It also introduces a cleanup job that removes old archives from the persistent volume.

Categories

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

Sample Archive

None

Documentation

None

Unit Tests

  • pkg/controller/periodic/job_test.go

Privacy

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

Changelog

Breaking Changes

No

References

https://issues.redhat.com/browse/CCXDEV-9905

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 openshift-ci bot requested review from ncaak and tremes January 29, 2025 14:33
Copy link

openshift-ci bot commented Jan 29, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: opokornyy

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

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

/test ci/prow/e2e-gcp-ovn-techpreview

Copy link

openshift-ci bot commented Feb 7, 2025

@opokornyy: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test e2e
/test e2e-agnostic-upgrade
/test e2e-gcp-ovn-techpreview
/test images
/test insights-operator-e2e-tests
/test lint
/test unit

The following commands are available to trigger optional jobs:

/test e2e-metal-ipi-ovn-ipv6
/test okd-scos-e2e-aws-ovn
/test okd-scos-images

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-insights-operator-master-e2e
pull-ci-openshift-insights-operator-master-e2e-agnostic-upgrade
pull-ci-openshift-insights-operator-master-e2e-gcp-ovn-techpreview
pull-ci-openshift-insights-operator-master-e2e-metal-ipi-ovn-ipv6
pull-ci-openshift-insights-operator-master-images
pull-ci-openshift-insights-operator-master-insights-operator-e2e-tests
pull-ci-openshift-insights-operator-master-lint
pull-ci-openshift-insights-operator-master-okd-scos-e2e-aws-ovn
pull-ci-openshift-insights-operator-master-unit

In response to this:

/test ci/prow/e2e-gcp-ovn-techpreview

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.

@opokornyy
Copy link
Contributor Author

/test e2e-gcp-ovn-techpreview

1 similar comment
@opokornyy
Copy link
Contributor Author

/test e2e-gcp-ovn-techpreview

@opokornyy opokornyy marked this pull request as draft February 14, 2025 13:02
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 14, 2025
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 25, 2025
This commit adds new field to the config map that
allows users to specify PVC that should be used to
store archives created by on-demand gathering.

Signed-off-by: Ondrej Pokorny <[email protected]>
This commit implements clean up of archives stored
by on-demand gathering in the persistent volume.

Signed-off-by: Ondrej Pokorny <[email protected]>
Signed-off-by: Ondrej Pokorny <[email protected]>
Signed-off-by: Ondrej Pokorny <[email protected]>
Signed-off-by: Ondrej Pokorny <[email protected]>
Signed-off-by: Ondrej Pokorny <[email protected]>
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 6, 2025
@opokornyy opokornyy force-pushed the CCX9905-pv branch 3 times, most recently from dd58324 to 94805e0 Compare March 6, 2025 14:57
@opokornyy opokornyy marked this pull request as ready for review March 7, 2025 14:21
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 7, 2025
@BaiyangZhou
Copy link

/test insights-operator-e2e-tests

This commit is removing the code duplication in a
runGather and runaGatherAndUpload functions.

Signed-off-by: Ondrej Pokorny <[email protected]>
mountPath: /data
persistentVolume:
claim:
name: on-demand-gather-pvc
Copy link
Contributor

Choose a reason for hiding this comment

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

why are the two resources here? They shouldn't be here - we don't want the CVO to create them.

@BaiyangZhou
Copy link

/retest

Copy link

openshift-ci bot commented Mar 12, 2025

@opokornyy: The following tests 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/prow/e2e-agnostic-upgrade a64d738 link true /test e2e-agnostic-upgrade
ci/prow/lint a64d738 link true /test lint
ci/prow/e2e-gcp-ovn-techpreview a64d738 link true /test e2e-gcp-ovn-techpreview

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

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-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants