Scale the Ruby application to one process:
$ deis ps:scale web=1
Scaling processes... but first, coffee!
done in 3s
=== fhbase Processes
--- web:
~/Projects/puppet-composer exec_timeout ● vagrant box outdated | |
Checking if box 'puppetlabs/ubuntu-12.04-x86_64-puppet' is up to date... | |
An error occurred while downloading the remote file. The error | |
message, if any, is reproduced below. Please fix this error and try | |
again. | |
The requested URL returned error: 404 Not Found |
andy@datagram:~/datagram_configuration$ sudo docker images -a | |
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE | |
datagram latest 0fa7bbf0f2ae About an hour ago 537.7 MB | |
<none> <none> 7847eb0dce13 About an hour ago 537.7 MB | |
<none> <none> c2d0bd8b813b About an hour ago 537.7 MB | |
<none> <none> ea5d6b00a66e About an hour ago 459.9 MB | |
<none> <none> 553d054e6748 About an hour ago 459.9 MB | |
<none> <none> 8516c2d27d4b About an hour ago 459.8 MB | |
<none> <none> d64827295925 About an hour ago 449.7 MB | |
<none> <none> f1c69b173054 About an hour ago 268.4 MB |
~/Projects/deis master deis register http://local.deisapp.com:8000 | |
username: andy | |
password: | |
password (confirm): | |
email: andys@andyshinn.as | |
Couldn't connect to the Deis Controller. Make sure that the Controller URI is correct and the server is running. | |
✘ ~/Projects/deis master vagrant ssh | |
Last login: Sat May 24 08:17:50 2014 from 10.0.2.2 | |
* * * ***** ddddd eeeeeee iiiiiii ssss | |
* * * * * * d d e e i s s |
core@ip-172-16-64-214 ~ $ docker logs 0bebd4f59303 | |
2014/05/26 23:16:11 docker daemon: 0.11.1 fb99f99; execdriver: native; graphdriver: btrfs | |
[cbb5c2c0] +job serveapi(unix:///var/run/docker.sock) | |
[cbb5c2c0] +job initserver() | |
[cbb5c2c0.initserver()] Creating server | |
2014/05/26 23:16:11 Listening for HTTP on unix (/var/run/docker.sock) | |
[cbb5c2c0] +job init_networkdriver() | |
[cbb5c2c0.init_networkdriver()] creating new bridge for docker0 | |
[cbb5c2c0.init_networkdriver()] getting iface addr | |
[cbb5c2c0] -job init_networkdriver() = OK (0) |
2014-05-26 22:00:54,231 INFO: 172.16.64.214 - - [26/May/2014:22:00:54] "PUT /v1/repositories/deis/slugrunner/tags/latest HTTP/1.1" 200 4 "-" "docker/0.11.1 go/go1.2 git-commit/fb99f99 kernel/3.14.4+ os/linux arch/amd64" | |
172.16.64.214 - - [26/May/2014:22:00:54] "PUT /v1/repositories/deis/slugrunner/images HTTP/1.1" 204 - "-" "docker/0.11.1 go/go1.2 git-commit/fb99f99 kernel/3.14.4+ os/linux arch/amd64" | |
2014-05-26 22:00:54,233 INFO: 172.16.64.214 - - [26/May/2014:22:00:54] "PUT /v1/repositories/deis/slugrunner/images HTTP/1.1" 204 - "-" "docker/0.11.1 go/go1.2 git-commit/fb99f99 kernel/3.14.4+ os/linux arch/amd64" | |
2014-05-26T23:16:52Z 4704a232e3fd confd[41]: ERROR template: config.yml:1:0: executing "config.yml" at <# The `common' part ...>: write /tmp/445184146: no space left on device |
remote: ---> Running in 0bf74a7bfa50 | |
remote: ---> 3acacd744018 | |
remote: Removing intermediate container 0bf74a7bfa50 | |
remote: Successfully built 3acacd744018 | |
remote: -----> Pushing image to private registry | |
remote: | |
remote: Launching... done, v2 | |
remote: | |
remote: -----> firehose deployed to Deis | |
remote: http://firehose.deis.mydomain.com |
~/Projects/deis master ● make run | |
Job deis-router.1.service loaded on e8e0c542.../172.16.64.143 | |
Job deis-router.2.service loaded on 76795b0c.../172.16.64.144 | |
Job deis-router.3.service loaded on 6d1c05a0.../172.16.64.145 | |
fleetctl --strict-host-key-checking=false load registry/systemd/deis-registry.service logger/systemd/deis-logger.service cache/systemd/deis-cache.service database/systemd/deis-database.service | |
Job deis-registry.service loaded on e8e0c542.../172.16.64.143 | |
Job deis-database.service loaded on e8e0c542.../172.16.64.143 | |
Job deis-logger.service loaded on e8e0c542.../172.16.64.143 | |
Job deis-cache.service loaded on e8e0c542.../172.16.64.143 | |
fleetctl --strict-host-key-checking=false load controller/systemd/* |
~/Projects/firehoseio/firehose-private master deis apps:info | |
=== firehose Application | |
{ | |
"updated": "2014-05-27T02:44:45.286Z", | |
"uuid": "0c985847-0e4d-4a08-9eec-f7ef04350044", | |
"created": "2014-05-27T02:38:55.305Z", | |
"cluster": "deis", | |
"owner": "andy", | |
"id": "firehose", | |
"structure": "{\"cmd\": 1}" |
Scale the Ruby application to one process:
$ deis ps:scale web=1
Scaling processes... but first, coffee!
done in 3s
=== fhbase Processes
--- web:
$ fleetctl status deis-controller.service
● deis-controller.service - deis-controller
Loaded: loaded (/run/fleet/units/deis-controller.service; linked-runtime)
Active: active (running) since Fri 2014-05-30 03:29:33 UTC; 3min 22s ago
Process: 4890 ExecStartPre=/bin/sh -c docker inspect deis-controller >/dev/null && docker rm -f deis-controller || true (code=exited, status=0/SUCCESS)
Process: 4882 ExecStartPre=/bin/sh -c docker history deis/controller >/dev/null || docker pull deis/controller:latest (code=exited, status=0/SUCCESS)
Main PID: 4899 (docker)
CGroup: /system.slice/deis-controller.service
└─4899 /usr/bin/docker run --name deis-controller -p 8000:8000 -e PUBLISH=8000 -e HOST=10.240.39.251 --volumes-from=deis-logger deis/controller