Closed premist closed 9 years ago
Install stops because registry.aerofs.com/aerofs/auditor:latest image cannot be found. This is a full log from systemd:
registry.aerofs.com/aerofs/auditor:latest
Jul 15 14:16:32 domain.redacted systemd[1]: Started Ship Enterprise. Jul 15 14:16:32 domain.redacted systemd[1]: Starting Ship Enterprise... Jul 15 14:16:32 domain.redacted sail[1960]: + mkdir -p /ship/loader/run Jul 15 14:16:32 domain.redacted sail[1960]: + [[ -f /ship/loader/run/repo ]] Jul 15 14:16:32 domain.redacted sail[1960]: + [[ -f /ship/loader/run/target ]] Jul 15 14:16:32 domain.redacted sail[1960]: + write_status_json 0 0 Jul 15 14:16:32 domain.redacted sail[1960]: + cat Jul 15 14:16:32 domain.redacted sail[1960]: + systemctl start httpd.service Jul 15 14:16:32 domain.redacted sail[1960]: + [[ -f /ship/loader/run/tag ]] Jul 15 14:16:32 domain.redacted sail[1960]: +++ cat /ship/loader/run/repo Jul 15 14:16:32 domain.redacted sail[1960]: ++ docker run --rm registry.aerofs.com/aerofs/loader images Jul 15 14:16:33 domain.redacted sail[1960]: Unable to find image 'registry.aerofs.com/aerofs/loader:latest' locally Jul 15 14:16:35 domain.redacted sail[1960]: Pulling repository registry.aerofs.com/aerofs/loader Jul 15 14:16:37 domain.redacted sail[1960]: b46364348457: Pulling image (latest) from registry.aerofs.com/aerofs/loader Jul 15 14:16:37 domain.redacted sail[1960]: b46364348457: Pulling image (latest) from registry.aerofs.com/aerofs/loader, endpoint: https://registry.aerofs.com/v1/ Jul 15 14:16:38 domain.redacted sail[1960]: b46364348457: Pulling dependent layers Jul 15 14:16:38 domain.redacted sail[1960]: cab7c4dcf81b: Pulling metadata Jul 15 14:16:38 domain.redacted sail[1960]: cab7c4dcf81b: Pulling fs layer Jul 15 14:16:45 domain.redacted sail[1960]: cab7c4dcf81b: Download complete Jul 15 14:16:45 domain.redacted sail[1960]: 602e15acbcda: Pulling metadata Jul 15 14:16:46 domain.redacted sail[1960]: 602e15acbcda: Pulling fs layer Jul 15 14:16:47 domain.redacted sail[1960]: 602e15acbcda: Download complete Jul 15 14:16:47 domain.redacted sail[1960]: 020431a88ee9: Pulling metadata Jul 15 14:16:48 domain.redacted sail[1960]: 020431a88ee9: Pulling fs layer Jul 15 14:16:52 domain.redacted sail[1960]: 020431a88ee9: Download complete Jul 15 14:16:52 domain.redacted sail[1960]: 6be21d1e5d1e: Pulling metadata Jul 15 14:16:52 domain.redacted sail[1960]: 6be21d1e5d1e: Pulling fs layer Jul 15 14:16:53 domain.redacted sail[1960]: 6be21d1e5d1e: Download complete Jul 15 14:16:53 domain.redacted sail[1960]: 021fbaf17bcd: Pulling metadata Jul 15 14:16:54 domain.redacted sail[1960]: 021fbaf17bcd: Pulling fs layer Jul 15 14:16:56 domain.redacted sail[1960]: 021fbaf17bcd: Download complete Jul 15 14:16:56 domain.redacted sail[1960]: 713e8ba87d25: Pulling metadata Jul 15 14:16:56 domain.redacted sail[1960]: 713e8ba87d25: Pulling fs layer Jul 15 14:17:02 domain.redacted sail[1960]: 713e8ba87d25: Download complete Jul 15 14:17:02 domain.redacted sail[1960]: 1011c4f12524: Pulling metadata Jul 15 14:17:03 domain.redacted sail[1960]: 1011c4f12524: Pulling fs layer Jul 15 14:17:07 domain.redacted sail[1960]: 1011c4f12524: Download complete Jul 15 14:17:07 domain.redacted sail[1960]: 143e0576dccf: Pulling metadata Jul 15 14:17:07 domain.redacted sail[1960]: 143e0576dccf: Pulling fs layer Jul 15 14:17:12 domain.redacted sail[1960]: 143e0576dccf: Download complete Jul 15 14:17:12 domain.redacted sail[1960]: 8b819c2ee261: Pulling metadata Jul 15 14:17:12 domain.redacted sail[1960]: 8b819c2ee261: Pulling fs layer Jul 15 14:17:15 domain.redacted sail[1960]: 8b819c2ee261: Download complete Jul 15 14:17:15 domain.redacted sail[1960]: aa9e7b241fd0: Pulling metadata Jul 15 14:17:15 domain.redacted sail[1960]: aa9e7b241fd0: Pulling fs layer Jul 15 14:17:20 domain.redacted sail[1960]: aa9e7b241fd0: Download complete Jul 15 14:17:20 domain.redacted sail[1960]: fccfb3fa24c8: Pulling metadata Jul 15 14:17:25 domain.redacted sail[1960]: fccfb3fa24c8: Pulling fs layer Jul 15 14:17:30 domain.redacted sail[1960]: fccfb3fa24c8: Download complete Jul 15 14:17:30 domain.redacted sail[1960]: 46dc5c66fb66: Pulling metadata Jul 15 14:17:32 domain.redacted sail[1960]: 46dc5c66fb66: Pulling fs layer Jul 15 14:17:33 domain.redacted sail[1960]: 46dc5c66fb66: Download complete Jul 15 14:17:33 domain.redacted sail[1960]: b46364348457: Pulling metadata Jul 15 14:17:37 domain.redacted sail[1960]: b46364348457: Pulling fs layer Jul 15 14:17:38 domain.redacted sail[1960]: b46364348457: Download complete Jul 15 14:17:38 domain.redacted sail[1960]: b46364348457: Download complete Jul 15 14:17:38 domain.redacted sail[1960]: Status: Downloaded newer image for registry.aerofs.com/aerofs/loader:latest Jul 15 14:17:39 domain.redacted sail[1960]: + IMAGES='aerofs/auditor Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/bunker Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/ca Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/charlie Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/config Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/data Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/enforcer Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/havre Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/lipwig Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/loader Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/logcollection Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/logrotator Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/maintenance-nginx Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/mysql Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/nginx Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/ntp Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/openid Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/polaris Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/postfix Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/probe Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/redis Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/repackaging Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/sp Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/sparta Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/status Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/verification Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/web Jul 15 14:17:39 domain.redacted sail[1960]: aerofs/zephyr' Jul 15 14:17:39 domain.redacted sail[1960]: ++ wc -w Jul 15 14:17:39 domain.redacted sail[1960]: + TOTAL=28 Jul 15 14:17:39 domain.redacted sail[1960]: + DONE=0 Jul 15 14:17:39 domain.redacted sail[1960]: + write_status_json 0 28 Jul 15 14:17:39 domain.redacted sail[1960]: + cat Jul 15 14:17:39 domain.redacted sail[1960]: + for i in '${IMAGES}' Jul 15 14:17:39 domain.redacted sail[1960]: ++ cat /ship/loader/run/repo Jul 15 14:17:39 domain.redacted sail[1960]: ++ cat /ship/loader/run/tag Jul 15 14:17:39 domain.redacted sail[1960]: + IMAGE=registry.aerofs.com/aerofs/auditor: Jul 15 14:17:39 domain.redacted sail[1960]: + set +e Jul 15 14:17:39 domain.redacted sail[1960]: + docker inspect registry.aerofs.com/aerofs/auditor: Jul 15 14:17:39 domain.redacted sail[1960]: + EXIT=1 Jul 15 14:17:39 domain.redacted sail[1960]: + set -e Jul 15 14:17:39 domain.redacted sail[1960]: + [[ 1 = 0 ]] Jul 15 14:17:39 domain.redacted sail[1960]: + docker pull registry.aerofs.com/aerofs/auditor: Jul 15 14:17:41 domain.redacted sail[1960]: Pulling repository registry.aerofs.com/aerofs/auditor Jul 15 14:17:42 domain.redacted sail[1960]: time="2015-07-15T14:17:42Z" level=fatal msg="Tag latest not found in repository registry.aerofs.com/aerofs/auditor" Jul 15 14:17:42 domain.redacted systemd[1]: ship.service: Main process exited, code=exited, status=1/FAILURE Jul 15 14:17:42 domain.redacted systemd[1]: ship.service: Unit entered failed state. Jul 15 14:17:42 domain.redacted systemd[1]: ship.service: Failed with result 'exit-code'.
Seems like /ship/loader/run/tag is not created properly at the time when I install AeroFS via cloud-config. I'll re-open the issue when I confirm this is consistent issue.
/ship/loader/run/tag
cloud-config
Install stops because
registry.aerofs.com/aerofs/auditor:latest
image cannot be found. This is a full log from systemd: