murano deploy environment faild

asked 2019-07-19 03:59:48 -0500

Ammy gravatar image

updated 2019-07-23 21:59:34 -0500

I have successfully deployed murano5.0.0 on my openstack queens, I set up environmnet and added the package. After clicking deploy, it failed within three minutes. I went back and looked at the logs of murano-engine and found error: AttributeError: 'method' object has no attribute '__yaql_function__'

I feel very confused. This problem has been bothering me for a long time. I would be very grateful if you could give me some Suggestions

I have made the following efforts to solve this error:

1.I have confirmed that the version of python-yaql in tox virtual environment fits to the requirment.txt

2.I have tested several different types and different format of application package, and the errors in murano-engine.log were the same, as shown below.

3.Looking at the API logs, i infer that the error is caused by 'load definitions'.it gets an error when engine reads the json document.

2019-07-18 16:11:29.135 37682 WARNING murano.dsl.murano_method [-] "Usage: Action" is deprecated, use "Scope: Public" instead
2019-07-18 16:11:30.110 37682 ERROR murano.common.engine [-] 
  AttributeError: 'method' object has no attribute '__yaql_function__'
     Traceback (most recent call last):
         File "/tmp/murano-packages-cache/io.murano/0.0.0/09f71de7f0b94225a5b3379154fc38e4/Classes/Environment.yaml", line 120:9 in method deploy of type io.murano.Environment
         File "/tmp/murano-packages-cache/com.example.apache.ApacheHttpServer/0.0.0/8b73ee307be147d093bbb169b2834936/Classes/ApacheHttpServer.yaml", line 54:13 in method deploy of 
type com.example.apache.ApacheHttpServer
         File "/tmp/murano-packages-cache/io.murano/0.0.0/09f71de7f0b94225a5b3379154fc38e4/Classes/resources/Instance.yaml", line 213:9 in method deploy of type io.murano.resources.Instance
         File "/root/murano/murano/murano/dsl/", line 54 in method __init__
             payload, self_ref, original_name)
         File "/root/murano/murano/murano/dsl/", line 166 in method get_function_definition
         File "/root/murano/murano/.tox/venv/lib/python3.5/site-packages/yaql/language/", line 409 in method get_function_definition
             fd = _get_function_definition(func).clone()
         File "/root/murano/murano/.tox/venv/lib/python3.5/site-packages/yaql/language/", line 368 in method _get_function_definition
             func.__yaql_function__ = fd: murano.dsl.dsl_exception.MuranoPlException: [AttributeError]: 'method' object has no attribute '__yaql_function__'
edit retag flag offensive close merge delete