Bug 1312441 - no $HOME environment variable
Summary: no $HOME environment variable
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 1.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.0
Assignee: Ken Dreyer (Red Hat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-26 17:18 UTC by Alfredo Deza
Modified: 2022-02-21 18:05 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-15 15:44:12 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.