keystone command not found

5.3k views Asked by At

while running openstack-status I got this error..

/usr/bin/openstack-status: line 267: keystone: command not found

above

== Keystone service ==

openstack-keystone: inactive (disabled on boot)

openstack-nova-network: inactive (disabled on boot)

[root@rd0-openstack keystone(keystone_admin)]# keystone-

keystone-manage keystone-wsgi-admin keystone-wsgi-public

so what else to check

1

There are 1 answers

0
Badi On

openstack-status is still using 'keystone user list' which is depreciated it should use 'openstack user list' instead please update openstack-status binary to make it work.

use "vim +267 /usr/bin/openstack-status"

and replace 'keystone user-list' with 'openstack user list'

or use below sed command to replace it accordingly.

sed -i 267s/'keystone user-list'/'openstack user list'/ /usr/bin/openstack-status

keystone command not found