Ask Your Question
0

Cannot start keystone during installation

asked 2016-08-18 01:15:12 -0500

showx123 gravatar image

updated 2016-08-18 02:30:49 -0500

Hi, I'm trying to install openstack-liberty by manual on centOS 7.

I'm following openstack website's docs : http://docs.openstack.org/liberty/install-guide-rdo/keystone-install.html#install-and-configure-components (openstack-liberty)

I installed all on 'environment' menu except for 'host networking'

This is because I want to start with all-in-one so I just add controller on /etc/hosts like this :

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.2.15   controller

ip a :

[root@localhost keystone]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 08:00:27:00:e7:9a brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic enp0s3
       valid_lft 85084sec preferred_lft 85084sec
    inet6 fe80::a00:27ff:fe00:e79a/64 scope link
       valid_lft forever preferred_lft forever

Then, I follow step by step on 'Add the Identity service'

However, when I tried to create service, it makes error.

[root@localhost keystone]# openstack service create   --name keystone --description "OpenStack Identity" identity
Internal Server Error (HTTP 500)

I guess this is because openstack-keystone.service fail to start.

(I don't know why there is no mention to start keystone on openstack docs)

Unforunately, Keystone fails to start:

[root@controller keystone]# systemctl start openstack-keystone
Job for openstack-keystone.service failed because the control process exited with error code. See "systemctl status openstack-keystone.service" and "journalctl -xe" for details.
[root@controller keystone]# systemctl status openstack-keystone
● openstack-keystone.service - OpenStack Identity Service (code-named Keystone)
   Loaded: loaded (/usr/lib/systemd/system/openstack-keystone.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Thu 2016-08-18 15:01:57 KST; 542ms ago
  Process: 3703 ExecStart=/usr/bin/keystone-all (code=exited, status=1/FAILURE)
 Main PID: 3703 (code=exited, status=1/FAILURE)

Aug 18 15:01:57 controller systemd[1]: openstack-keystone.service: main process exited, code=exited, status=1/FAILURE
Aug 18 15:01:57 controller systemd[1]: Failed to start OpenStack Identity Service (code-named Keystone).
Aug 18 15:01:57 controller systemd[1]: Unit openstack-keystone.service entered failed state.
Aug 18 15:01:57 controller systemd[1]: openstack-keystone.service failed.
Aug 18 15:01:57 controller systemd[1]: openstack-keystone.service holdoff time over, scheduling restart.
Aug 18 15:01:57 controller systemd[1]: start request repeated too quickly for openstack-keystone.service
Aug 18 15:01:57 controller systemd[1]: Failed to start OpenStack Identity Service (code-named Keystone).
Aug 18 15:01:57 controller systemd[1]: Unit openstack-keystone.service entered failed state.
Aug 18 15:01:57 controller systemd[1]: openstack-keystone.service failed.

I have tried many things and double-checked conf file, but cannot solve my problem.

Please someone help me!!

By ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-08-18 08:47:30 -0500

Praveen N gravatar image

Hi , Please check this link : https://ask.openstack.org/en/question...

edit flag offensive delete link more

Comments

I also tried that before... it didn't work for me.. I found the solution at last : https://anzhari.wordpress.com/2016/03/10/error-during-initial-openstack-keystone-setup/

showx123 gravatar imageshowx123 ( 2016-08-18 20:19:52 -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: 2016-08-18 01:15:12 -0500

Seen: 1,595 times

Last updated: Aug 18 '16