Ask Your Question
0

Can someone help me install keystone juno?

asked 2015-07-24 04:31:52 -0500

Vranke gravatar image

updated 2015-07-24 05:52:05 -0500

SamYaple gravatar image

I am following this tutorial: http://docs.openstack.org/juno/instal...

and I am getting stuck at step 3, because when i enter the command I get su: Authentication failure I entered the same db pass in keystone.conf as I did in mysql database. I did get suspicious in keystone.conf because step b required me to write entirely on my own the line: connection = mysql://keystone:KEYSTONE_DBPASS@controller/keystone whereas everything else was just editing.

Anyway here is my entire keystone.conf:

[DEFAULT]

#
# Options defined in keystone
#

# A "shared secret" that can be used to bootstrap Keystone.
# This "token" does not represent a user, and carries no
# explicit authorization. To disable in production (highly
# recommended), remove AdminTokenAuthMiddleware from your
# paste application pipelines (for example, in keystone-
# paste.ini). (string value)
admin_token=d84c154eff63ccfd933d

# The IP Address of the network interface to for the public
# service to listen on. (string value)
# Deprecated group/name - [DEFAULT]/bind_host
#public_bind_host=0.0.0.0

# The IP Address of the network interface to for the admin
# service to listen on. (string value)
# Deprecated group/name - [DEFAULT]/bind_host
#admin_bind_host=0.0.0.0

# The port which the OpenStack Compute service listens on.
# (integer value)
#compute_port=8774

# The port number which the admin service listens on. (integer
# value)
#admin_port=35357

# The port number which the public service listens on.
# (integer value)
#public_port=5000

# The base public endpoint URL for keystone that are
# advertised to clients (NOTE: this does NOT affect how
# keystone listens for connections) (string value).
# Defaults to the base host URL of the request. Eg a
# request to http://server:5000/v2.0/users will
# default to http://server:5000. You should only need
# to set this value if the base URL contains a path
# (eg /prefix/v2.0) or the endpoint should be found on
# a different server.
#public_endpoint=http://localhost:%(public_port)s/

# The base admin endpoint URL for keystone that are advertised
# to clients (NOTE: this does NOT affect how keystone listens
# for connections) (string value).
# Defaults to the base host URL of the request. Eg a
# request to http://server:35357/v2.0/users will
# default to http://server:35357. You should only need
# to set this value if the base URL contains a path
# (eg /prefix/v2.0) or the endpoint should be found on
# a different server.
#admin_endpoint=http://localhost:%(admin_port)s/

# onready allows you to send a notification when the process
# is ready to serve For example, to have it notify using
# systemd, one could set shell command: "onready = systemd-
# notify --ready" or a module with notify() method: "onready =
# keystone.common.systemd". (string value)
#onready=<None>

# enforced by optional sizelimit middleware
# (keystone.middleware:RequestBodySizeLimiter). (integer
# value)
#max_request_body_size=114688

# limit the sizes of user & tenant ID/names. (integer value)
#max_param_size=64

# similar to max_param_size, but provides an exception for
# token values. (integer value)
#max_token_size=8192

# During a SQL upgrade member_role_id will be used to create a
# new role that will replace records in the
# user_tenant_membership table with explicit role ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-24 07:50:43 -0500

schegi gravatar image

updated 2015-07-24 08:29:51 -0500

I assume with step 3 you mean:

Populate the Identity service database: su -s /bin/sh -c "keystone-manage db_sync" keystone

In this case, it sounds more like a su related problem, than database authentification problem. Have you tried sudo su ...?

Stefan

edit flag offensive delete link more

Comments

that wasnt engouh but it steered me in the right direction, I also had to apt-get install python-mysqldb

Vranke gravatar imageVranke ( 2015-07-27 11:56:07 -0500 )edit

Facing similar problem when settting up dashboard using liberty release. Posted the below question, https://ask.openstack.org/en/question/98306/keystone-error-critical-keystone-nosuchmoduleerror-cant-load-plugin-sqlalchemydialectsqlpymysql/ (https://ask.openstack.org/en/question...)

Please let me know if you can get away from this problem.

vspvijay gravatar imagevspvijay ( 2016-10-25 06:12:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-24 04:31:52 -0500

Seen: 253 times

Last updated: Jul 24 '15