error bootstrapping kubernetes

Akhil Arora (akhiaror) akhiaror at cisco.com
Fri Feb 12 21:28:06 UTC 2016


Hi 

I was trying to bootstrap kubernetes (current master) on AWS using juju -

KUBERNETES_PROVIDER=juju
cluster/kube-up.sh

But it fails at this step -

2016-02-12 10:29:18 Using deployment kubernetes-local
2016-02-12 10:29:18 Starting deployment of kubernetes-local
2016-02-12 10:29:18 Deploying services...
2016-02-12 10:30:27 Config specifies num units for subordinate: flannel-docker
2016-02-12 10:31:30 Config specifies num units for subordinate: kubernetes
2016-02-12 10:31:31 The following units had errors:
   unit: docker/1: machine: 2 agent-state: error details: hook failed: "config-changed"   
unit: docker/0: machine: 1 agent-state: error details: hook failed: "config-changed"
2016-02-12 10:31:31 Deployment stopped. run time: 133.01

Juju debug-log -n 10 shows


unit-docker-1[2985]: 2016-02-12 21:24:06 INFO unit.docker/1.config-changed logger.go:40 subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml', '--tags', 'config-changed', '--module-path=/var/lib/juju/agents/unit-docker-1/charm/modules']' returned non-zero exit status 2
unit-docker-1[2985]: 2016-02-12 21:24:06 ERROR juju.worker.uniter.operation runhook.go:107 hook "config-changed" failed: exit status 1

Any ideas? Should I be using a specific kube release? Thanks in advance


More information about the Juju mailing list