Bug 1639253
Summary: | When OCS is deployed with management encryption enabled, block device creation failures are observed. | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rachael <rgeorge> |
Component: | rhgs-server-container | Assignee: | Saravanakumar <sarumuga> |
Status: | CLOSED ERRATA | QA Contact: | vinutha <vinug> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | ocs-3.11 | CC: | hchiramm, knarra, kramdoss, madam, rhs-bugs, rtalur, sankarshan, sselvan, vinug |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | OCS 3.11.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ocs/rhgs-server-rhel7:3.11.1-2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-02-07 04:12:47 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: | 1662298 | ||
Bug Blocks: | 1640001, 1641915, 1644154 |
Description
Rachael
2018-10-15 11:55:29 UTC
providing qa_ack to take this bug into 3.11.1 As the error message says, the volume create failed because gluster-block group option file did not exist on the node/pod. The script does the following things 1. it always copies hooks and groups dir 2. it copies all dirs if there are no files in the bind mount 3. it checks for existence of the files in bind mount using ls The sosreports attached don't have any logging from gluster-setup.sh script. Also, they have the hooks dir but not the groups dir in the sosreport. I think it is still a case of copy logic gone wrong in the script. (In reply to Raghavendra Talur from comment #9) > As the error message says, the volume create failed because gluster-block > group option file did not exist on the node/pod. > > The script does the following things > 1. it always copies hooks and groups dir Thanks Talur. identified issue while doing groups directory copying. So, we have in code: << cp -r ${i}_bkp/hooks/* ${i}/hooks/ << cp -r ${i}_bkp/groups/* ${i}/groups While doing hooks directory copy from backup, it worked fine as the content it had is a directory (named "1"). While doing groups directory copy from backup, it *fails* as the content it had is files. copy operation fails with "cp: target '/tmp/groups/' is not a directory". Better way to copy here is using: cp -a -f ${i}_bkp/groups/* ${i}/groups (should be done for hooks as well) I will update this in the script, gluster-setup.sh 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/RHEA-2019:0287 |