在过去的几天里,我已经尝试了几乎所有的东西来获得keystone运行无效。Openstack-Keystone无法启动

安装程序全部在同一台主机上,虚拟化和openstack和keystone都在同一主机上,所以我试着用127.0.0.1和localhost设置keystone,而主机的IP没有运气

[DEFAULT] log_file = /var/log/keystone/keystone.log

admin_token = ***

bind_host = 192.168.33.11

public_port = 5000

admin_port = 35357

compute_port = 8774

# === Logging Options ===

# Print debugging output verbose = True

# Print more verbose output

# (includes plaintext request logging, potentially including passwords)

# debug = False

# Name of log file to output to. If not set, logging will go to stdout. log_file = keystone.log

# The directory to keep log files in (will be prepended to --logfile) log_dir = /var/log/keystone

# Use syslog for logging.

# use_syslog = False

# syslog facility to receive log lines

# syslog_log_facility = LOG_USER

# If this option is specified, the logging configuration file specified is

# used and overrides any other logging options specified. Please see the

# Python logging module documentation for details on logging configuration

# files. log_config = logging.conf

# A logging.Formatter log message format string which may use any of the

# available logging.LogRecord attributes.

# log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s

# Format string for %(asctime)s in log records.

# log_date_format = %Y-%m-%d %H:%M:%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

[sql] connection = mysql://keystone:***@localhost/keystone

# idle_timeout = 200

[identity] driver = keystone.identity.backends.sql.Identity

[catalog] template_file = /etc/keystone/default_catalog.templates driver = keystone.catalog.backends.sql.Catalog

# dynamic, sql-based backend (supports API/CLI-based management commands)

# driver = keystone.catalog.backends.sql.Catalog

# static, file-based backend (does *NOT* support any management commands)

# driver = keystone.catalog.backends.templated.TemplatedCatalog

# template_file = default_catalog.templates

[token] driver = keystone.token.backends.sql.Token

# driver = keystone.token.backends.kvs.Token

# Amount of time a token should remain valid (in seconds)

# expiration = 86400

我已启用logging.conf文件中的日志记录,并将级别设置为DEBUG和INFO,但日志文件中没有任何内容。

[[email protected]* keystone]# service openstack-keystone restart

Stopping keystone: [FAILED]

Starting keystone: [ OK ]

[[email protected]* keystone]# service openstack-keystone restart

Stopping keystone: [FAILED]

Starting keystone: [ OK ]

[[email protected]* keystone]# ps aux | grep keystone

root 25580 0.0 0.0 103236 880 pts/1 S+ 09:41 0:00 grep keystone

[[email protected]* keystone]#

任何想法将大大appreciated.Thank你

2013-03-24

Bogdan

+0

我一直都看到像[DEFAULT]这样的部分标签在他们自己的路线上。 –

2013-03-24 15:16:51

更多推荐