[murano+glare][ui] Can't navigate to environment's components page

Bug #1501405 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
Medium
Alexander Tivelkov
Liberty
Fix Released
Medium
Anastasia Kuznetsova

Bug Description

Steps to reproduce:
1) Enable Murano + GLARE interaction
murano-dashboard side:
1. Add 'MURANO_USE_GLARE = True' in the horizon/openstack_dashboard/settings.py
2. restart apache2 service

murano side:
1. uncomment "packages_service=murano" parameter in murano.conf and change its value to 'glance'
2. execute 'python setup.py install' in the contrib/glance folder
3. restart murano services

glance side:
1. uncomment "enable_v3_api = false" and change its value to 'true'
2. restart glance service

2) Log in WebUI
3) Navigate to "Murano" > "Manage" > "Package Definitions" tab
4) Try import some package
5) Navigate to "Murano" > "Application Catalog" > "Environments"
6) Create environment and go to components page

Observer result:
Error during template rendering

In template /opt/stack/murano-dashboard/muranodashboard/templates/services/_data_table.html, error at line 7
'ArtifactType' object has no attribute 'to_dict'

http://paste.openstack.org/show/474883/

Tags: glare
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :
summary: - [murano+glare][ui] Can't navigate to environment components page
+ [murano+glare][ui] Can't navigate to environment's components page
Changed in murano:
importance: Undecided → Medium
milestone: none → mitaka-1
tags: added: glare
Changed in murano:
status: New → Triaged
Revision history for this message
Alexander Tivelkov (ativelkov) wrote :
Changed in murano:
assignee: nobody → Alexander Tivelkov (ativelkov)
status: Triaged → In Progress
affects: murano → python-muranoclient
Changed in python-muranoclient:
milestone: mitaka-1 → none
status: In Progress → Fix Committed
milestone: none → 0.8.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (master)

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

commit e5026fff1f958603fb9bf666590f1f2c2961c426
Author: Alexander Tivelkov <email address hidden>
Date: Mon Nov 30 12:51:08 2015 +0300

    'to_dict' method added to PackageWrapper class

    PackageWrapper objects, returned by the glare wrapper of the murano
    client did not contain the 'to_dict' method which is needed for
    carousel.

    Appropriate method has been added. It does not need to return the full
    dict representation of the object: just id, name and owner_id have to
    be returned, as these are the only fields used by the carousel.

    Change-Id: I2759ade3cfcbade27b459ba9b21b29e240f7696e
    Closes-Bug: #1501405

Changed in python-muranoclient:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/256464

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

Reviewed: https://review.openstack.org/256464
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=d125c2f75445fedb69f4fbcbec4ec4f6290644aa
Submitter: Jenkins
Branch: stable/liberty

commit d125c2f75445fedb69f4fbcbec4ec4f6290644aa
Author: Alexander Tivelkov <email address hidden>
Date: Mon Nov 30 12:51:08 2015 +0300

    'to_dict' method added to PackageWrapper class

    PackageWrapper objects, returned by the glare wrapper of the murano
    client did not contain the 'to_dict' method which is needed for
    carousel.

    Appropriate method has been added. It does not need to return the full
    dict representation of the object: just id, name and owner_id have to
    be returned, as these are the only fields used by the carousel.

    Change-Id: I2759ade3cfcbade27b459ba9b21b29e240f7696e
    Closes-Bug: #1501405
    (cherry picked from commit e5026fff1f958603fb9bf666590f1f2c2961c426)

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.