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

Bug 1925408: Remove StatefulSet gatherer & replace it with gathering "cluster-mon… #329

Merged
merged 5 commits into from Feb 5, 2021

Conversation

tremes
Copy link
Contributor

@tremes tremes commented Feb 1, 2021

…itoring-config" config map

This removes original StatefulSet gatherer. The information can be obtained from cluster-monitoring-config config map.

Categories

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

Sample archive

TODO

Documentation

TODO

Unit Tests

No new test

Privacy

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

Changelog

References

https://issues.redhat.com/browse/CCXDEV-3970
https://issues.redhat.com/browse/INSIGHTOCP-51
https://bugzilla.redhat.com/show_bug.cgi?id=???
https://access.redhat.com/solutions/???

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 1, 2021
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2021
@0sewa0
Copy link
Contributor

0sewa0 commented Feb 2, 2021

would it make sense to have the stateful-set gathering in its own file and its own gathering function ?

@tremes
Copy link
Contributor Author

tremes commented Feb 2, 2021

@0sewa0 We don't need StatefulSet gathering for anything as far as I know.

@0sewa0
Copy link
Contributor

0sewa0 commented Feb 2, 2021

@tremes I meant the gatherMonitoringCM part

@tremes
Copy link
Contributor Author

tremes commented Feb 2, 2021

@0sewa0 gatherMonitoringCM is gathering just another configmap. I can't see any advantage of having it in its own file TBH. I think it's better to keep gatherting of the same resources in one gatherer if possbile. I guess I don't want to have e.g config_maps_1.go for let's say config maps from openshift-config namespace and config_maps_2.go for config maps from some other namespace.

@0sewa0
Copy link
Contributor

0sewa0 commented Feb 2, 2021

@tremes that makes sense, thx :)
the code looks good, maybe the names at https://github.com/openshift/insights-operator/pull/329/files#diff-384b761d21c5b0abe263caf445c6c026d977784e53da51915369f8daf39e4d6dR37 could use an update to something similar 1 line under that

@tremes tremes changed the title WIP Remove StatefulSet gatherer & replace it with gathering "cluster-mon… Remove StatefulSet gatherer & replace it with gathering "cluster-mon… Feb 3, 2021
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 3, 2021
@tremes
Copy link
Contributor Author

tremes commented Feb 4, 2021

/test e2e-gcp-upgrade

Copy link
Contributor

@natiiix natiiix left a comment

Choose a reason for hiding this comment

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

Tested locally against a shared OCP 4.6 cluster on QuickLab.

The gathered archive contained the config/configmaps/openshift-monitoring/cluster-monitoring-config/config.json file as advertised.

/lgtm

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: natiiix, 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

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 4, 2021
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@tremes tremes changed the title Remove StatefulSet gatherer & replace it with gathering "cluster-mon… Bug 1925408: Remove StatefulSet gatherer & replace it with gathering "cluster-mon… Feb 5, 2021
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. label Feb 5, 2021
@openshift-ci-robot
Copy link
Contributor

@tremes: This pull request references Bugzilla bug 1925408, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

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

In response to this:

Bug 1925408: Remove StatefulSet gatherer & replace it with gathering "cluster-mon…

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-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Feb 5, 2021
@openshift-merge-robot openshift-merge-robot merged commit f775f04 into openshift:master Feb 5, 2021
@openshift-ci-robot
Copy link
Contributor

@tremes: All pull requests linked via external trackers have merged:

Bugzilla bug 1925408 has been moved to the MODIFIED state.

In response to this:

Bug 1925408: Remove StatefulSet gatherer & replace it with gathering "cluster-mon…

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.

@tremes tremes deleted the configmap_update branch August 22, 2023 12:08
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. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants