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

revert PR 8411 - remove ceph crashes after upgrade #8435

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions ocs_ci/ocs/resources/storage_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,8 @@
)
from ocs_ci.utility.retry import retry
from ocs_ci.utility.rgwutils import get_rgw_count
from ocs_ci.utility.utils import (
remove_ceph_crashes,
run_ceph_health_cmd,
run_cmd,
TimeoutSampler,
)
from ocs_ci.utility.utils import run_cmd, TimeoutSampler
from ocs_ci.utility.decorators import switch_to_orig_index_at_last
from time import sleep
from ocs_ci.helpers.helpers import storagecluster_independent_check

log = logging.getLogger(__name__)
Expand Down Expand Up @@ -649,19 +643,6 @@ def ocs_install_verification(
health_check_tries = 20
health_check_delay = 30
if post_upgrade_verification:
# remove ceph crashes after upgrade due to bug https://bugzilla.redhat.com/show_bug.cgi?id=2233762
# and https://bugzilla.redhat.com/show_bug.cgi?id=2237861
log.info(
"Sleeping for 600 seconds to allow crash reports to report to ceph health"
)
sleep(600)
ceph_health = run_ceph_health_cmd(
namespace=config.ENV_DATA["cluster_namespace"]
)
if "daemons have recently crashed" in ceph_health:
# remove crashes on ceph
remove_ceph_crashes(ct_pod)

# In case of upgrade with FIO we have to wait longer time to see
# health OK. See discussion in BZ:
# https://bugzilla.redhat.com/show_bug.cgi?id=1817727
Expand Down
Loading