]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat-keystone-setup : fix error on folsom first-install
authorSteven Hardy <shardy@redhat.com>
Wed, 31 Oct 2012 16:28:19 +0000 (16:28 +0000)
committerSteven Hardy <shardy@redhat.com>
Wed, 31 Oct 2012 16:28:19 +0000 (16:28 +0000)
commite0bb98d4f5ec918cec8514b8bc5c39057aaaf6d2
tree8547311a29239165e6ec0367951291a35d0c7c89
parent0ba94dcc7a2d6fac0579331beb0e6ca267ee8c81
heat-keystone-setup : fix error on folsom first-install

When running heat-keystone-setup for the first time after (re)installing
openstack folsom, it fails, because the user-role-list is running *as* the
heat user, not reading the roles assigned to the heat user, which fails
because on a new install the heat user does not have the admin role.
Using the credentials from the environment means we run the command as
admin, but --user_id selects the roles for the heat user.

Change-Id: Ib2733e63f664d75be1e2e3bd43038bbd1dbebde8
Signed-off-by: Steven Hardy <shardy@redhat.com>
bin/heat-keystone-setup