[dashboard][glare] Showing of incorrect number of the packages in the category

Bug #1537070 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Unassigned
Mitaka
New
Undecided
Unassigned
Newton
Fix Released
Medium
Unassigned

Bug Description

Steps to reproduce:
1. Log in web UI
2. Import some number of packages and assign them to "TEST" category
3. Enable usage of glance artifacts in the Murano
4. Log in Web UI
5. Navigate to "Package Definitions": no packages should be here
6. Navigate to "Categories"

Observed result:
User can see that "Package Count" of "TEST" category is not equal to "0", so it counts packages from db.

Changed in murano:
milestone: none → mitaka-rc1
Changed in murano:
status: New → Confirmed
Changed in murano:
milestone: mitaka-rc1 → newton-1
Changed in murano:
assignee: nobody → Valerii Kovalchuk (vakovalchuk)
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

There's no possibility to fix this bug in some trivial way as glare doesn't store information about number of packages in each category. I think status of the bug should be set to "Won't fix" as for now.

Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

I will work on a patch to prevent showing of package counters in case of using glare

Changed in murano:
importance: Undecided → Medium
tags: added: dashboard glare
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

Changed in murano:
status: Confirmed → In Progress
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

I've made a patch to hide package counters temporarily until this bug will be fixed appropriately: https://review.openstack.org/#/c/299419/
Change-Id: I62487dbb12b1d104d293dcc499ded216982e0159

This patch needs to be removed when counters will work properly with glare.

Changed in murano:
status: In Progress → Confirmed
assignee: Valerii Kovalchuk (vakovalchuk) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/299419
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=6ff16698c839b4c0f7d3488f866bbc3e8db87ae5
Submitter: Jenkins
Branch: master

commit 6ff16698c839b4c0f7d3488f866bbc3e8db87ae5
Author: Valerii Kovalchuk <email address hidden>
Date: Wed Mar 30 16:50:30 2016 +0300

    Hide package_counter in case of using glare

    It is now impossible to display the correct number of packages in
    each category using glare as a package storage, because glare
    doesn't store this information. Therefore, it is better to just
    hide counters from the user until package count will be implemented
    in Glare.

    Change-Id: I62487dbb12b1d104d293dcc499ded216982e0159
    Related-bug: #1537070

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to murano-dashboard (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/305746

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to murano-dashboard (stable/mitaka)

Reviewed: https://review.openstack.org/305746
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=4d2403f5ab01113e91f3888b0266a2a8e090b66f
Submitter: Jenkins
Branch: stable/mitaka

commit 4d2403f5ab01113e91f3888b0266a2a8e090b66f
Author: Valerii Kovalchuk <email address hidden>
Date: Wed Mar 30 16:50:30 2016 +0300

    Hide package_counter in case of using glare

    It is now impossible to display the correct number of packages in
    each category using glare as a package storage, because glare
    doesn't store this information. Therefore, it is better to just
    hide counters from the user until package count will be implemented
    in Glare.

    Change-Id: I62487dbb12b1d104d293dcc499ded216982e0159
    Related-bug: #1537070
    (cherry picked from commit 6ff16698c839b4c0f7d3488f866bbc3e8db87ae5)

tags: added: in-stable-mitaka
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.