Bug 1238313
| Summary: | Unable to write HEConfImage | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Sandro Bonazzola <sbonazzo> |
| Component: | ovirt-hosted-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> |
| Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.6 | CC: | bugs, ecohen, gklein, lsurette, rbalakri, stirabos, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-15 08:33:32 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: | |||
*** This bug has been marked as a duplicate of bug 1242448 *** |
While deploying HE on NFSv3 from cdrom, host on rhel 7.1.z vm on rhel 6.7, the --deploy command fails on the last steps with this output: [ INFO ] Enabling and starting HA services [ INFO ] Saving hosted-engine configuration on the shared storage domain [ ERROR ] Failed to execute stage 'Closing up': Unable to write HEConfImage [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150701164916.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination 2015-07-01 16:49:16 INFO otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconf._closeup_create_tar:123 Saving hosted-engine configuration on the shared storage domain 2015-07-01 16:49:16 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconflib.create_heconfimage:180 temp tar file: /tmp/tmpLpa_uf.tar 2015-07-01 16:49:16 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconflib.create_heconfimage:210 saving on: /rhev/data-center/mnt/192.168.1.107:_home_storage/1c373492-4b7c-413d-a919-a7eebaaac70f /images/43528118-e154-4e53-8015-21a77495f9a0/6c190cdd-d20c-4981-a64f-ca19042377a5 2015-07-01 16:49:16 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconflib.create_heconfimage:219 executing: 'dd if=/tmp/tmpLpa_uf.tar of=/rhev/data-center/mnt/192.168.1.107:_home_storage/1c37349 2-4b7c-413d-a919-a7eebaaac70f/images/43528118-e154-4e53-8015-21a77495f9a0/6c190cdd-d20c-4981-a64f-ca19042377a5 bs=4k' 2015-07-01 16:49:16 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconflib.create_heconfimage:229 stdout: 2015-07-01 16:49:16 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconflib.create_heconfimage:230 stderr: dd: apertura di "/rhev/data-center/mnt/192.168.1.107:_home_storage/1c373492-4b7c-413d-a91 9-a7eebaaac70f/images/43528118-e154-4e53-8015-21a77495f9a0/6c190cdd-d20c-4981-a64f-ca19042377a5" non riuscita: Permesso negato 2015-07-01 16:49:16 DEBUG otopi.context context._executeMethod:155 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 145, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/heconf.py", line 150, in _closeup_create_tar dest File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/heconflib.py", line 233, in create_heconfimage raise RuntimeError('Unable to write HEConfImage') RuntimeError: Unable to write HEConfImage 2015-07-01 16:49:16 ERROR otopi.context context._executeMethod:164 Failed to execute stage 'Closing up': Unable to write HEConfImage there is a permission denied issue on 'dd if=/tmp/tmpLpa_uf.tar of=/rhev/data-center/mnt/192.168.1.107:_home_storage/1c37349 2-4b7c-413d-a919-a7eebaaac70f/images/43528118-e154-4e53-8015-21a77495f9a0/6c190cdd-d20c-4981-a64f-ca19042377a5 bs=4k' selinux is in permissive mode. ls -l shows: -rw-rw----. 1 vdsm kvm 1073741824 Jul 1 14:14 /rhev/data-center/mnt/192.168.1.107:_home_storage/1c373492-4b7c-413d-a919-a7eebaaac70f/images/43528118-e154-4e53-8015-21a77495f9a0/6c190cdd-d20c-4981-a64f-ca19042377a5 drwxr-xr-x. 2 vdsm kvm 4096 Jul 1 14:14 /rhev/data-center/mnt/192.168.1.107:_home_storage/1c373492-4b7c-413d-a919-a7eebaaac70f/images/43528118-e154-4e53-8015-21a77495f9a0 drwxr-xr-x. 6 vdsm kvm 4096 Jul 1 14:14 /rhev/data-center/mnt/192.168.1.107:_home_storage/1c373492-4b7c-413d-a919-a7eebaaac70f/images