show network information return duplicated project id

Bug #1636123 reported by yujie
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
yujie

Bug Description

When show network , it returns as below, project_id present two times.
$ openstack network show net
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | nova |
| created_at | 2016-10-20T09:43:22Z |
| description | |
| id | f64dc978-1008-4242-af65-574299953ee5 |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| mtu | 1450 |
| name | net |
| port_security_enabled | True |
| project_id | f95f50637c814c3ca5294013e2dcadbc |
| project_id | f95f50637c814c3ca5294013e2dcadbc |
| provider:network_type | vxlan |
| provider:physical_network | None |
| provider:segmentation_id | 42 |
| revision_number | 5 |
| router:external | Internal |
| shared | False |
| status | ACTIVE |
| subnets | 2ba682e2-cf4a-44ae-813c-edf7b685735b |
| tags | [] |
| updated_at | 2016-10-20T09:43:22Z |
+---------------------------+--------------------------------------+

When show floating-ip/subnet/port and so on, project_id present twice as network.

Tags: network
yujie (16189455-d)
Changed in python-openstackclient:
assignee: nobody → yujie (16189455-d)
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/390232

Changed in python-openstackclient:
status: New → In Progress
yujie (16189455-d)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Richard Theis (rtheis)
tags: added: network
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/390232
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=151c161a5eaa2ef98bdd9fa291c1947ef1dd9487
Submitter: Jenkins
Branch: master

commit 151c161a5eaa2ef98bdd9fa291c1947ef1dd9487
Author: judy-yu <email address hidden>
Date: Mon Oct 24 17:16:48 2016 +0800

    Avoid duplicated project_id when show network

    Project_id appear twice when show network. This
    patch check and not append if it already has one.

    Change-Id: I4400239f454522101b639a0412050dd60eb6a612
    Closes-Bug: #1636123
    Partially-Implements: blueprint duplicated-project-id

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.4.0

This issue was fixed in the openstack/python-openstackclient 3.4.0 release.

Revision history for this message
Steve Martinelli (stevemar) wrote :

https://review.openstack.org/#/c/390430/ will fix the issue in many more places

Changed in python-openstackclient:
status: Fix Released → In Progress
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/390430
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=83675e9ee080d82b7c927180847d27fae6903e5a
Submitter: Jenkins
Branch: master

commit 83675e9ee080d82b7c927180847d27fae6903e5a
Author: judy-yu <email address hidden>
Date: Sun Dec 4 18:03:33 2016 +0800

    Avoid duplicated project_id when show network resources

    Project_id appear twice when show network resources. This
    patch check and not append if it already has one.

    Change-Id: I744988f3f52d4a744e397a6a82fefdc4c17eacbf
    Closes-Bug: #1636123
    Partially-Implements: blueprint duplicated-project-id

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.5.0

This issue was fixed in the openstack/python-openstackclient 3.5.0 release.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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