当我尝试使用Cloudify安装nodecellar时,我收到以下错误
2015-07-13T17:31:03 LOG <nodecellar> [mongod_a50aa.configure] ERROR: Exception raised on operation [script_runner.tasks.run] invocation
Traceback (most recent call last):
File "/root/cloudify.host_dba5c/env/local/lib/python2.7/site-packages/cloudify/decorators.py", line 125, in wrapper
result = func(*args, **kwargs)
File "/root/cloudify.host_dba5c/env/local/lib/python2.7/site-packages/script_runner/tasks.py", line 58, in run
return process_execution(script_func, script_path, ctx, process)
File "/root/cloudify.host_dba5c/env/local/lib/python2.7/site-packages/script_runner/tasks.py", line 74, in process_execution
script_func(script_path, ctx, process)
File "/root/cloudify.host_dba5c/env/local/lib/python2.7/site-packages/script_runner/tasks.py", line 143, in execute
stderr_consumer.buffer.getvalue())
如何解决此问题?
答案 0 :(得分:0)
您运行脚本的Cloudify脚本插件引发了此异常,该脚本以非零错误代码退出。 Here is the source of that error
返回非零代码的脚本是映射到mongod节点上的configure操作的脚本。哪个脚本取决于您正在使用的Nodecellar蓝图的版本。
我无法提供更详细的答案,但没有关于特定蓝图版本的信息,您安装的Cloudify版本,有关您的提供商(本地,Vagrant,Openstack,AWS)和操作系统(Ubuntu,Centos,等)。