Missing Project information in server list

Bug #1752470 reported by Robin Cernin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
In Progress
Undecided
Robin Cernin

Bug Description

Without patch:

(undercloud) [stack@undercloud-0 ~]$ openstack server list --long
+--------------------------------------+--------------+--------+------------+-------------+------------------------+----------------+--------------------------------------+-------------+--------------------------------------+-------------------+---------------------------+------------+
| ID | Name | Status | Task State | Power State | Networks | Image Name | Image ID | Flavor Name | Flavor ID | Availability Zone | Host | Properties |
+--------------------------------------+--------------+--------+------------+-------------+------------------------+----------------+--------------------------------------+-------------+--------------------------------------+-------------------+---------------------------+------------+
| a1d5735d-4875-4b25-a9db-8ad0e172901b | controller-2 | ACTIVE | None | Running | ctlplane=192.168.24.15 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | controller | 3dce6a2a-0698-4080-b6a1-54a9a10bf2a0 | nova | undercloud-0.redhat.local | |
| 769898d6-70c4-4455-bcd3-fee45c51eb2c | controller-0 | ACTIVE | None | Running | ctlplane=192.168.24.7 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | controller | 3dce6a2a-0698-4080-b6a1-54a9a10bf2a0 | nova | undercloud-0.redhat.local | |
| 806131ac-ab6a-4f7e-a11a-46181228f814 | controller-1 | ACTIVE | None | Running | ctlplane=192.168.24.17 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | controller | 3dce6a2a-0698-4080-b6a1-54a9a10bf2a0 | nova | undercloud-0.redhat.local | |
| d08bed43-796d-48a0-8a3f-ab807394f739 | compute-0 | ACTIVE | None | Running | ctlplane=192.168.24.12 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | compute | ae8a3853-b5c9-4173-82e1-a1135452e733 | nova | undercloud-0.redhat.local | |
+--------------------------------------+--------------+--------+------------+-------------+------------------------+----------------+--------------------------------------+-------------+--------------------------------------+-------------------+---------------------------+------------+

VS

(undercloud) [stack@undercloud-0 ~]$ nova list --all
+--------------------------------------+--------------+----------------------------------+--------+------------+-------------+------------------------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+--------------------------------------+--------------+----------------------------------+--------+------------+-------------+------------------------+
| d08bed43-796d-48a0-8a3f-ab807394f739 | compute-0 | bee9d1a6181a4b1da62a9fd3c9a69c9f | ACTIVE | - | Running | ctlplane=192.168.24.12 |
| 769898d6-70c4-4455-bcd3-fee45c51eb2c | controller-0 | bee9d1a6181a4b1da62a9fd3c9a69c9f | ACTIVE | - | Running | ctlplane=192.168.24.7 |
| 806131ac-ab6a-4f7e-a11a-46181228f814 | controller-1 | bee9d1a6181a4b1da62a9fd3c9a69c9f | ACTIVE | - | Running | ctlplane=192.168.24.17 |
| a1d5735d-4875-4b25-a9db-8ad0e172901b | controller-2 | bee9d1a6181a4b1da62a9fd3c9a69c9f | ACTIVE | - | Running | ctlplane=192.168.24.15 |
+--------------------------------------+--------------+----------------------------------+--------+------------+-------------+------------------------+

Nova list contains the Tenant ID and OpenStack Client doesn't.

With patch:

(undercloud) [stack@undercloud-0 ~]$ openstack server list --long
+--------------------------------------+--------------+--------+----------------------------------+------------+-------------+------------------------+----------------+--------------------------------------+-------------+--------------------------------------+-------------------+---------------------------+------------+
| ID | Name | Status | Project ID | Task State | Power State | Networks | Image Name | Image ID | Flavor Name | Flavor ID | Availability Zone | Host | Properties |
+--------------------------------------+--------------+--------+----------------------------------+------------+-------------+------------------------+----------------+--------------------------------------+-------------+--------------------------------------+-------------------+---------------------------+------------+
| a1d5735d-4875-4b25-a9db-8ad0e172901b | controller-2 | ACTIVE | bee9d1a6181a4b1da62a9fd3c9a69c9f | None | Running | ctlplane=192.168.24.15 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | controller | 3dce6a2a-0698-4080-b6a1-54a9a10bf2a0 | nova | undercloud-0.redhat.local | |
| 769898d6-70c4-4455-bcd3-fee45c51eb2c | controller-0 | ACTIVE | bee9d1a6181a4b1da62a9fd3c9a69c9f | None | Running | ctlplane=192.168.24.7 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | controller | 3dce6a2a-0698-4080-b6a1-54a9a10bf2a0 | nova | undercloud-0.redhat.local | |
| 806131ac-ab6a-4f7e-a11a-46181228f814 | controller-1 | ACTIVE | bee9d1a6181a4b1da62a9fd3c9a69c9f | None | Running | ctlplane=192.168.24.17 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | controller | 3dce6a2a-0698-4080-b6a1-54a9a10bf2a0 | nova | undercloud-0.redhat.local | |
| d08bed43-796d-48a0-8a3f-ab807394f739 | compute-0 | ACTIVE | bee9d1a6181a4b1da62a9fd3c9a69c9f | None | Running | ctlplane=192.168.24.12 | overcloud-full | 3af2bdca-4294-4180-a1c3-a86a8e654ec1 | compute | ae8a3853-b5c9-4173-82e1-a1135452e733 | nova | undercloud-0.redhat.local | |
+--------------------------------------+--------------+--------+----------------------------------+------------+-------------+------------------------+----------------+--------------------------------------+-------------+--------------------------------------+-------------------+---------------------------+------------+
(undercloud) [stack@undercloud-0 ~]$ openstack server list --long -c "Name" -c "Project ID"
+--------------+----------------------------------+
| Name | Project ID |
+--------------+----------------------------------+
| controller-2 | bee9d1a6181a4b1da62a9fd3c9a69c9f |
| controller-0 | bee9d1a6181a4b1da62a9fd3c9a69c9f |
| controller-1 | bee9d1a6181a4b1da62a9fd3c9a69c9f |
| compute-0 | bee9d1a6181a4b1da62a9fd3c9a69c9f |
+--------------+----------------------------------+

Robin Cernin (rcernin)
description: updated
Changed in python-openstackclient:
assignee: nobody → Robin Cernin (rcernin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Changed in python-openstackclient:
status: New → In Progress
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.