Comment 3 for bug 1502790

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

Reviewed: https://review.openstack.org/230908
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=6c8f31c31c8633af5d2898e29c4ce38b16068dff
Submitter: Jenkins
Branch: stable/liberty

commit 6c8f31c31c8633af5d2898e29c4ce38b16068dff
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