Giter Site home page Giter Site logo

aerofs-docker's People

Contributors

daleysoftware avatar intdel avatar mtsay avatar nicole-lehua avatar vpetersson avatar weihanwang avatar yuris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aerofs-docker's Issues

aerofs-docker.sh does not work with CentOS 7

Synopsis
I tried to run aerofs-docker.sh on CentOS 7 (detailed info below). I receive the following error:

Stacktrace
registry.aerofs.com/aerofs/loader: this image was pulled from a legacy registry. Important: This registry version will not be supported in future versions of docker.
Get http:///var/run/docker.sock/v1.17/images/693fba44a802/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?Traceback (most recent call last):
File "/main.py", line 107, in
main()
File "/main.py", line 36, in main
for i in loader.get_images():
File "/loader.py", line 31, in get_images
containers = load_crane_yml()['containers']
File "/crane_yml.py", line 21, in load_crane_yml
crane_yml = render_crane_yml(CRANE_JINJA_PATH, my_subdomain())
File "/common.py", line 81, in my_subdomain
prefix = my_container_prefix()
File "/common.py", line 71, in my_container_prefix
m = match("^(.*-hpc-)loader", my_container_name())
File "/common.py", line 60, in my_container_name
my_container_id()]).strip('/ \n\t\r')
File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['docker', 'inspect', '-f', '{{ .Name }}', '693fba44a802']' returned non-zero exit status 1

Docker info
Client:
Version: 1.10.3
API version: 1.22
Package version: docker-common-1.10.3-46.el7.centos.10.x86_64
Go version: go1.6.3
Git commit: d381c64-unsupported
Built: Thu Aug 4 13:21:17 2016
OS/Arch: linux/amd64

Server:
Version: 1.10.3
API version: 1.22
Package version: docker-common-1.10.3-46.el7.centos.10.x86_64
Go version: go1.6.3
Git commit: d381c64-unsupported
Built: Thu Aug 4 13:21:17 2016
OS/Arch: linux/amd64

OS Info
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Docker for Mac is not supported

I had a look at the script and created a symlink from /ship to a dir in my user dir before running it, in the end it had this to say:

Starting Loader...
+ docker start -a loader-1.4.11
Error response from daemon: Mounts denied: docker-for-mac/osxfs/#namespaces for more info.
.
oader/run/tag and /ship/loader/run/target
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/

Using release version of Docker for macOS.

Warnings about legacy registry during installation

I'm getting a bunch of messages like this:

registry.aerofs.com/aerofs/maintenance-nginx:

this image was pulled from a legacy registry. Important: This registry version will not be supported in future versions of docker.

Is this a cause for concern? I'm using the release version of Docker for macOS.

maintenance-web:1.4.23 nginx does not start

I checked and all ports required are not open on the machine. But the maintenance-web container's nginx does not start and stays in the start boot loop.

7161 Killed                  "$@"                                                                                                             
/container-scripts/restart-on-error: line 12:  7162 Killed                  "$@" 
ERROR: command "nginx -g daemon off;" exited with code 137. Re-run it now... 

registry.aerofs.com/aerofs/auditor not found

Install stops because registry.aerofs.com/aerofs/auditor:latest image cannot be found. This is a full log from systemd:

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'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.