Comment 4 for bug 1502790

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

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

commit e35c0749e01e5a4c897f3a2992b0d916203f9257
Author: Stan Lagun <email address hidden>
Date: Mon Oct 5 11:14:34 2015 +0300

    Python method results were not converted to immutable values

    When Python methods is called from MuranoPL code its result was not
    converted to immutable value that yaql 1.0 operates on.
    For example consider that we have

    def foo():
      return [1]

    and MuranoPL code:
     - $val: list(1)
     - $cmp: foo() = $val

    as a result $cmp was set to false because [1] != (1,)

    This bug caused all Docker/Kubernetes apps to break on re-deployment

    Change-Id: I56fcf8bfa01323aab2e79cf11a1569f97e5365a3
    Closes-Bug: #1502790