2015-11-05 44 views
0

我試圖運行cloudify工作流程,但在運行命令時:錯誤執行工作流程安裝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

agent_user:Ubuntu的

什麼建議嗎?

回答

1

很難知道爲什麼安裝會在沒有看到安裝日誌的情況下超時。

在大多數情況下,它與連接到產生的虛擬機或保持失敗的安裝過程有關。

我會嘗試檢查:

  • AWS權限生成一個虛擬機並連接到它
  • 安全組,22次端口開放給經理VM
  • 互聯網催生VM
  • 的訪問