Bug 1393970
| Summary: | gdeploy: nfs-ganesha cluster creation fails while copying ganesha config files to shared storage | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Arthy Loganathan <aloganat> |
| Component: | gdeploy | Assignee: | Sachidananda Urs <surs> |
| Status: | CLOSED ERRATA | QA Contact: | Arthy Loganathan <aloganat> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.2 | CC: | aloganat, rhinduja, rhs-bugs, smohan, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | RHGS 3.2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gdeploy-2.0.1-4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-23 05:08:54 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: | |||
| Bug Blocks: | 1351528 | ||
Arthy can you please double check if the proposed solution of making changes only in master_node work? I ran ganesha setup thrice with the proposed solution and its passed. Commit: https://github.com/gluster/gdeploy/pull/216/commits/c90489babe fixes the issue. Verified the fix in build, gdeploy-2.0.1-4.el7rhgs.noarch 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://rhn.redhat.com/errata/RHEA-2017-0482.html |
Description of problem: nfs-ganesha cluster creation fails while copying ganesha config files to shared storage Version-Release number of selected component (if applicable): gdeploy-2.0.1-3.el7rhgs.noarch How reproducible: Always Steps to Reproduce: 1. Setup nfs-ganesha using gdeploy. Actual results: nfs-ganesha cluster creation fails while copying ganesha config files to shared storage Expected results: nfs-ganesha cluster should get created successfully. Additional info: Getting two types of errors: 1) TASK [Creating ganesha-ha.conf file] ******************************************* changed: [dhcp46-111.lab.eng.blr.redhat.com] changed: [dhcp46-139.lab.eng.blr.redhat.com] changed: [dhcp46-124.lab.eng.blr.redhat.com] fatal: [dhcp46-115.lab.eng.blr.redhat.com]: FAILED! => {"changed": true, "failed": true, "msg": "Could not replace file: /root/.ansible/tmp/ansible-tmp-1478774817.35-18824176142499/source to /var/run/gluster/shared_storage/nfs-ganesha/ganesha-ha.conf: [Errno 2] No such file or directory"} to retry, use: --limit @/tmp/tmpXpVkrx/ganesha-conf-create.retry 2) fatal: [10.70.46.111]: FAILED! => {"changed": true, "failed": true, "msg": "Could not replace file: /root/.ansible/tmp/ansible-tmp-1378724718.57-18824172241273/source to /var/run/gluster/shared_storage/nfs-ganesha/ganesha-ha.conf: [Errno 117] Structure needs cleaning"} fatal: [10.70.46.115]: FAILED! => {"changed": true, "failed": true, "module_stderr": "", "module_stdout": "Traceback (most recent call last):\r\n File \"/tmp/ansible_Vu_Jff/ansible_module_copy.py\", line 364, in <module>\r\n main()\r\n File \"/tmp/ansible_Vu_Jff/ansible_module_copy.py\", line 343, in main\r\n module.atomic_move(b_mysrc, dest, unsafe_writes=module.params['unsafe_writes'])\r\n File \"/tmp/ansible_Vu_Jff/ansible_modlib.zip/ansible/module_utils/basic.py\", line 2017, in atomic_move\r\nOSError: [Errno 2] No such file or directory: '/var/run/gluster/shared_storage/nfs-ganesha/ganesha-ha.conf'\r\n", "msg": "MODULE FAILURE"}