首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >执行工作流安装Cloudify时出错

执行工作流安装Cloudify时出错
EN

Stack Overflow用户
提问于 2015-11-06 03:21:24
回答 1查看 188关注 0票数 0

我尝试在cloudify中运行工作流,但在运行命令时:

代码语言:javascript
复制
cfy executions start -w install -d teste003 --debug --include-logs

下面出现以下错误:

代码语言:javascript
复制
Execution of workflow 'install' for deployment 'teste003' timed out. * Run 'cfy executions cancel --execution-id c12ac2b2-fd34-4a04-a4bc-252871f9e166' to cancel the running workflow.
* Run 'cfy events list --tail --include-logs --execution-id c12ac2b2-fd34-4a04-a4bc-252871f9e166' to retrieve the execution's events/logs
Traceback (most recent call last):
  File "/home/ubuntu/cloudify/bin/cfy", line 9, in <module>
    load_entry_point('cloudify==3.2.1', 'console_scripts', 'cfy')()
  File "/home/ubuntu/cloudify/local/lib/python2.7/site-packages/cloudify_cli/cli.py", line 37, in main
    args.handler(args)
  File "/home/ubuntu/cloudify/local/lib/python2.7/site-packages/cloudify_cli/cli.py", line 143, in command_cmd_handler
    command['handler'](**kwargs)
  File "/home/ubuntu/cloudify/local/lib/python2.7/site-packages/cloudify_cli/commands/executions.py", line 174, in start
    raise SuppressedCloudifyCliError()
SuppressedCloudifyCliError

在我的文件aws-ec2-Blueprint.yaml下面:

代码语言:javascript
复制
tosca_definitions_version: cloudify_dsl_1_1

imports:
  - http://www.getcloudify.org/spec/cloudify/3.2.1/types.yaml
  - http://www.getcloudify.org/spec/aws-plugin/1.2.1/plugin.yaml
  - http://www.getcloudify.org/spec/diamond-plugin/1.2.1/plugin.yaml

inputs:

  image:
    description: >
      Image to be used when launching agent VM's

  size:
    description: >
      Flavor of the agent VM's

  agent_user:
    description: >
      User for connecting to agent VM's

node_templates:

  mongod_host:
    type: cloudify.aws.nodes.Instance
    properties:
      image_id: { get_input: image }
      instance_type: { get_input: size }

我的inputs.yaml:

图片来源: ami-d05e75b8

大小: m3.medium

agent_user: ubuntu

有什么建议吗?

EN

回答 1

Stack Overflow用户

发布于 2015-11-06 16:07:01

在没有看到安装日志的情况下,很难知道安装超时的原因。

在大多数情况下,这与与衍生的VM的连接或不断失败的安装过程有关。

我会试着检查一下:

用于衍生虚拟机并连接到该虚拟机的

  • AWS权限
  • 安全组,端口22对管理器虚拟机开放
  • 衍生的虚拟机

的互联网访问权限

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/33553018

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档