When moving from keystone to openstack client, the initialization of
the ADMIN_USER variable was removed, making the script to fail.
Change-Id: Iee2d5b1cbed6c93e335a4b4dbad3034a2f8e29ed
When using openstack client to populate an initial keystone
deployment, instead of the former keystone client, the env.
variables needed are OS_TOKEN and OS_URL instead of the
previous OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT
Change-Id: I79dcd56896945267cf1c8ff4378ffff63048e155
The leading comment in sample_data.sh still references the old
python-keystoneclient when its python-openstackclient that is
used to populate sample data.
This patch also makes a minor fix of the Swift service description.
TrivialFix
Change-Id: Ie4f5729dcc0b3a6164470d11ba91ddaaec0bb022
Cleans up the sample_data script to replace the keystoneclient commands
with the new openstackclient commands
Change-Id: Id68ff2b466e582a0c2f4418d173f7d63c14f5f37
Closes-Bug: #1459816
Keystone's configuration should have no bearing on the catalog
for nova's port. Nova's port is "static" data from the templated
catalog perspective.
The 'compute_port' option has been marked as deprecated and
slated for removal in the L release. The default/sample
templated catalog files do not rely on this option any
longer.
Change-Id: I51b0ec951449360f002c2e7c900ded0f40e16044
Closes-Bug: #1335278
According to keystoneclient/shell.py, --token and --endpoint (with
their accompanying ENV vars SERVICE_TOKEN and SERVICE_ENDPOINT)
were retained only for Essex compatibility and should have been
removed during Grizzly, replaced with --os-token (OS_SERVICE_TOKEN)
and --os-endpoint (OS_SERVICE_ENDPOINT).
This patch updates a couple of doc references to the old options,
and the sample_data tool.
Change-Id: I87060764f40b1612e3a440c3406d094536af4c9c
Swift now doesn't use 8888 port as any default service. And the origin
sample_data.sh always let new users to fail and modify swift bind port.
So switching 8888 port here to 8080 could generate sample data without
any change for building swift + keystone environment.
Closes-Bug: #1244304
Change-Id: If58f9f025f57565733aa25efc2fdf06865781391
Preserves the default passwords corresponding to the OpenStack Install
and Deploy Manual while allowing environment variables to specify user
provided passwords. As well, a single common password for all the service
users can be specified using the SERVICE_PASSWORD environment variable.
This fix restores compatibility with the version of this script released
in Folsom where the environment variables could override default passwords.
It also preserves compatibility with the fix for bug 1073291 that brought
the script into line with the docs (but unfortunately broke backwards
compatibility).
There is no warning emited if the user does not override the default
passwords as was present in Folsom, but not in Grizzly. This makes the
fix output compatible with Grizzly only. Note that the logic for warnings
pre-Grizzly was unclear. The script is, however, clearly named "sample"
and warnings are present in the comments.
Change-Id: I927fcddf04dcb87e5c9252f0874939b17f3c4809
Fixes: bug #1166182
The addresses in sample_data were hard-coded to localhost. This is
a problem when deploying not-so-all-in-one deployment -- one controller
and couple of compute nodes. It was also complicating access from
outside.
Change-Id: Iee53c3f4376c3628e1543afb6dc7e964a3a14ab2
This should be the public_port and not the admin one.
Sync with default_catalog.templates change
commit 773f0f84af282cd3e53650ccbb99284c37677b6a
Change-Id: Ibb81a06607d94648993768c8b2e7161bf57195a1
Changed --user to --user_id and --role to --role_id in the keystone client for
consistency. Need to update keystone calls here.
This change should be applied after [bug/994744 b7fe11c] in
python-keystoneclient.
Fixes bug 994744.
Change-Id: I234c1d46c0d92a6a00ebb25c5dfbba69cd46be52
Enable creation of endpoints by setting ENABLE_ENDPOINTS environment
variable. Works with Catalog SQL backend.
Change-Id: I9ba0ea1b3cf35720fb338e91f48fcbddc326971b
Updated sample_data.sh to create the service accounts now required
for services (Nova/Swift/etc) to use Keystone. Swift and Quantum
are now enabled by setting ENABLE_SWIFT and/or ENABLE_QUANTUM.
This corresponds to the auth_token middleware rewrite in
https://review.openstack.org/4675
Change-Id: I327c593a53f3ac06e2ed0c1543d2974728e70e03
Based on devstack's files/keystone_data.sh, sample_data.sh creates
the same set of tenants/users/roles/etc. It can eventually be used
by devstack as the bootstrap script.
Fixes bug 934331
Change-Id: Ib3b514b6e4fc5c9e980e4e0c59bc44cda1b8d2b6