VM doesn't show up under some PTGs if I create more than 32 PTGs/VMs

Bug #1476838 reported by Kent Wu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy UI
In Progress
High
Sumit Naiksatam

Bug Description

Very simple scale test case, I used a script to create 32 L2 policies/PTGs/PTs then launch 32 VMs (one for each PTG), every VM is up & running ok. On the APIC side all the EPs are getting discovered also. However when I clicked on:

Project->Policy->Groups->[some group name]

I couldn't find the VM associated with that group so something is missing from the GUI. Both Jishnu & Sumit have taken a look at it and I think they already know what's going on.

Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

The issue I believe is in the following code:
https://github.com/stackforge/group-based-policy-ui/blob/master/gbpui/panels/policytargets/tabs.py#L101-L102

where pagination is being used by only the first page is being processed. A simple code change by setting pagination to False validates this theory.

Changed in group-based-policy-ui:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Sumit Naiksatam (snaiksat)
milestone: none → kilo-gbp-4
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (master)

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

Changed in group-based-policy-ui:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (master)

Reviewed: https://review.openstack.org/208182
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=81528f20ab78694b5798371962381911dccad4b9
Submitter: Jenkins
Branch: master

commit 81528f20ab78694b5798371962381911dccad4b9
Author: Sumit Naiksatam <email address hidden>
Date: Sat Aug 1 20:48:29 2015 -0700

    Set paginate to false for member retrieval

    This is a temporary fix since currently paginate is broken.

    Comment in the code explains the problem and suggests a way
    to fix it.

    Change-Id: I0519056116693dfb7365d0a0a8b6f2b0e26fd3d8
    Partially-closes-bug: 1476838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/209270

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (stable/juno)

Reviewed: https://review.openstack.org/209270
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=37ed4828d6092ffb5dc7a30df066ead901310f58
Submitter: Jenkins
Branch: stable/juno

commit 37ed4828d6092ffb5dc7a30df066ead901310f58
Author: Sumit Naiksatam <email address hidden>
Date: Sat Aug 1 20:48:29 2015 -0700

    Set paginate to false for member retrieval

    This is a temporary fix since currently paginate is broken.

    Comment in the code explains the problem and suggests a way
    to fix it.

    Change-Id: I0519056116693dfb7365d0a0a8b6f2b0e26fd3d8
    Partially-closes-bug: 1476838
    (cherry picked from commit 81528f20ab78694b5798371962381911dccad4b9)

tags: added: in-stable-juno
Changed in group-based-policy-ui:
milestone: kilo-gbp-4 → next
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.