Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1360875 - openstack-status returns /usr/bin/openstack-status: line 267: keystone: command not found
Summary: openstack-status returns /usr/bin/openstack-status: line 267: keystone: comma...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-utils
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Lon Hohberger
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-27 17:00 UTC by Dan Yasny
Modified: 2016-12-02 18:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-02 18:12:53 UTC


Attachments (Terms of Use)

Description Dan Yasny 2016-07-27 17:00:09 UTC
Description of problem:
OSP 10 removed the old keystone client, moving to the unified client instead.

In openstack-status this returns /usr/bin/openstack-status: line 267: keystone: command not found when querying keystone

Full output:
[stack@instack ~]$ openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-cert:                    active
openstack-nova-conductor:               active
openstack-nova-cells:                   inactive  (disabled on boot)
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             inactive  (disabled on boot)
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       inactive  (disabled on boot)
neutron-metadata-agent:                 inactive  (disabled on boot)
neutron-openvswitch-agent:              active
== Swift services ==
openstack-swift-proxy:                  active
openstack-swift-account:                active
openstack-swift-container:              active
openstack-swift-object:                 active
== Cinder services ==
openstack-cinder-api:                   inactive  (disabled on boot)
openstack-cinder-scheduler:             inactive  (disabled on boot)
openstack-cinder-volume:                inactive  (disabled on boot)
openstack-cinder-backup:                inactive  (disabled on boot)
== Heat services ==
openstack-heat-api:                     active
openstack-heat-api-cfn:                 active
openstack-heat-api-cloudwatch:          inactive  (disabled on boot)
openstack-heat-engine:                  active
== Sahara services ==
openstack-sahara-all:                   inactive  (disabled on boot)
== Ironic services ==
openstack-ironic-api:                   active
openstack-ironic-conductor:             active
== Support services ==
openvswitch:                            active
dbus:                                   active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/usr/bin/openstack-status: line 267: keystone: command not found
== Glance images ==
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| ID                                   | Name                   | Disk Format | Container Format | Size       | Status |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| eec742a3-3247-4cfc-882c-b6c047507b42 | bm-deploy-kernel       | aki         | aki              | 5156256    | active |
| 0a8929b5-17d5-446d-bd5a-d59ebe9303ae | bm-deploy-ramdisk      | ari         | ari              | 328101326  | active |
| 5efd1f58-8e00-45c8-9751-b638172468b1 | overcloud-full         | qcow2       | bare             | 1187315712 | active |
| 0768023a-b5f2-479f-925f-56f184dc87b1 | overcloud-full-initrd  | ari         | ari              | 46798530   | active |
| 58770e9a-67ad-4298-a25a-99d8d895e7c3 | overcloud-full-vmlinuz | aki         | aki              | 5156256    | active |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
== Nova managed services ==
+----+----------------+---------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary         | Host                | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+----------------+---------------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert      | instack.localdomain | internal | enabled | up    | 2016-07-27T16:53:07.000000 | -               |
| 3  | nova-scheduler | instack.localdomain | internal | enabled | up    | 2016-07-27T16:53:13.000000 | -               |
| 4  | nova-conductor | instack.localdomain | internal | enabled | up    | 2016-07-27T16:53:09.000000 | -               |
| 5  | nova-compute   | instack.localdomain | nova     | enabled | up    | 2016-07-27T16:53:10.000000 | -               |
+----+----------------+---------------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+--------------+------+
| ID                                   | Label        | Cidr |
+--------------------------------------+--------------+------+
| 3e8d400e-d5fd-4132-b802-b8552b73ed46 | tenant       | -    |
| e2b0085c-a2a0-469c-a0da-1d448b4149da | external     | -    |
| 328b7a0c-f7fd-4664-b321-871e17c1eef5 | storage      | -    |
| 526c8fa7-8f0b-4e3e-8f25-2f03d8eb3de2 | internal_api | -    |
| 8712e5b7-56c9-4f1a-be98-4dd64d50781d | storage_mgmt | -    |
| c2fa6ab3-879a-4272-9e97-c4447ac2ee06 | ctlplane     | -    |
+--------------------------------------+--------------+------+
== Nova instance flavors ==
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID                                   | Name          | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
| 34e2e81f-708c-43e6-a3fe-2ac8049f7095 | compute       | 4096      | 40   | 0         |      | 1     | 1.0         | True      |
| 4956eb43-f1ea-4156-a8c1-0245ac27704f | swift-storage | 4096      | 40   | 0         |      | 1     | 1.0         | True      |
| 93d9dd48-a358-49b7-9854-7fc8457caf16 | control       | 4096      | 40   | 0         |      | 1     | 1.0         | True      |
| cb4f89c0-933e-4da4-8f2d-1d29f3251955 | baremetal     | 4096      | 40   | 0         |      | 1     | 1.0         | True      |
| ce8e6f11-3976-4b65-8178-91e8aeb63c1c | ceph-storage  | 4096      | 40   | 0         |      | 1     | 1.0         | True      |
| e35742da-2cfa-44a0-8c2b-6e0ca16f8c97 | block-storage | 4096      | 40   | 0         |      | 1     | 1.0         | True      |
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
| ID                                   | Name                    | Tenant ID                        | Status | Task State | Power State | Networks            |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
| c0d4912c-d250-4a58-9e03-da1f32227088 | overcloud-cephstorage-0 | 4206e6855ac0471fb354020f190bd39c | ACTIVE | -          | Running     | ctlplane=192.0.2.16 |
| 6c63c6aa-a428-49ab-b1ff-a29aa7d1a3b0 | overcloud-controller-0  | 4206e6855ac0471fb354020f190bd39c | ACTIVE | -          | Running     | ctlplane=192.0.2.18 |
| 38ea8c98-6f35-4859-be0f-949997a02ea9 | overcloud-controller-1  | 4206e6855ac0471fb354020f190bd39c | ACTIVE | -          | Running     | ctlplane=192.0.2.6  |
| 12f893d8-e0fc-424a-9154-ff2c4c7d38f7 | overcloud-controller-2  | 4206e6855ac0471fb354020f190bd39c | ACTIVE | -          | Running     | ctlplane=192.0.2.7  |
| d6b63b57-a1fb-4dbe-9aba-72a50422ef6a | overcloud-novacompute-0 | 4206e6855ac0471fb354020f190bd39c | ACTIVE | -          | Running     | ctlplane=192.0.2.11 |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+



Version-Release number of selected component (if applicable):
openstack-utils-2016.1-1.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. install OSP10
2. install openstack-utils (bz#1358018 shows it's not installed by default on the undercloud)
3. run openstack-status

Actual results:
see output above

Expected results:
clean output with keystone status included

Additional info:
I suspect openstack-status uses other old client utils, and it will be a good idea to move to the new ones for everything, not just keystone

Comment 2 Alan Pevec 2016-12-02 13:18:58 UTC
Reported upstream
https://github.com/redhat-openstack/openstack-utils/issues/23

Comment 3 Mike Burns 2016-12-02 13:25:21 UTC
https://github.com/redhat-openstack/openstack-utils/pull/24

fixes this issue.


Note You need to log in before you can comment on or make changes to this bug.