Tag: 云化

wokflow:缺lesscloudify_agent.queue运行时信息

我想在Cloudify上安装一个Docker容器,并用docker-plugin(附在末尾)写一个蓝图。 一开始,我通过学习CloudifyDocs完成了蓝图。 但是,当安装工作stream程时,消息发生错误 'install' workflow execution failed: RuntimeError: Workflow failed: Task failed 'docker_plugin.tasks.create_container' -> Missing cloudify_agent.queue runtime information. This most likely means that the Compute node was never started successfully 我认为我的文件出了问题,所以我尝试部署和安装cloudify-nodecellar-docker-example 。 但是IP地址不好,我终于改变了input host_ip: 10.10.1.10 agent_user: vagrant agent_private_key_path: /home/vagrant/.ssh/id_rsa ,这是从一个Cloudify初学者的例子。 不幸的是,RuntimeError再次出现。 现在我失去了我错过的部分。 任何意见都欢迎! tosca_definitions_version: cloudify_dsl_1_3 imports: – http://www.getcloudify.org/spec/cloudify/3.4.1/types.yaml – http://www.getcloudify.org/spec/docker-plugin/1.3.2/plugin.yaml inputs: host_ip: description: > the […]

在编写cloudify蓝图时如何正确select“/ bin / bash”选项

我想为RYU控制器编排一个docker集装箱。 我find了一个如何创build和运行效果相当不错的教程,并计划根据教程编写cloudify蓝图。 我没有处理 docker run -i -t -p 0.0.0.0:6633:6633 –name ryu3.15 muzixing/ryu:SDN /bin/bash 我在丢失“/ bin / bash”的位置。 我试过这种方式 node_tamplates: … interfaces: cloudify.interfaces.circle create: implementation: docker.docker_plugin.tasks.create_container inputs: params: stdin_open: true tty: true command: /bin/bash … 但是,它完成了一个400客户端错误“没有命令指定”,就像“/斌/ bash”错过了。 我已经阅读了cloudify文档和例子,没有find有效的方法来解决这个问题。 那么有没有人知道适当的选项传递“/ bin / bash”或在哪里我可以学习更多的select? 提前致谢。 更新: 根据cloudify文件,我检查了允许的参数 def create_container(self, image, command=None, hostname=None, user=None, detach=False, stdin_open=False, tty=False, mem_limit=None, ports=None, […]