Bug 1312441

Summary: no $HOME environment variable
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Alfredo Deza <adeza>
Component: Ceph-InstallerAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3.1CC: adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, nlevine, nthomas, sankarshan
Target Milestone: rc   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-15 15:44:12 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:

Description Alfredo Deza 2016-02-26 17:18:23 UTC
Description of problem:
Breaks situations where ansible depends on it. Mostly when it expands to write to temporary files that usually go into $HOME/.ansible/tmp which gets 'expanded' to /.ansible/tmp that doesn't exist and is owned by root

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


How reproducible: 100%


Steps to Reproduce:
1. Setup installer
2. Configure a mon via the HTTP API
3.

Actual results: breaks with ansible output in the task, mentioning lack of permissions for $HOME/.ansible


Expected results: succeeds with no issues


Additional info:

Comment 3 Ken Dreyer (Red Hat) 2016-02-26 18:04:22 UTC
Is there no other way to tell Ansible to write its files to somewhere else? like /tmp or $TMPDIR?

Comment 4 Ken Dreyer (Red Hat) 2016-03-15 15:44:12 UTC
systemd adds $HOME to the environment by default, so we're good here.