Attaching metadata to an application package doesn't seem to work

Bug #1557099 reported by Valerii Kovalchuk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun

Bug Description

Attached package is an empty test application which has metadata in its manifest.yaml file.
When I try to deploy this application the following exception is thrown:
Class io.murano.bar.MetaClassOne is not found in io.murano/0.0.0, io.murano.bar.Bar/0.0.0
If I remove metadata in manifest.yaml deployment works fine.
Attaching metadata to class, property and method doesn't cause any issues.

Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

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

Changed in murano:
assignee: nobody → Stan Lagun (slagun)
status: New → In Progress
Stan Lagun (slagun)
Changed in murano:
importance: Undecided → High
milestone: none → mitaka-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/292639
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=c709286176ee07bc7143aeaae8b4b838933ac582
Submitter: Jenkins
Branch: master

commit c709286176ee07bc7143aeaae8b4b838933ac582
Author: Stan Lagun <email address hidden>
Date: Tue Mar 15 02:02:52 2016 +0300

    Delay load of package Meta

    When MuranoPackage instance is created and it has
    Meta referring to classes in the same package there
    will be an exception because no classes were registered
    in the package yet.

    The solution is to have lazy metadata load upon first
    call to get_meta()

    Change-Id: I9a6cb96924e9d66fb79405763142bc78477940f1
    Closes-Bug: #1557099

Changed in murano:
status: In Progress → Fix Released
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.