Issue with CloudFormation template
Opened this issue · 0 comments
GuillaumeMorini commented
Hi,
I am trying to use the CloudFormation template to launch a swarm cluster with InfraKit.
The first VM starts and failed to finish its setup at the step below:
`
- echo Rendering a view of the config groups.json for debugging.
Rendering a view of the config groups.json for debugging. - docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /infrakit:/infrakit -e INFRAKIT_HOME=/infrakit -e INFRAKIT_PLUGINS_DIR=/infrakit/plugins infrakit/devbundle:latest infrakit template https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/groups.json
CRIT[10-18|15:39:11] error executing module=main cmd=infrakit err="template: https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/groups.json:13:3: executing "https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/groups.json\" at <source "common.ikt">: error calling source: template: https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/common.ikt:3:3: executing "https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/common.ikt\" at <source../swarm/com...>: error calling source: template: https://raw.githubusercontent.com/infrakit/examples/master/latest/swarm/common.ikt:23:81: executing \"https://raw.githubusercontent.com/infrakit/examples/master/latest/swarm/common.ikt\" at <eq
no>: error calling eq: incompatible types for comparison" fn=main.main template: https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/groups.json:13:3: executing "https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/groups.json" at <source "common.ikt">: error calling source: template: https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/common.ikt:3:3: executing "https://raw.githubusercontent.com/infrakit/examples/master/latest/kube/common.ikt" at <source
../swarm/com...>: error calling source: template: https://raw.githubusercontent.com/infrakit/examples/master/latest/swarm/common.ikt:23:81: executing "https://raw.githubusercontent.com/infrakit/examples/master/latest/swarm/common.ikt" at <eqno
>: error calling eq: incompatible types for comparison
Cloud-init v. 0.7.8 running 'modules:final' at Wed, 18 Oct 2017 15:33:03 +0000. Up 18.35 seconds.
2017-10-18 15:39:11,811 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2017-10-18 15:39:11,819 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2017-10-18 15:39:11,819 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed
Cloud-init v. 0.7.8 finished at Wed, 18 Oct 2017 15:39:11 +0000. Datasource DataSourceEc2. Up 387.12 seconds
`