category-show subcommand don`t show packages for selected category

Bug #1561074 reported by Konstantin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
Medium
Konstantin
Mitaka
Confirmed
Undecided
Unassigned
Newton
Fix Released
Medium
Konstantin

Bug Description

How to reproduce

#. Set up DevStack with glare backend
#. Get list of categories using category-list subcommand

murano --murano-packages-service=glance category-show

#. Add one application to category "Web" via horizon
#. Find ID of category "Web" in murano client output
#. Try to show this category

murano --murano-packages-service=glance category-show <ID>

Actual output:

+----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| id | <ID> |
| name | Web |
| packages | |
+----------+----------------------------------+

Expected output:

+----------+----------------------------------+
| Property | Value |
+----------+----------------------------------+
| id | <ID> |
| name | Web |
| packages | <list of packages> |
+----------+----------------------------------+

Tags: glare
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (master)

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

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

Reviewed: https://review.openstack.org/297230
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=089a7c9f0a16cc654c572b65e6c530d7253caa44
Submitter: Jenkins
Branch: master

commit 089a7c9f0a16cc654c572b65e6c530d7253caa44
Author: Konstantin Snihyr <email address hidden>
Date: Thu Mar 24 18:17:47 2016 +0300

    Fix displaying packages in category-show subcommand

    Current way to retrieve packages for "category-show" subcommand
    doesn't work correctly when Glare is used as backend for Murano.
    This commit removes retrieving packages from many-to-many
    category field and introduses using request packages with filter
    by category name.

    Change-Id: I5d698f9e4d5f19a93fe1dda71223d19172b47b22
    Closes-Bug: #1561074

Changed in python-muranoclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-muranoclient 0.9.0

This issue was fixed in the openstack/python-muranoclient 0.9.0 release.

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.