[glare] importing a package with !yaql tag fails

Bug #1586028 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
High
Kirill Zaitsev
Liberty
Fix Committed
Undecided
Kirill Zaitsev
Mitaka
Fix Committed
High
Kirill Zaitsev
Newton
Fix Released
High
Kirill Zaitsev

Bug Description

When glare is used client has to parse the classes to store inheritance info in glare. When doing so client apparently uses unmodified loader, thus importing a package with "yaql!"

The error is:
Error could not determine a constructor for the tag '!yaql'
  in "Classes/OpenLDAP.yaml", line 86, column 9 occurred while installing package XXX

to reproduce — try importing io.murano.opaas.CiCdEnvironment from a.o.o

Expected result: no errors when importing such packages.

Tags: glare
description: updated
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/333592

Changed in python-muranoclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/333593

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/333594

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

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

commit b7a5c744003da64655fbd4d5fac785f18a6c37a0
Author: Kirill Zaitsev <email address hidden>
Date: Thu Jun 2 14:03:09 2016 +0300

    Use DummyYaqlYamlLoader to load classes during upload

    This commit changes the loader, that loads MuranoPL classes during
    package upload to DummyYaqlYamlLoader. This would allow importing and parsing
    packages that contain '!yaql' tag without any errors, when importing to
    glare.

    Change-Id: I9071bb479019cac20bf61f110154082063c9d777
    Closes-Bug: #1586028

Changed in python-muranoclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (stable/mitaka)

Reviewed: https://review.openstack.org/333593
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=5b05ef8a169872c22c6b9f92379a45fe5060e98d
Submitter: Jenkins
Branch: stable/mitaka

commit 5b05ef8a169872c22c6b9f92379a45fe5060e98d
Author: Kirill Zaitsev <email address hidden>
Date: Thu Jun 2 14:03:09 2016 +0300

    Use DummyYaqlYamlLoader to load classes during upload

    This commit changes the loader, that loads MuranoPL classes during
    package upload to DummyYaqlYamlLoader. This would allow importing and parsing
    packages that contain '!yaql' tag without any errors, when importing to
    glare.

    Change-Id: I9071bb479019cac20bf61f110154082063c9d777
    Closes-Bug: #1586028

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

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

commit 369056a1f6021349f91dea1662c0bc36ccb2f155
Author: Kirill Zaitsev <email address hidden>
Date: Thu Jun 2 14:03:09 2016 +0300

    Use DummyYaqlYamlLoader to load classes during upload

    This commit changes the loader, that loads MuranoPL classes during
    package upload to DummyYaqlYamlLoader. This would allow importing and parsing
    packages that contain '!yaql' tag without any errors, when importing to
    glare.

    Change-Id: I9071bb479019cac20bf61f110154082063c9d777
    Closes-Bug: #1586028

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.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-muranoclient 0.8.5

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

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-muranoclient 0.7.3

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

This issue was fixed in the openstack/python-muranoclient 0.7.3 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.