When Enhanced Tacker Policy is enabled, the paging of v1 vnflcm list does not work properly

Bug #2069392 reported by Takahiro Miyajima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
Unassigned

Bug Description

When Enhanced Tacker Policy is enabled, the paging of v1 vnflcm list does not work properly
As the result, all the vnf instances that match the condition of Enhanced Tacker Policy cannot be shown in the vnflcm list

In the existing implementation,
1) Get a list of vnf instances applying limit (= vnf_instance_num)
2) Get vnf instances that match the condition of Enhanced Tacker Policy from the result of 1
3) If the result of 2 is greater than limit, set nextpage

Because get a list of vnf instances appying limit in 1, there is the case not to get vnf instance in 2, and nextpage cannot be set in 3.
When Enhanced Tacker Policy is enabled, should get vnf instances without applying limit in 1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tacker/+/922197

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

Reviewed: https://review.opendev.org/c/openstack/tacker/+/922197
Committed: https://opendev.org/openstack/tacker/commit/8ad2cb7a2ca93e2e8646e18c3e0d86238ba767cf
Submitter: "Zuul (22348)"
Branch: master

commit 8ad2cb7a2ca93e2e8646e18c3e0d86238ba767cf
Author: Yasufumi Ogawa <email address hidden>
Date: Tue Jun 18 19:12:11 2024 +0900

    Fix issue of the paging of v1 vnflcm list

    - When Enhanced Tacker Policy is enabled, the paging of v1 vnflcm list
      does not work properly.
    - As the result, all the vnf instances that match the condition of
      Enhanced Tacker Policy cannot be shown in the vnflcm list.
    - Fix so that nextpage is properly set when Enhanced Tacker Policy
      is enabled.

    Closes-Bug: #2069392
    Change-Id: I1731106f4a66f9bd7166f94c2815c7acd0e02994
    Signed-off-by: Yasufumi Ogawa <email address hidden>
    Co-Authored-By: Takahiro Miyajima <email address hidden>

Changed in tacker:
status: In Progress → Fix Released
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.