[DockerStandaloneHost] No function "#operator_in"

Bug #1504336 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Stan Lagun
Liberty
Fix Released
Critical
Stan Lagun
Mitaka
Fix Released
High
Stan Lagun

Bug Description

Error: No function "#operator_in" matches supplied arguments when deploying DOckerStandaloneHost from master

Here is the traceback:

2015-10-09 01:27:18.318 71727 ERROR murano.common.engine [-]
  yaql.language.exceptions.NoMatchingFunctionException: No function "#operator_in" matches supplied arguments
  Traceback (most recent call last):
    File "/var/folders/yq/lck68_m13zjgk_hdj_kx8dgc0000gn/T/murano-packages-cache/ae902ccb9566443ab15f458f18f64b29/4ac255e3e7b14e61bad6d6ed44c46a4a/Classes/Environment.yaml", line 70:9 in method deploy of class io.murano.Environment
        $.applications.pselect($.deploy())
    File "/var/folders/yq/lck68_m13zjgk_hdj_kx8dgc0000gn/T/murano-packages-cache/ae902ccb9566443ab15f458f18f64b29/e0443bed5cbb431d9a695a12ffe52fc4/Classes/DockerApplication.yaml", line 50:37 in method deploy of class io.murano.apps.docker.DockerApplication
        $.host.hostContainer($container)
    File "/var/folders/yq/lck68_m13zjgk_hdj_kx8dgc0000gn/T/murano-packages-cache/ae902ccb9566443ab15f458f18f64b29/3861ce8520054010aff81db5abf08735/Classes/DockerStandaloneHost.yaml", line 94:28 in method hostContainer of class io.murano.apps.docker.DockerStandaloneHost
        $._acquirePort($applicationPort, $container.name)
    File "/var/folders/yq/lck68_m13zjgk_hdj_kx8dgc0000gn/T/murano-packages-cache/ae902ccb9566443ab15f458f18f64b29/3861ce8520054010aff81db5abf08735/Classes/DockerStandaloneHost.yaml", line 210:13 in method _acquirePort of class io.murano.apps.docker.DockerStandaloneHost
        $port in $portMap
    File "/Users/teferi/murano/murano/murano/dsl/macros.py", line 121 in method execute
        res = self._condition(context)
    File "/Users/teferi/murano/murano/murano/dsl/yaql_expression.py", line 82 in method __call__
        return self._parsed_expression.evaluate(context=context)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/expressions.py", line 165 in method evaluate
        return self(utils.NO_VALUE, context, self.engine)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/expressions.py", line 156 in method __call__
        return super(Statement, self).__call__(receiver, context, engine)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__
        return context(self.name, engine, receiver, context)(*self.args)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda>
        data_context, use_convention, function_filter)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 49 in method call
        name, all_overloads, engine, receiver, data_context, args, kwargs)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method choose_overload
        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method <genexpr>
        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 113 in method <lambda>
        and not isinstance(arg, expressions.Constant))
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__
        return context(self.name, engine, receiver, context)(*self.args)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda>
        data_context, use_convention, function_filter)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 49 in method call
        name, all_overloads, engine, receiver, data_context, args, kwargs)
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 141 in method choose_overload
        raise_not_found()
    File "/Users/teferi/murano/murano/.tox/venv/lib/python2.7/site-packages/yaql/language/runner.py", line 70 in method raise_not_found
        raise exceptions.NoMatchingFunctionException(name)

Changed in murano-apps:
milestone: none → liberty-rc2
no longer affects: murano-apps
no longer affects: murano-apps/liberty
no longer affects: murano-apps/mitaka
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/233074

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

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

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

Reviewed: https://review.openstack.org/233075
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=42b5019ff8a05aec26c911ecc1cd09d3a0439624
Submitter: Jenkins
Branch: stable/liberty

commit 42b5019ff8a05aec26c911ecc1cd09d3a0439624
Author: Stan Lagun <email address hidden>
Date: Fri Oct 9 17:01:35 2015 +0300

    Incorrect yaql engine was used for MuranoPL/1.0

    Change-Id: I46ceeb9190f82a26b9cb8cdced1e4bc205e3bc5a
    Closes-Bug: #1504336

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

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

commit 838084ccdc7821e5217f993e5db9b60b77054526
Author: Stan Lagun <email address hidden>
Date: Fri Oct 9 17:01:35 2015 +0300

    Incorrect yaql engine was used for MuranoPL/1.0

    Change-Id: I46ceeb9190f82a26b9cb8cdced1e4bc205e3bc5a
    Closes-Bug: #1504336

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