fuel-utils check keystone service failed

Bug #1638440 reported by Wei Hui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Sergii Golovatiuk

Bug Description

Environment:
fuel-11.0-community-15-2016-10-28_05-05-00.iso

Step to reproduce:
[root@fuel ~]# fuel-utils check_all
checking with command "systemctl is-active nailgun"
active
checking with command "! pgrep puppet"
nailgun is ready.
checking with command "egrep -q ^[2-4][0-9]? < <(curl --connect-timeout 1 -s -w '%{http_code}' http://10.20.0.2:8777/ostf/not_found -o /dev/null)"
checking with command "! pgrep puppet"
ostf is ready.
checking with command "ps waux | grep -q 'cobblerd -F' && pgrep dnsmasq"
32351
checking with command "cobbler profile find --name=ubuntu* | grep -q ubuntu && cobbler profile find --name=*bootstrap* | grep -q bootstrap"
checking with command "! pgrep puppet"
cobbler is ready.
checking with command "curl -f -L -i -u "naily:pssmI9P5sH5vgjZjaGbQBO45" http://127.0.0.1:15672/api/nodes 1>/dev/null 2>&1"
checking with command "curl -f -L -u "mcollective:vzPIDT2GzEbXg8T1ohDIMVLs" -s http://127.0.0.1:15672/api/exchanges | grep -qw 'mcollective_broadcast'"
checking with command "curl -f -L -u "mcollective:vzPIDT2GzEbXg8T1ohDIMVLs" -s http://127.0.0.1:15672/api/exchanges | grep -qw 'mcollective_directed'"
checking with command "! pgrep puppet"
rabbitmq is ready.
checking with command "PGPASSWORD=8TgT4AdnaSZSoSSUVvnLizKR /usr/bin/psql -h 10.20.0.2 -U "nailgun" "nailgun" -c '\copyright' 2>&1 1>/dev/null"
checking with command "! pgrep puppet"
postgres is ready.
checking with command "ps waux | grep -q 'astuted'"
checking with command "curl -f -L -u "naily:pssmI9P5sH5vgjZjaGbQBO45" -s http://127.0.0.1:15672/api/exchanges | grep -qw 'nailgun'"
checking with command "curl -f -L -u "naily:pssmI9P5sH5vgjZjaGbQBO45" -s http://127.0.0.1:15672/api/exchanges | grep -qw 'naily_service'"
checking with command "! pgrep puppet"
astute is ready.
checking with command "ps waux | grep -q mcollectived"
checking with command "! pgrep puppet"
mcollective is ready.
checking with command "ps waux | grep -q nginx"
checking with command "! pgrep puppet"
nginx is ready.
checking with command "keystone --os-auth-url "http://10.20.0.2:35357/v2.0" --os-username "nailgun" --os-password "kl6Dl0gzeR7ku6PXXVoGDL0H" token-get &>/dev/null"
try number 1
return code is 127
try number 2
return code is 127
^C

Since keystone client was substitute by openstack client, keystone command is not exist. We should change to use
openstack token issue

Wei Hui (huiweics)
Changed in fuel:
assignee: nobody → Wei Hui (huiweics)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/392403

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/401183

Changed in fuel:
milestone: none → 11.0
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/newton)

Reviewed: https://review.openstack.org/401183
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=7feda60e3f67ed6f656a406ee60c372ac7b1a80a
Submitter: Jenkins
Branch: stable/newton

commit 7feda60e3f67ed6f656a406ee60c372ac7b1a80a
Author: Wei Hui <email address hidden>
Date: Wed Nov 2 11:16:12 2016 +0800

    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

tags: added: in-stable-newton
Changed in fuel:
assignee: Wei Hui (huiweics) → Sergii Golovatiuk (sgolovatiuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/392403
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=6437d06da3ba7dad085b9af7f6c945e8e6ba854d
Submitter: Jenkins
Branch: master

commit 6437d06da3ba7dad085b9af7f6c945e8e6ba854d
Author: Wei Hui <email address hidden>
Date: Wed Nov 2 11:16:12 2016 +0800

    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

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.