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

ceph: retry object health check if creation fails (backport #8708) #8760

Merged
merged 1 commit into from Sep 21, 2021

Conversation

BlaineEXE
Copy link
Member

@BlaineEXE BlaineEXE commented Sep 20, 2021

If the CephObjectStore health checker fails to be created, return a
reconcile failure so that the reconcile will be run again and Rook will
retry creating the health checker. This also means that Rook will not
list the CephObjectStore as ready if the health checker can't be
started.

Resolved backport conflicts in the below files:
pkg/operator/ceph/object/controller.go
- revert monitoring routine struct change from 1.7 to master
pkg/operator/ceph/object/controller_test.go
- use master branch's rearchitected test harness

Signed-off-by: Blaine Gardner blaine.gardner@redhat.com
(cherry picked from commit 5383ba2)
backport of #8708

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.

If the CephObjectStore health checker fails to be created, return a
reconcile failure so that the reconcile will be run again and Rook will
retry creating the health checker. This also means that Rook will not
list the CephObjectStore as ready if the health checker can't be
started.

Resolved backport conflicts in the below files:
  pkg/operator/ceph/object/controller.go
    - revert monitoring routine struct change from 1.7 to master
  pkg/operator/ceph/object/controller_test.go
    - use master branch's rearchitected test harness

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5383ba2)
@travisn
Copy link
Member

travisn commented Sep 20, 2021

LGTM, but rerunning the helm suite to confirm if it was an intermittent issue...

leseb
leseb previously requested changes Sep 21, 2021
Copy link
Member

@leseb leseb left a comment

Choose a reason for hiding this comment

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

It looks like the Helm failed again so I re-ran but I think we need to investigate? @BlaineEXE

Copy link
Member

@travisn travisn left a comment

Choose a reason for hiding this comment

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

Helm tests are independent from this, will be fixed with #8780

@travisn travisn dismissed leseb’s stale review September 21, 2021 21:52

Helm tests are separate from this PR

@travisn travisn merged commit c4011c9 into rook:release-1.7 Sep 21, 2021
@BlaineEXE BlaineEXE deleted the bp-8708 branch September 21, 2021 22:08
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

3 participants