0

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

cfy executions start -w install -d teste003 --debug --include-logs

下面出现以下错误:

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 下面:

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

代理用户:ubuntu

有什么建议吗?

4

1 回答 1

1

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

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

我会尝试检查:

  • 生成 VM 并连接到它的 AWS 权限
  • 安全组,端口 22 对管理器 VM 开放
  • 生成的 VM 的 Internet 访问
于 2015-11-06T08:07:01.290 回答