Keystone dead but pid file exists

Asked by Tizy

We have an openstack setup running Havana on cent-OS in High Availability mode with 3 controller+storage nodes and one compute node. Network type is nova-network.

After trying to make some keystone-related configuration changes in keystone.conf file, we found that keystone wasn't able to run anymore and we were getting "keystone dead but pid file exists" error messages. We have followed the recommended steps but it still persists.

We tried deleting the pid file in /var/run/keystone/keystone.pid. After deleting the pid file, when the keystone service is restarted, it showed error "keystone dead but subsys locked". To solve this we tried deleting the /var/lock/subsys/keystone file. Then the keystone service is restarted. It is started for the first time. Then when the status of keystone service is checked, it is again showing "keystone dead but pid file exists".

What could be the problem? Kindly help me to resolve this issue.

Question information

Language:
English Edit question
Status:
Expired
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Amresh Kumar (amu495) said :
#1

Tizy, did you get any relevant information in the keystone log?

Let me know the output of below command when keystone is throwing error after starting

#ps aux | grep keystone
#df -h

Revision history for this message
Tizy (tizy-elza) said :
#2

Hi Amresh,

Thanks for the reply. I couldn't find any relevant information in keystone logs.

The output of the commands are
# ps aux | grep keystone

root 20925 0.0 0.0 103236 864 tty1 S+ 06:10 0:00 grep keystone

# df -h

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/os-root 46G 3.5G 41G 9% /
tmpfs 2.0G 18M 2.0G 1% /dev/shm
/dev/sda3 194M 27M 157M 15% /boot
/dev/mapper/image-glance 61G 20G 42G 32% /var/lib/glance
/dev/sda4 61G 2.1G 59G 4% /var/lib/ceph/osd/ceph-1

Kindly help to resolve the issue.

Thanks,
Tizy

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.