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

[RDR] Enable ACM observability for DR monitoring dashboard on RHACM console #9646

Merged
merged 32 commits into from
Aug 6, 2024

Conversation

am-agrawa
Copy link
Contributor

@am-agrawa am-agrawa commented Apr 6, 2024

Whitelist RDB metrics and enable ACM observability to access DR monitoring dashboard on the RHACM console.

Also fixes #9622

@am-agrawa am-agrawa self-assigned this Apr 6, 2024
@am-agrawa am-agrawa requested a review from a team as a code owner April 6, 2024 19:25
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Apr 6, 2024
@prsurve prsurve added the DR Metro and Regional DR related PRs label May 13, 2024
name: thanos-object-storage
receiveStorageSize: 100Gi
ruleStorageSize: 1Gi
storageClass: thin-csi-odf
Copy link
Contributor

Choose a reason for hiding this comment

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

This value should be configurable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@am-agrawa am-agrawa force-pushed the monitoring_dashboard branch from 0b7a1ea to 1c694b1 Compare May 17, 2024 10:46
@am-agrawa am-agrawa force-pushed the monitoring_dashboard branch from 333a385 to 68a227f Compare May 17, 2024 11:10
@am-agrawa am-agrawa requested a review from a team May 17, 2024 11:31
@am-agrawa
Copy link
Contributor Author

Passed here- https://url.corp.redhat.com/d200c31

@am-agrawa am-agrawa added the Verified Mark when PR was verified and log provided label Jul 31, 2024
@openshift-ci openshift-ci bot removed the lgtm label Aug 5, 2024
prsurve
prsurve previously approved these changes Aug 6, 2024
@openshift-ci openshift-ci bot added the lgtm label Aug 6, 2024
logger.info(
"Creating thanos.yaml needed for ACM observability after passing required params"
)
run_cmd(f"oc create -f {thanos_data_yaml.name}")
Copy link
Contributor

Choose a reason for hiding this comment

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

run_cmd is a deprecated form of exec_cmd, we need to change replace it here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

"""

acm_observability_status = bool(
run_cmd(
Copy link
Contributor

Choose a reason for hiding this comment

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

run_cmd is a deprecated form of exec_cmd, we need to change replace it here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

multiclusterobservability_data_yaml.name,
)

run_cmd(f"oc create -f {multiclusterobservability_data_yaml.name}")
Copy link
Contributor

Choose a reason for hiding this comment

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

run_cmd is a deprecated form of exec_cmd, we need to change replace it here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

logger.info(
"Add label for cluster-monitoring needed to fire VolumeSyncronizationDelayAlert on the Hub cluster"
)
run_cmd(
Copy link
Contributor

Choose a reason for hiding this comment

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

run_cmd is a deprecated form of exec_cmd, we need to change replace it here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

self.thanos_secret()

logger.info("Whitelist RBD metrics by creating configmap")
run_cmd(f"oc create -f {constants.OBSERVABILITYMETRICSCONFIGMAP_PATH}")
Copy link
Contributor

Choose a reason for hiding this comment

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

run_cmd is a deprecated form of exec_cmd, we need to change replace it here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

DanielOsypenko
DanielOsypenko previously approved these changes Aug 6, 2024
Signed-off-by: am-agrawa <[email protected]>
@openshift-ci openshift-ci bot added the lgtm label Aug 6, 2024
Copy link

openshift-ci bot commented Aug 6, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: am-agrawa, ebondare, keesturam, sidhant-agrawal

The full list of commands accepted by this bot can be found 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

@keesturam keesturam merged commit 21d85b9 into master Aug 6, 2024
5 of 6 checks passed
@am-agrawa
Copy link
Contributor Author

/cherry-pick release-4.16

@openshift-cherrypick-robot
Copy link
Collaborator

@am-agrawa: new pull request created: #10261

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DR Metro and Regional DR related PRs lgtm size/L PR that changes 100-499 lines Squad/Turquoise Verified Mark when PR was verified and log provided
Projects
None yet
8 participants