Follow

Installing a ship on an instance with pre-installed Docker

TASK [ensure docker is locked with exact version] ******************************

fatal: [localhost]: FAILED! => 
{
 	"changed": true,
 	"cmd": ["bash", "-c", "apt-get install docker-engine=1.12.0-0~`lsb_release -cs`"],
 	"delta": "0:00:00.546016",
 	"end": "2016-08-19 21:21:23.927763",
 	"failed": true,
 	"rc": 1,
 	"start": "2016-08-19 21:21:23.381747",
 	"stderr": "",
 	"stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages will be DOWNGRADED:\n docker-engine\n0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 26 not upgraded.\nNeed to get 19.4 MB of archives.\nAfter this operation, 118 kB disk space will be freed.\nDo you want to continue? [Y/n] Abort.",
 	"stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be DOWNGRADED:", " docker-engine", "0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 26 not upgraded.", "Need to get 19.4 MB of archives.", "After this operation, 118 kB disk space will be freed.", "Do you want to continue? [Y/n] Abort."],
 	"warnings": []
 }

It seems like docker was already installed on the machine with a newer version and the script tried to downgrade the docker version and failed.

1. Please try to remove the docker with the following command:
apt-get purge docker-engine

2. Please try to run the ship installation script again.

Regarding the "NO MORE HOSTS LEFT" - this is a message from Ansible saying it can't finish the job on this host due to the above failure, it is trying to move on to the next host but there is no more hosts on the list so it displays NO MORE HOSTS LEFT. This has nothing to do with the number of ships you are allowed to install.

Have more questions? Submit a request

0 Comments

Article is closed for comments.