Description of problem: As mention in ticket https://bugzilla.redhat.com/show_bug.cgi?id=1787371, this ticket is to track the fix on the next releases of OCS 3.11.z Version-Release number of selected component (if applicable): OCS 3.11.4
Problem Statement: gluster-block-target.service fails to start, after upgrading because there is an empty block config file. The empty config file was created because of the genconfig failure, which runs after every upgrade. Version: All OCS versions Root Cause: The genconfig was failing in case if there are more than 6 Block Hosting Volumes (BHVs). This is because the genconfig cli rpc buffer holding BHV list is static now and is set to hold only 255 chars only. Fix Status: Merged upstream. Very small change, fix the buffer size to allocate dynamically. Is this a regression: No, it's there since the introduction of genconfig feature i.e from rhgs-3.3.1 release of gluster-block. How to test the changes: Note this is only the cli side change around genconfig command and hence it doesn't affect other commands workflow. From my review, this change will not lead to any regressions. The test would be to run genconfig with more than 6 BHV's i.e '# gluster-block genconfig <BHV1, BHV2.....BHVn> enable-tpg <IP>'
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, 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/RHBA-2020:0621