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

Handle empty ceph_version in ceph_mon_metadata to avoid raising misleading alert #8947

Merged
merged 1 commit into from Oct 13, 2021

Conversation

GowthamShanmugam
Copy link
Contributor

Without the ceph version, we can't clearly report that the version is different, or that the version is the same.
QE already raised a BZ at the ceph side to fix this. We are adding this not empty check to avoid misreport from other cases also.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1970354

Signed-off-by: Gowtham Shanmugasundaram gshanmug@redhat.com

Description of your changes:

Which issue is resolved by this Pull Request:
Resolves #

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Skip Tests for Docs: Add the flag for skipping the build if this is only a documentation change. See here for the flag.
  • Skip Unrelated Tests: Add a flag to run tests for a specific storage provider. See test options.
  • Reviewed the developer guide on Submitting a Pull Request
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.
  • Pending release notes updated with breaking and/or notable changes, if necessary.
  • Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
  • Code generation (make codegen) has been run to update object specifications, if necessary.

@GowthamShanmugam
Copy link
Contributor Author

ceph/ceph-mixins#92

@@ -32,4 +32,3 @@ spec:
for: 5s
labels:
severity: critical

Copy link
Member

Choose a reason for hiding this comment

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

let's keep the new line

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

@leseb
Copy link
Member

leseb commented Oct 12, 2021

@GowthamShanmugam see the commit lint error.

Signed-off-by: Gowtham Shanmugasundaram <gshanmug@redhat.com>
@leseb leseb merged commit 860e818 into rook:master Oct 13, 2021
leseb added a commit that referenced this pull request Oct 13, 2021
Handle empty ceph_version in ceph_mon_metadata to avoid raising misleading alert (backport #8947)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants