简体   繁体   中英

keystone command not found

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM