Red Hat Bugzilla – Bug 912745
INFO_KEYSTONERC hardcoded to /root/ location.
Last modified: 2013-03-21 14:24:13 EDT
Description of problem: In theory I believe it's possible to run packstack as a non-root user, although you must be able to provide root credentials for all machines onto which components are being deployed. Packstack currently deploys the keystonerc_admin file to the home directory of the user running packstack (good). But the message displayed appears to be hardcoded to saying the file was deployed to /root/. packstack]$ grep -r keystonerc * packstack/installer/output_messages.py:INFO_KEYSTONERC="To use the command line tools source the file /root/keystonerc_admin created on %s" packstack/puppet/templates/openstack_client.pp:file {"${::home_dir}/keystonerc_admin": Version: commit b098b19157a44f344032114753071e5b5ae4fc48
Verified NVR: openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarch 1. Changed root's home directory to /home/testing 2. ran packstack Output: **** Installation completed successfully ****** (Please allow Installer a few moments to start up.....) Additional information: * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * To use the command line tools you need to source the file //home/testing/keystonerc_admin created on 10.35.161.106 * To use the console, browse to http://10.35.161.106/dashboard * The installation log file is available at: /var/tmp/packstack/20130312-124304-hTx79t/openstack-setup.log Verified that keystonerc_admin was created in /home/testing: 1# ls -lash /home/testing/ | grep keystone 4.0K -rw------- 1 root root 174 Mar 12 12:53 keystonerc_admin
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-2013-0671.html