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

Provider Mode: Object Dashboard: fix RGW performance card #1489

Merged

Conversation

alfonsomthd
Copy link
Collaborator

@alfonsomthd alfonsomthd commented Jul 24, 2024

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2276393

  • Also fixed: occasional crashes related to wrong date values in metric data points.

BEFORE: page crash when selecting Object Gateway (RGW) on Performance Card (Object Dashboard)
AFTER:
Screenshot from 2024-07-24 12-37-38
image

@@ -219,7 +219,7 @@ const ServiceTypeRGW: React.FC<ServiceTypeProps> = ({ queries, metric }) => {
const loading = getLoading || putLoading;
const error = !!getError || !!putError;
const data = !!get && !!put;
const response: Response = React.useMemo(() => {
const response: DataPoint<Date>[][] = React.useMemo(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to test this with multiple versions before backporting for now this is working but the reason this chart is failing is because the data structure suddenly changed in the metrics.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@bipuladh This has been tested with a 4.16 BM cluster (the same version as in the reported issue) so we're safe backporting to 4.16.
Do we need to backport this to 4.15?

Copy link
Contributor

openshift-ci bot commented Jul 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alfonsomthd, bipuladh

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-merge-bot openshift-merge-bot bot merged commit b0ce957 into red-hat-storage:master Jul 25, 2024
5 checks passed
@alfonsomthd
Copy link
Collaborator Author

/cherry-pick release-4.16

@openshift-cherrypick-robot

@alfonsomthd: new pull request created: #1503

In response to this:

/cherry-pick release-4.16

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.

@alfonsomthd
Copy link
Collaborator Author

/cherry-pick release-4.16-compatibility

@openshift-cherrypick-robot

@alfonsomthd: new pull request created: #1504

In response to this:

/cherry-pick release-4.16-compatibility

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.

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

Successfully merging this pull request may close these issues.

4 participants