Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1068885

Summary: Foreman-installer doesn't create keystonerc_admin file on controller
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: openstack-foreman-installerAssignee: Jason Guiditta <jguiditt>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: breeler, cwolfe, morazi, rhos-maint, yeylon
Target Milestone: z4Keywords: ZStream
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-foreman-installer-1.0.7-1.el6ost Doc Type: Enhancement
Doc Text:
Feature: optionally create a keystonerc file on the controller node. Reason: This saves the user some effort in that they do not need to manually set some environment variables to be able to use the CLI services on a controller. Result: Create /root/keystonerc_admin if the user sets the controller parameter keystonerc=true.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-29 20:31:15 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 Tzach Shefi 2014-02-22 21:16:08 UTC
Description of problem:
When using foreman-installer to deploy a controller /root/keystonerc_admin file isn't created. As apposed to packstack deployments which do create this file. Yes it's easy to make the file but why not help the user, especially since i recall some documentation specifically points to it, misleading confusing users when file isn't found.  


Version-Release number of selected component (if applicable):
openstack-foreman-installer-1.0.4-1.el6ost.noarch

How reproducible:
Every time, just deploy a controller with Foreman-installer

Steps to Reproduce:
1. Deploy foreman-installer setup
2. Add host to controller group (tested nova controller), edit needed parameters.
3. Run foreman puppet client on host. 

Actual results:
A working controller, without /root/keystonrc_admin file

Expected results:
A working controller with a /root/keystonerc_admin file created. 

Additional info:

Comment 1 Crag Wolfe 2014-02-24 17:55:05 UTC
This is now in upstream as of https://github.com/redhat-openstack/astapor/pull/126 .

Comment 2 Jason Guiditta 2014-03-10 18:37:08 UTC
This is already in master and low risk, so adding it to list for next release

Comment 5 Omri Hochman 2014-04-28 15:17:57 UTC
Verified openstack-foreman-installer-1.0.6-2.el6ost.noarch.  

There's keystonerc_admin file after installation of controller with keystonerc = True. 

Note: 
I've opened a followup bug over missing URL in the keystonerc_file:
https://bugzilla.redhat.com/show_bug.cgi?id=1092046

Comment 7 Omri Hochman 2014-05-21 18:36:24 UTC
Verified : openstack-foreman-installer-1.0.11-2.el6ost.noarch

Comment 9 errata-xmlrpc 2014-05-29 20:31:15 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.

http://rhn.redhat.com/errata/RHSA-2014-0517.html