Tenant/Project info is not displayed in port list --long

Bug #1648001 reported by Badhmapriya Boopalan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Won't Fix
Medium
Badhmapriya Boopalan

Bug Description

Scenario : View port details by 'openstack port list' or 'openstack port list --long'

Issue : Currently, port list does not display the tenant information (tenant_id)
stack@openstack-vm:/home/priya_openstack/devstack$ openstack port list --long
+-------------------------------------+------+-------------------+-------------------------------------+--------+-----------------+--------------------------+
| ID | Name | MAC Address | Fixed IP Addresses | Status | Security Groups | Device Owner |
+-------------------------------------+------+-------------------+-------------------------------------+--------+-----------------+--------------------------+
| 0afaf25d-a175-4e00-9e63-a5e0a26f4fb | | fa:16:3e:30:a0:5e | ip_address='2001:db8:8000::1', | ACTIVE | | network:router_interface |
| f | | | subnet_id='e1af8b4d-1d94-409a- | | | |
| | | | 83b6-4bb2db9f79f3' | | | |

However, in neutron-client, the tenant info gets displayed in the ouptput
stack@openstack-vm:~$ neutron port-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+------+----------------------------------+-------------------+-----------------------------------------------+
| id | name | tenant_id | mac_address | fixed_ips |
+--------------------------------------+------+----------------------------------+-------------------+-----------------------------------------------+
| 0afaf25d-a175-4e00-9e63-a5e0a26f4fbf | | 31ea942e7a094667911cc936f65dabcc | fa:16:3e:30:a0:5e | {"subnet_id": "e1af8b4d-1d94-409a- |
| | | | | 83b6-4bb2db9f79f3", "ip_address": |
| | | | | "2001:db8:8000::1"} |

Solution : Tenant_id should be displayed while triggering 'openstack port list --long' command

Tags: network
Changed in python-openstackclient:
assignee: nobody → Badhmapriya Boopalan (priyaboopalan)
Richard Theis (rtheis)
tags: added: network
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in python-openstackclient:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Steve Martinelli (stevemar) wrote :

Oops, didn't realize the bug is for adding a column, not a filter. Disregard previous comment.

tags: removed: python-openstackclient
Revision history for this message
Badhmapriya Boopalan (priyaboopalan) wrote :

I think its more appropriate to display Project ID. Please validate

Changed in python-openstackclient:
status: Triaged → In Progress
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/408322

summary: - Tenant info (tenant_id) is not displayed in port list
+ Tenant/Project info is not displayed in port list --long
Artem Goncharov (gtema)
Changed in python-openstackclient:
status: In Progress → Won't Fix
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.