Description of problem: Ansible deployments fails on NFS with root_squash option Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-2.2.14 How reproducible: 100% Steps to Reproduce: 1. configure the NFS share with root_squash option 2. deploy hosted-engine 3. Actual results: 2018-04-03 15:01:55,423+0000 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:100 TASK [Copy configuration archive to storage] 2018-04-03 15:01:55,729+0000 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 {u'_ansible_parsed': True, u'stderr_lines': [u'dd: failed to open \u2018/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c\u2019: Permission denied'], u'cmd': [u'dd', u'bs=20480', u'count=1', u'oflag=direct', u'if=/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c', u'of=/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c'], u'end': u'2018-04-03 15:01:55.581823', u'_ansible_no_log': False, u'stdout': u'', u'changed': True, u'start': u'2018-04-03 15:01:55.577487', u'delta': u'0:00:00.004336', u'stderr': u'dd: failed to open \u2018/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c\u2019: Permission denied', u'rc': 1, u'invocation': {u'module_args': {u'warn': True, u'executable': None, u'_uses_shell': False, u'_raw_params': u'dd bs=20480 count=1 oflag=direct if="/var/tmp/localvmbCDQIR/5ef881f5-c992-48d2-b969-a0b6156bdf7c" of="/rhev/data-center/mnt/node.local:_srv_data/81292f3f-11d3-4e38-9afa-62e133aa8017/images/c5510e77-1ee0-479c-b6cf-24c179313a45/5ef881f5-c992-48d2-b969-a0b6156bdf7c"', u'removes': None, u'creates': None, u'chdir': None, u'stdin': None}}, u'stdout_lines': [], u'msg': u'non-zero return code'} Expected results: Successfully deployment Additional info:
anonuid=36,anongid=36 seams enough to prevent this. It happens only with root_squash and no anonuid=36,anongid=36.
Created attachment 1423630 [details] he_images
Hi, could you please confirm that the verifying steps answer the requirement. packages: rhv-release-4.2.3-1-001.noarch rhvm-appliance-4.2-20180410.0.el7.noarch ovirt-hosted-engine-setup-2.2.17-1.el7ev.noarch ovirt-hosted-engine-ha-2.2.10-1.el7ev.noarch 1. on nfs-server in /etc/exports add - /Compute_NFS/nsednev_he_4_data_sd_2 10.0.0.0/255.0.0.0(rw,root_squash) 2. yum install ovirt-hosted-engine-setup yum install rhvm-appliance hosted-engine --deploy Result: [ INFO ] Hosted Engine successfully deployed hosted-engine storage and vm images attached
(In reply to Polina from comment #3) > Hi, could you please confirm that the verifying steps answer the requirement. Yes, exactly that.
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.