Bug 1370374

Summary: Need to include vdsm/kvm user/group require access to alternate folder during install of Self Hosted Engine.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ribu Tho <rabraham>
Component: DocumentationAssignee: Tahlia Richardson <trichard>
Status: CLOSED CURRENTRELEASE QA Contact: Byron Gravenorst <bgraveno>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.0CC: gklein, lbopf, lsurette, rbalakri, srevivo, trichard, ykaul
Target Milestone: ovirt-4.0.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-20 00:11:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Permission denied errors in installation log . none

Description Ribu Tho 2016-08-26 05:42:03 UTC
Description of problem:

During installation of self hosted engine via RHV Hypervisor 7.2  if /var/tmp is low on disk space an alternate path is requested to be entered in the dialogue box. This path fails during install if the vdsm:kvm user/group doesn't have ownership or RW permission. Hence it needs to be added as a note in the installation documentation. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install Self hosted engine via cockpit

2. At the point were it requests for the below 
" Select disk for the boot device type, and then specify the path to the RHV-M Virtual Appliance. If the /var/tmp directory does not have enough space, specify a different directory.  "

3. Select an alternate path under /usr or /tmp 

Actual results:
Fails with permission denied errors 

2016-08-26 13:44:03 DEBUG otopi.plugins.gr_he_common.vm.boot_disk plugin.execute:926 execute-output: ('/bin/sudo', '-u', 'vdsm', '-g', 'kvm', '/bin/qemu-img', 'info', '--output', 'json', '/root/tmp/tmpXcxmgO') stderr:
qemu-img: Could not open '/root/tmp/tmpXcxmgO': Could not open '/root/tmp/tmpXcxmgO': Permission denied


Expected results: 

Add NOTE in installation to change permission of the folder .

Additional info:

Comment 2 Lucy Bopf 2016-09-13 12:55:34 UTC
Assigning to Tahlia for review.

Comment 3 Lucy Bopf 2016-09-13 13:04:35 UTC
*** Bug 1373044 has been marked as a duplicate of this bug. ***

Comment 6 Tahlia Richardson 2016-09-20 00:11:31 UTC
Fix now published in multiple places in https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/self-hosted-engine-guide/