Bug 1783750

Summary: Block upgrade if there's a risk of running out of space (say, any brick / volume is @ >90% full capacity)
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Yaniv Kaul <ykaul>
Component: rhhiAssignee: Ritesh Chikatwar <rchikatw>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: rhhiv-1.7CC: dwalveka, godas, pasik, rchikatw, rhs-bugs, sabose
Target Milestone: ---Keywords: ZStream
Target Release: RHHI-V 1.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Cluster upgrades now require at least 10 percent free space on gluster disks in order to reduce the risk of running out of space mid-upgrade.
Story Points: ---
Clone Of:
: 1814966 (view as bug list) Environment:
Last Closed: 2020-08-04 14:50:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1814966    
Bug Blocks: 1779975    

Description Yaniv Kaul 2019-12-15 09:39:44 UTC
Description of problem:
We should strive not to upgrade while we are near full capacity, as during the upgrade we might run out of capacity.
We can set it at 90% or 95% or whatnot, but still - very high capacity and running out of space at this point is a bit dangerous.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Yaniv Kaul 2019-12-28 16:12:06 UTC
The idea is to block it when Ansible runs the upgrade.

Comment 3 Yaniv Kaul 2019-12-28 16:13:52 UTC
*** Bug 1783751 has been marked as a duplicate of this bug. ***

Comment 4 Sahina Bose 2020-01-23 09:36:30 UTC
Ritesh, can this be added as a pre-check to the ansible upgrade role?

Comment 6 Ritesh Chikatwar 2020-01-27 12:25:59 UTC
Sahina, Yes this is possible i will make changes accordingly.

Comment 8 SATHEESARAN 2020-07-15 19:07:27 UTC
Verified with RHV manager version 4.4.1, when the used space of the storage domain is above 90%, upgrade cluster 
initiated from RHV Manager UI fails with error "Cluster Default upgrade failed. Host disk is running low space on gluster volume(s): vmstore."

Comment 12 errata-xmlrpc 2020-08-04 14:50:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (RHHI for Virtualization 1.8 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:3314