Change in ovirt-hosted-engine-ha[v2.1.z]: storage: Added call to repoStats before storage recovery

From Martin Sivák <msivak@redhat.com>:
Martin Sivák has submitted this change and it was merged. ( https://gerrit.ovirt.org/80462 ) Change subject: storage: Added call to repoStats before storage recovery ...................................................................... storage: Added call to repoStats before storage recovery Storage domain recovery procedure is expensive, so it is better to verify domain availability with cheap repoStats call before trying to recover it. Change-Id: I7d662e12f532868ace957bea3f21576796887e50 Bug-Url: https://bugzilla.redhat.com/1479768 Signed-off-by: Denis Chaplygin <dchaplyg@redhat.com> --- M ovirt_hosted_engine_ha/agent/hosted_engine.py M ovirt_hosted_engine_ha/lib/storage_server.py 2 files changed, 28 insertions(+), 2 deletions(-) Approvals: Denis Chaplygin: Verified Martin Sivák: Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/80462 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7d662e12f532868ace957bea3f21576796887e50 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: v2.1.z Gerrit-Owner: Denis Chaplygin <dchaplyg@redhat.com> Gerrit-Reviewer: Andrej Krejcir <akrejcir@redhat.com> Gerrit-Reviewer: Denis Chaplygin <dchaplyg@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfediuck@redhat.com> Gerrit-Reviewer: Greg Padgett <gpadgett@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Jenny Tokar <jtokar@redhat.com> Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Phillip Bailey <phbailey@redhat.com> Gerrit-Reviewer: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Yanir Quinn <yquinn@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review