<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Greg,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">based on the stack trace provided I see that it happened because the Heat stack output had wrong value.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">If you look at <a href="https://github.com/openstack/murano/blob/stable/newton/meta/io.murano/Classes/resources/Instance.yaml#L178-L179">https://github.com/openstack/murano/blob/stable/newton/meta/io.murano/Classes/resources/Instance.yaml#L178-L179</a></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="margin:0px"><div id="bloop_customfont" style="margin:0px">      - $netIdToIpsMap: $outputs.get(format('{0}-assigned-ips', $<a href="http://this.name">this.name</a>))</div><div id="bloop_customfont" style="margin:0px">      - $.ipAddresses: $netIdToIpsMap.values().flatten().distinct()  # <--- exception is thrown here</div><div id="bloop_customfont" style="margin:0px"><br></div><div id="bloop_customfont" style="margin:0px">"No method "values" for receiver None..." means that $netIdToIpsMap is null (None), which, in turn, means that</div><div id="bloop_customfont" style="margin:0px">ether there in no output value with the name "$instanceName-assigned-ips" or its value is null. In both cases it is not</div><div id="bloop_customfont" style="margin:0px">something that can happen under normal conditions. Unfortunately I cannot tell why it happened in your case.</div><div id="bloop_customfont" style="margin:0px">I'd start with debugging of the Heat stack in attempt to find out why Heat didn't set the output values</div><div id="bloop_customfont" style="margin:0px"><br></div><div id="bloop_customfont" style="margin:0px">Regards,</div><div id="bloop_customfont" style="margin:0px">Stan</div><div style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px"><br></div></div> <div id="bloop_sign_1488842028351858176" class="bloop_sign"></div> <br><p class="airmail_on">On March 6, 2017 at 12:02:59 PM, Waines, Greg (<a href="mailto:greg.waines@windriver.com">greg.waines@windriver.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72"><div></div><div>








<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">We are attempting to integrate a NEWTON-version of MURANO integrated into our OpenStack solution.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">With a very simple murano package/app, that basically just does a “ $.instance.deploy() “ in its deploy method of its main class,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">we are getting the following traceback error (see end of email).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Any thoughts / guidance on potential issues ?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">( NOTE … we had been trying to run with the secondary rabbit server, but now (temporarily) just pointing murano at the core rabbit server to get past some issues with not having the secondary rabbit server
 running. )</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">thanks in advance,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Greg.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">2017-03-06 19:28:08.904 184898 ERROR murano.common.engine [-]</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  yaql.language.exceptions.NoMatchingMethodException: No method "values" for receiver None matches supplied arguments</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">  Traceback (most recent call last):</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/tmp/murano-packages-cache/io.murano/0.0.0/37e6dfe1415c4caa9150a53fc18506ef/Classes/Environment.yaml", line 120:9 in method deploy of type io.murano.Environment</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        $.applications.pselect($.deploy())</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/tmp/murano-packages-cache/wrs.titanium.murano.examples.cgcs_guest/0.0.0/b7554a5f915748629da6e425005e1933/Classes/cgcs_guest.yaml", line 41:13 in method deploy of type wrs.titanium.murano.examples.cgcs_guest</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        $.instance.deploy()</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/tmp/murano-packages-cache/io.murano/0.0.0/37e6dfe1415c4caa9150a53fc18506ef/Classes/resources/Instance.yaml", line 194:9 in method deploy of type io.murano.resources.Instance</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        $this.endDeploy()</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/tmp/murano-packages-cache/io.murano/0.0.0/37e6dfe1415c4caa9150a53fc18506ef/Classes/resources/Instance.yaml", line 179:24 in method endDeploy of type io.murano.resources.Instance</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        $netIdToIpsMap.values().flatten().distinct()</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/murano/dsl/helpers.py", line 53 in method evaluate</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return value(context)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/murano/dsl/yaql_expression.py", line 85 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return self._parsed_expression.evaluate(context=context)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 165 in method evaluate</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return self(utils.NO_VALUE, context, self.engine)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 156 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return super(Statement, self).__call__(receiver, context, engine)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return context(<a href="http://self.name">self.name</a>, engine, receiver, context)(*self.args)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        data_context, use_convention, function_filter)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 49 in method call</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        name, all_overloads, engine, receiver, data_context, args, kwargs)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method choose_overload</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method <genexpr></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 113 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        and not isinstance(arg, expressions.Constant))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return context(<a href="http://self.name">self.name</a>, engine, receiver, context)(*self.args)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        data_context, use_convention, function_filter)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 49 in method call</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        name, all_overloads, engine, receiver, data_context, args, kwargs)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method choose_overload</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method <genexpr></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 113 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        and not isinstance(arg, expressions.Constant))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return context(<a href="http://self.name">self.name</a>, engine, receiver, context)(*self.args)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        data_context, use_convention, function_filter)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 49 in method call</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        name, all_overloads, engine, receiver, data_context, args, kwargs)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method choose_overload</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 117 in method <genexpr></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        args = tuple(arg_evaluator(i, arg) for i, arg in enumerate(args))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 113 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        and not isinstance(arg, expressions.Constant))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return context(<a href="http://self.name">self.name</a>, engine, receiver, context)(*self.args)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        data_context, use_convention, function_filter)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 51 in method call</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        result = delegate()</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 142 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return lambda: delegate()</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/specs.py", line 341 in method func</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        six.iteritems(keyword_args)))</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/standard_library/system.py", line 34 in method op_dot</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return expr(receiver)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/yaqltypes.py", line 269 in method func</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        engine, args, kwargs)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/yaqltypes.py", line 236 in method _call</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        result = value(receiver, context, engine)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/expressions.py", line 37 in method __call__</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        return context(<a href="http://self.name">self.name</a>, engine, receiver, context)(*self.args)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/contexts.py", line 65 in method <lambda></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        data_context, use_convention, function_filter)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 49 in method call</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        name, all_overloads, engine, receiver, data_context, args, kwargs)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 108 in method choose_overload</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        raise_not_found()</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">    File "/usr/lib/python2.7/site-packages/yaql/language/runner.py", line 72 in method raise_not_found</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">        raise exceptions.NoMatchingMethodException(name, receiver)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
</div>


__________________________________________________________________________
<br>OpenStack Development Mailing List (not for usage questions)
<br>Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
<br></div></div></span></blockquote></body></html>