keystone did not start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Expired
|
Undecided
|
Unassigned |
Bug Description
## issue
I retried "./stack.sh" after fixing boot process bug (id:1695822), however it stop when trying to access keystone api by curl.
This is because "sudo systemctl restart systemd-journald" is executed before in stack.sh and after running this command, keystone access is not available (Internal Server Error).
There is no problem for first run, but it happen second or later try while running keystone.
It is resolved restarting keystone service after restarting systemd-journald, however current service running command is a "start" but not a "restart".
Should we use "restart" for the Idempotency and to run the service securely ?
## log
$ ./stack.sh
~~~~~
~~~~~
+functions:
++:: curl -g -k --noproxy '*' -s -o /dev/null -w '%{http_code}' http://
+functions:
+functions:
+functions-
+functions-
+functions-
+functions-
+functions-
+functions-
+functions-
+functions-
++functions-
+functions-
+functions-
+functions-
+functions-
+functions-
+functions:
+lib/keystone:
+functions-
+functions-
[Call Trace]
./stack.
/opt/stack/
[ERROR] /opt/stack/
Error on exit
World dumping... see /opt/stack/
$
## On CentOS7.3
$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
$ uname -r
4.11.4-
Changed in devstack: | |
assignee: | nobody → Masaharu Miyamoto (masmiyam) |
I confirmed that same error happens on placement-api if restart only keystone to fix this. sh:1307: start_placement devstack/ lib/placement: 179:start_ placement_ api devstack/ lib/placement: 174:die devstack/ lib/placement: 174 placement-api did not start logs/worlddump- 2017-06- 10-000932. txt for details
[Call Trace]
./stack.
/opt/stack/
/opt/stack/
[ERROR] /opt/stack/
Error on exit
World dumping... see /opt/stack/