Bug 1205966

Summary: allow to specify admin name and email
Product: Red Hat OpenStack Reporter: Rich Megginson <rmeggins>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED CURRENTRELEASE QA Contact: Tzach Shefi <tshefi>
Severity: high Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: aortega, derekh, ichavero, mmagr, nkinder, nlevinki, srevivo
Target Milestone: ---Keywords: FutureFeature, TestOnly, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2015.1-0.7.dev1589.g1d6372f.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1205912 Environment:
Last Closed: 2016-04-18 16:37:51 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: 1205912    
Bug Blocks: 1172310    

Description Rich Megginson 2015-03-26 01:55:56 UTC
+++ This bug was initially created as a clone of Bug #1205912 +++

Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Rich Megginson on 2015-03-25 21:54:25 EDT ---

Need to be able to specify alternate admin name and email  puppet keystone already supports this

Comment 5 Ivan Chavero 2015-07-05 21:14:02 UTC
This are the answer file directives to configure admin username and email:
CONFIG_KEYSTONE_ADMIN_EMAIL
CONFIG_KEYSTONE_ADMIN_USERNAME

Comment 6 Lon Hohberger 2016-03-11 18:19:00 UTC
This bug is resolved by the current packages available from the Red Hat Enterprise Linux OpenStack Platform 7 repository.

Comment 7 Lon Hohberger 2016-03-15 20:11:32 UTC
According to our records, this should be resolved by openstack-packstack-2015.1-0.16.dev1589.g1d6372f.el7ost.  This build is available now.

Comment 8 Tzach Shefi 2016-04-10 12:58:16 UTC
Verified on version:
rhel 7.2 
openstack-packstack-puppet-2015.1-0.16.dev1589.g1d6372f.el7ost.noarch
openstack-packstack-2015.1-0.16.dev1589.g1d6372f.el7ost.noarch

Updated answer file with: 
# Email address for the Identity service 'admin' user.  Defaults to:
CONFIG_KEYSTONE_ADMIN_EMAIL=nimda@localhost

# User name for the Identity service 'admin' user.  Defaults to:
# 'admin'.
CONFIG_KEYSTONE_ADMIN_USERNAME=nimda


Completed deployment, was able to log in to Horizon/cli with user "nimda", email for user was updated as requested:  nimda@localhost  

|                id                |    name    | enabled |        email         |
+----------------------------------+------------+---------+----------------------+....

| c6e7288a472240368e2052d64b0f7156 |   nimda    |   True  |   nimda@localhost    |

[root@dhcp163-111 ~(keystone_admin)]# openstack user show nimda
+------------+----------------------------------+
| Field      | Value                            |
+------------+----------------------------------+
| email      | nimda@localhost                  |
| enabled    | True                             |
| id         | c6e7288a472240368e2052d64b0f7156 |
| name       | nimda                            |
| project_id | 3ec602de8ff147acb84d4e47d0334d36 |
| username   | nimda                            |
+------------+----------------------------------+