Skip to content
This repository was archived by the owner on Feb 4, 2018. It is now read-only.

binder building on ubuntu not starting #5

Open
fcollman opened this issue Dec 3, 2016 · 0 comments
Open

binder building on ubuntu not starting #5

fcollman opened this issue Dec 3, 2016 · 0 comments

Comments

@fcollman
Copy link

fcollman commented Dec 3, 2016

I am setting up an AWS Ubuntu 16.04 instance to run a mybinder deployment.

Following the instructions on http://docs.mybinder.org/custom-deployments I was able to start the server, but the status page on the web says the build and deploy servers are both down.

examining the logs with
pm2 log binder-build-start

I have the following errors.

/home/ubuntu/.pm2/logs/binder-build-start-error-8.log last 10 lines:
8|binder-b | Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
8|binder-b | error: handler trying to handle nonexistent endpoint: fetch module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: fetchAll module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: statusAll module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: status module=binder-build
8|binder-b | error: handler trying to handle nonexistent endpoint: start module=binder-build
8|binder-b | error: Could not get build information for requested image module=binder-build

and
[STREAMING] Now streaming realtime logs for [binder-build-start] process
8|binder-b | error: Could not get build information for requested image module=binder-build

any help on figuring out where the problem is would be appreciated
my build.conf has been left default

{
"db": {
"host": "localhost",
"port": 9050
},
"logging": {
"host": "localhost",
"logstash": {
"port": 8050
}
},
"docker": {
"enabled": true,
"email": "N/A",
"registry": "",
"host": "localhost"
},
"port": 8082
}

docker appears to be working fine
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8cae99566898 kibana "/docker-entrypoint.s" 36 hours ago Up 22 minutes 0.0.0.0:8053->5601/tcp logging_binder-kibana_1
986dbf9dd10a andrewosh/binder-logstash "/opt/logstash/bin/lo" 36 hours ago Up 22 minutes 0.0.0.0:2121->2121/tcp, 0.0.0.0:8050->9100/tcp logging_binder-logstash_1
7e9d7a428c01 mongo "/entrypoint.sh mongo" 36 hours ago Up 22 minutes 0.0.0.0:9050->27017/tcp db_binder-mongo_1

and the binder script appeared to start ok

binder-control start-all
prompt: Would you like to launch a Kubernetes cluster?: (yes) no
prompt: Would you like to launch Kubernetes locally with Docker? (local testing only)?: (no) no
prompt: Would you like to launch the database service?: (yes)
prompt: Would you like to launch the logging service?: (yes)
Starting 'start' - db
Finished 'start' - db
Started service db successfully
Starting 'start' - logging
Waiting 2 minutes for logging containers to start up...
error: this is a test message app=test-app, module=logging-service
Finished 'start' - logging
Failed to start service logging: Error: connect ECONNREFUSED 127.0.0.1:8052
Starting the binder-build server...
Starting the binder-deploy-kubernetes server...
Starting the binder-web server...
Starting the binder-health-checker server...
Pulling all base images...
Using default tag: latest
latest: Pulling from andrewosh/binder-base
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
dde5ae526502: Already exists
79ffbe5ddb2d: Already exists
9bfc42d5c53d: Already exists
9c044d3f1cc8: Already exists
b7c174a4ca97: Already exists
9e391b913e48: Already exists
6e840d774f36: Already exists
b6225b8a2783: Already exists
699f0e0f26d2: Already exists
c3389f562d5b: Already exists
9fb29d466d3c: Already exists
c9288fd5f6e9: Already exists
Digest: sha256:eabde24f4c55174832ed8795faa40cea62fc9e2a4a9f1ee1444f8a2e4f9710ee
Status: Image is up to date for andrewosh/binder-base:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-2.7
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
842afacfb826: Already exists
e38399353a74: Already exists
15d73d7dd525: Already exists
Digest: sha256:d2b4e8428bfd4359ea01b9d333e7b2981b96daa9f94d91dbcb16a1428228c533
Status: Image is up to date for andrewosh/binder-python-2.7:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-3.5
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
0f0eecaf9c24: Already exists
2cac61bb4660: Already exists
9c39d0fcae19: Already exists
Digest: sha256:219dfbb77357c3fc36e572fbb95386b580bf759558706e8ef3cbd8953434d13f
Status: Image is up to date for andrewosh/binder-python-3.5:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-2.7-mini
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
4a8ff12d4b06: Already exists
df5662b21bf3: Already exists
012861441569: Already exists
914eaf515214: Already exists
Digest: sha256:6e66934b4819457ea445a58777905c58b385e98962e7cb83d194acfc4553c291
Status: Image is up to date for andrewosh/binder-python-2.7-mini:latest
Using default tag: latest
latest: Pulling from andrewosh/binder-python-3.5-mini
6a5a5368e0c2: Already exists
a3ed95caeb02: Already exists
4c1a4e217483: Already exists
da4e26ae5a73: Already exists
066f76b7f7fd: Already exists
d328b022fbac: Already exists
382104638eda: Already exists
bf802234a468: Already exists
435e87b8742c: Already exists
2f4732c53f02: Already exists
Digest: sha256:f2f85de237c2a8905e5dfda85664feedc8545b92e70177502f9b6a1c29f3718e
Status: Image is up to date for andrewosh/binder-python-3.5-mini:latest
Sleeping for 180 seconds so servers/services can stabilize...
Started services/servers with API key: c567fd5fe3d36a4cc23ccdfd9891e85c

and here is my binder-control status output
binder-control status
Running Binder servers:
┌────────────────────────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────┬────────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
├────────────────────────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────┼────────────┼──────────┤
│ binder-build-start │ 8 │ fork │ 19235 │ online │ 0 │ 6m │ 0% │ 107.2 MB │ disabled │
│ binder-db-service │ 0 │ fork │ 15270 │ online │ 0 │ 23m │ 0% │ 2.4 MB │ disabled │
│ binder-deploy-kubernetes-start │ 3 │ fork │ 15904 │ online │ 0 │ 21m │ 0% │ 95.6 MB │ disabled │
│ binder-health-checker │ 7 │ fork │ 16036 │ online │ 0 │ 21m │ 0% │ 51.6 MB │ disabled │
│ binder-health-checker-start │ 6 │ fork │ 16002 │ online │ 0 │ 21m │ 0% │ 74.3 MB │ disabled │
│ binder-kubernetes-daemon │ 5 │ fork │ 15976 │ online │ 0 │ 21m │ 0% │ 79.7 MB │ disabled │
│ binder-logging-service │ 1 │ fork │ 15402 │ online │ 0 │ 23m │ 0% │ 2.4 MB │ disabled │
│ binder-web-start │ 4 │ fork │ 15939 │ online │ 0 │ 21m │ 0% │ 65.4 MB │ disabled │
└────────────────────────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────┴────────────┴──────────┘

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant