You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/07/27 23:46:08 UTC
[GitHub] boneskull opened a new issue #2539: vagrant redeploy instructions fail
boneskull opened a new issue #2539: vagrant redeploy instructions fail
URL: https://github.com/apache/incubator-openwhisk/issues/2539
I have restarted my Vagrant machine via `vagrant reload` (host is macOS Sierra).
I'm following the instructions [here](https://github.com/apache/incubator-openwhisk/blob/master/tools/vagrant/README.md#safe-re-deploy-after-vm-restart):
```sh
vagrant ssh
cd ${ANSIBLE_HOME}
# teardown all containers expect couchdb container
ansible-playbook -i environments/local openwhisk.yml -e mode=clean
# deploy openwhisk containers
ansible-playbook -i environments/local openwhisk.yml
```
However, the `deploy` task of the `controller` role fails:
```
TASK [controller : pull the latest image of controller] ***********************************************
Thursday 27 July 2017 23:39:56 +0000 (0:00:00.044) 0:00:55.389 *********
skipping: [172.17.0.1]
TASK [controller : ensure controller log directory is created with permissions] ***********************
Thursday 27 July 2017 23:39:56 +0000 (0:00:00.041) 0:00:55.431 *********
ok: [172.17.0.1]
TASK [controller : (re)start controller] **************************************************************
Thursday 27 July 2017 23:39:56 +0000 (0:00:00.220) 0:00:55.651 *********
fatal: [172.17.0.1]: FAILED! => {"changed": false, "failed": true, "msg": "Error pulling whisk/controller - code: None message: Error: image whisk/controller:latest not found"}
```
I don't know what this implies. Keep in mind this is immediately after `vagrant reload`, not having interacted with the machine in any way prior.
Here's what's running in this state, in case something is missing:
```sh
vagrant@vagrant-ubuntu-trusty-64:~/openwhisk/ansible$ docker ps --format '{{.Image}} {{.Command}} {{.Names}}' --no-trunc
ches/kafka:0.10.2.1 "/start.sh" kafka
zookeeper:3.4 "/docker-entrypoint.sh zkServer.sh start-foreground" zookeeper,kafka/zookeeper
consul:0.7.0 "docker-entrypoint.sh consul agent -config-dir /consul/config" consul
gliderlabs/registrator "/bin/registrator -ip 172.17.0.1 -resync 2 consul://172.17.0.1:8500" registrator
openwhisk/apigateway:0.8.2 "/usr/local/bin/dumb-init -- /etc/init-container.sh" apigateway
redis:3.2 "docker-entrypoint.sh redis-server" redis
couchdb:1.6 "tini -- /docker-entrypoint.sh couchdb" couchdb
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services