'vnf package list --exclude_default' do not display expected fields in command output

Bug #1875330 reported by Shubham Potale
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-tackerclient
Fix Released
Undecided
Shubham Potale

Bug Description

If you list vnf package with --exclude_default option, it should display all attributes except default set of complex attributes:-

$ openstack vnf package list --exclude_default

Expected fields:
'id', 'vnfProductName', 'onboardingState', 'usageState', 'operationalState', '_links', 'vnfdVersion', 'vnfProvider', 'vnfSoftwareVersion', 'vnfdId'

Actual fields displayed are:
'id', 'vnfProductName', 'onboardingState', 'usageState', 'operationalState'

Changed in python-tackerclient:
assignee: nobody → Shubham Potale (shubhamp)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tackerclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/724796

Changed in python-tackerclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tackerclient (master)

Reviewed: https://review.opendev.org/724796
Committed: https://git.openstack.org/cgit/openstack/python-tackerclient/commit/?id=4ec52e30b22ac54e7b920c9a61466732a1fb914f
Submitter: Zuul
Branch: master

commit 4ec52e30b22ac54e7b920c9a61466732a1fb914f
Author: Shubham <email address hidden>
Date: Mon Apr 27 16:39:39 2020 +0530

    Display correct fields in output for list command

    If user list vnf packages with --exclude_default option, it should
    display all attributes except default set of complex.

    $ openstack vnf package list --exclude_default
    Expected fields:
      'id', 'vnfProductName', 'onboardingState', 'usageState',
      'operationalState', '_links', 'vnfdVersion', 'vnfProvider',
      'vnfSoftwareVersion', 'vnfdId'

    Actual fields displayed are:
       'id', 'vnfProductName', 'onboardingState', 'usageState',
       'operationalState'

    Fixed this issue and now it will display fields as mentioned above in
    expected fields.

    Closes-Bug: 1875330

    Change-Id: I61da40d2e6e7e42999b7ab2d2441cddde64118d9

Changed in python-tackerclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tackerclient (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/727947

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tackerclient (stable/ussuri)

Reviewed: https://review.opendev.org/727947
Committed: https://git.openstack.org/cgit/openstack/python-tackerclient/commit/?id=548453627f286c0cf8bad8423ac183624f66a561
Submitter: Zuul
Branch: stable/ussuri

commit 548453627f286c0cf8bad8423ac183624f66a561
Author: Shubham <email address hidden>
Date: Mon Apr 27 16:39:39 2020 +0530

    Display correct fields in output for list command

    If user list vnf packages with --exclude_default option, it should
    display all attributes except default set of complex.

    $ openstack vnf package list --exclude_default
    Expected fields:
      'id', 'vnfProductName', 'onboardingState', 'usageState',
      'operationalState', '_links', 'vnfdVersion', 'vnfProvider',
      'vnfSoftwareVersion', 'vnfdId'

    Actual fields displayed are:
       'id', 'vnfProductName', 'onboardingState', 'usageState',
       'operationalState'

    Fixed this issue and now it will display fields as mentioned above in
    expected fields.

    Closes-Bug: 1875330

    Change-Id: I61da40d2e6e7e42999b7ab2d2441cddde64118d9

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tackerclient 1.1.1

This issue was fixed in the openstack/python-tackerclient 1.1.1 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.