fuel-utils check keystone service use openstackclient

Since keystone client CLI was substituted by openstackclient,
we should use openstackclient CLI to check keystone service.

Change-Id: Ia36ee208346fac73b036f86e3dd5f575013985cb
Closes-Bug: #1638440
This commit is contained in:
Wei Hui 2016-11-02 11:16:12 +08:00 committed by Sergii Golovatiuk
parent bcf77550de
commit 6437d06da3
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function check_ready {
retry_checker "ps waux | grep -q nginx"
;;
keystone)
retry_checker "keystone --os-auth-url \"http://$ADMIN_IP:35357/v2.0\" --os-username \"$keystone_nailgun_user\" --os-password \"$keystone_nailgun_password\" token-get &>/dev/null"
retry_checker "openstack --os-auth-url \"http://$ADMIN_IP:35357/v2.0\" --os-username \"$keystone_nailgun_user\" --os-password \"$keystone_nailgun_password\" token issue &>/dev/null"
;;
*)
echo "No defined test for determining if $1 is ready."