Extracted this into a new bug from BZ876763. This may no longer be a bug, because Sunil T tried the changed instructions and they did not work, so I have replaced getting the password from a file, e.g. $ sudo openstack-config --set /etc/glance/glance-api.conf \ keystone_authtoken admin_password $(cat /tmp/ks_admin_token) with a directly enterd password, e.g. $ sudo openstack-config --set /etc/glance/glance-api.conf \ keystone_authtoken admin_password secret Description of problem: But for completeness, here is Steve G's suggestion, Comment 5 in BZ876763: Looking at these [instructions] it also looks like we're very reliant on the fact that: a) The user read and followed the directions for configuring Keystone first (reasonable). b) The file in /tmp they created in that procedure is still around (not so reasonable). I think it would be preferable to, in each procedure where it is required, add a step advising the user to retrieve the token from /etc/keystone/keystone.conf. Unfortunately openstack-config doesn't provide a --get option so it looks like the only way to do this at the moment is manually. $ grep "admin_token = " /etc/keystone/keystone.conf # admin_token = ADMIN admin_token = 06c09b8b1f874cb88ffa3194ef40adec Version-Release number of selected component (if applicable): 2.0
commit f4c1c7536e7d82e9ab4cf9632a7488b2ebeffbd9 Author: Stephen Gordon <sgordon> Date: Tue Apr 16 15:06:49 2013 -0400 BZ#911459 - Cleaned up unnecessary usage of /tmp/ Multiple instances where /tmp/ was being unnecessarily or insecurely removed/modified. Additionally packstack log location updated to match location where log is actually stored. Change-Id: Ib0fc7e37a0b94044da51a105870918a3dc37dc78
*** Bug 955775 has been marked as a duplicate of this bug. ***