Bug 1697470

Summary: Add ipa client make home directory option
Product: Red Hat OpenStack Reporter: Cyril Lopez <cylopez>
Component: openstack-tripleo-heat-templatesAssignee: Ade Lee <alee>
Status: CLOSED ERRATA QA Contact: Pavan <pkesavar>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: alee, aschultz, hrybacki, jagee, jdennis, mburns, rmascena
Target Milestone: z7Keywords: FutureFeature, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.3.1-29.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1713754 (view as bug list) Environment:
Last Closed: 2019-07-10 13:03:20 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:
Bug Depends On:    
Bug Blocks: 1713754, 1713755    

Description Cyril Lopez 2019-04-08 13:32:31 UTC
Description of problem:

If we deploy an overcloud with TLS-evrywhere, ipa-client is install on all node but there no way to set "--mkhomedir" option.

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-8.2.0-6.2.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. deploy with TLS-evrywhere
2. try to log with a ipa user
3.

Actual results:
-sh-4.2$ ssh overcloud-controller-0.local
Could not chdir to home directory /home/cylopez: No such file or directory

Additional info:

ipa-client-install should be call with --mkhomedir option

Comment 3 Harry Rybacki 2019-05-29 17:30:08 UTC
Moving to POST -- patches have merged.

Comment 5 Harry Rybacki 2019-05-29 18:04:37 UTC
Downstream build complete. Moving RHBZ to MODIFIED.

Comment 12 Jeremy Agee 2019-06-20 16:37:52 UTC
this bz was verified as working with a patched copy of /usr/share/openstack-tripleo-heat-templates/extraconfig/services/ipaclient.yaml in the following comment.

https://bugzilla.redhat.com/show_bug.cgi?id=1712465#c13

Confirmed openstack-tripleo-heat-templates-8.3.1-48.el7ost has the patched lines 153-155

makehomedir={{ makehomedir }}
idm_no_ntp={{ idm_no_ntp }}
idm_domain={{ idm_domain }}

Comment 15 errata-xmlrpc 2019-07-10 13:03:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1738