Created
February 4, 2016 02:01
-
-
Save abhi/1ecb5e663cf4cd1ccacb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Issues/bumps on the road seen so far using installer script ansible. | |
1) | |
ansible was considering eth1 as the control interface always. I have raised an issue. I have a fix as well. Will raise PR for the same | |
TASK: [docker | start docker tcp socket service] ****************************** | |
failed: [node1] => {"changed": true, "cmd": "sudo systemctl stop docker && sudo systemctl start docker-tcp.socket && sudo systemctl start docker", "delta": "0:00:00.164433", "end": "2016-02-03 03:51:51.044325", "rc": 1, "start": "2016-02-03 03:51:50.879892", "warnings": []} | |
stderr: Warning: docker.service changed on disk. Run 'systemctl daemon-reload' to reload units. | |
Warning: docker.service changed on disk. Run 'systemctl daemon-reload' to reload units. | |
Job for docker.service failed. See "systemctl status docker.service" and "journalctl -xe" for details. | |
FATAL: all hosts have already failed -- aborting | |
journalctl-xe output showed the error | |
Feb 03 04:07:54 contiv146 serf.sh[13901]: eth1 is not assigned a valid addr: bin boot dev etc home initrd.img lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var vmlinuz | |
2) The docker version on the server | |
ladmin@contiv146:~/src/github.com/contiv/demo/net$ docker version | |
Client: | |
Version: 1.9.0-dev | |
API version: 1.21 | |
Go version: go1.4.2 | |
Git commit: 02ae137 | |
Built: Fri Sep 25 17:37:00 UTC 2015 | |
OS/Arch: linux/amd64 | |
Experimental: true | |
Ansible did not update the version to 1.9.1 : | |
TASK: [docker | install docker] *********************************************** | |
ok: [node1] | |
However manually updating docker worked. | |
3) | |
I was consitently hitting certificate issue for all the download. Could be an issue with proxy ? I am not sure. I moved forward by setting validate_certs:no. | |
TASK: [contiv_network | download contivctl] *********************************** | |
failed: [node1] => {"failed": true} | |
msg: SSL Certificate does not belong to github.com. Make sure the url has a certificate that belongs to it or use validate_certs=False (insecure) | |
FATAL: all hosts have already failed -- aborting | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment