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

Bug 1092046

Summary: OpenStack-Foreman-Installer: Empty URL in the keystonerc file after installation (export OS_AUTH_URL=http://:35357/v2.0/).
Product: Red Hat OpenStack Reporter: Omri Hochman <ohochman>
Component: openstack-foreman-installerAssignee: Jason Guiditta <jguiditt>
Status: CLOSED CURRENTRELEASE QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: morazi, rhos-maint, yeylon
Target Milestone: z4   
Target Release: 4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-21 18:20:59 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 Omri Hochman 2014-04-28 15:14:35 UTC
OpenStack-Foreman-Installer: Empty URL in the keystonerc file after installation (export OS_AUTH_URL=http://:35357/v2.0/). 

Environment:
-------------
ruby193-rubygem-foreman_openstack_simplify-0.0.6-5.el6ost.noarch
openstack-puppet-modules-2013.2-9.el6ost.noarch
openstack-foreman-installer-1.0.6-2.el6ost.noarch


Steps:
-------
1) Install openstack-foreman-installer 
2) Edit the controller host group --> change keystonerc = true
3) Attempt to deploy controller hostgroup.
4) check the file under /root/keystonerc_admin or source the file and attempt to perform nova Cli command.    

Results: 
---------
There's empty URL in the keystonerc file after deployment. 
(with keystonerc = true)


vi /root/keystonerc_admin:
--------------------------
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_PASSWORD=secret
export OS_AUTH_URL=http://:35357/v2.0/
export PS1='[\u@\h \W(openstack_admin)]\$ '

Cli:
[root@puma01]# . ~/keystonerc_admin 
[root@puma01 ~(openstack_admin)]# nova list
ERROR: [Errno -2] Name or service not known