Skip to content

Instantly share code, notes, and snippets.

@sbuss
Created December 2, 2014 19:46
Show Gist options
  • Save sbuss/94a4710669f96522599f to your computer and use it in GitHub Desktop.
Save sbuss/94a4710669f96522599f to your computer and use it in GitHub Desktop.
deisctl list
core@ip-10-128-1-225 ~ $ deisctl list
UNIT MACHINE LOAD ACTIVE SUB
deis-builder.service b82e7e2e.../10.128.1.227 loaded active running
deis-cache.service 277e4209.../10.128.1.225 loaded active running
deis-controller.service 277e4209.../10.128.1.225 loaded active running
deis-database.service 319fc4ed.../10.128.1.226 loaded active running
deis-logger.service 319fc4ed.../10.128.1.226 loaded active running
deis-logspout.service 277e4209.../10.128.1.225 loaded active running
deis-logspout.service 319fc4ed.../10.128.1.226 loaded active running
deis-logspout.service b82e7e2e.../10.128.1.227 loaded active running
deis-publisher.service 277e4209.../10.128.1.225 loaded active running
deis-publisher.service 319fc4ed.../10.128.1.226 loaded active running
deis-publisher.service b82e7e2e.../10.128.1.227 loaded active running
deis-registry.service b82e7e2e.../10.128.1.227 loaded active running
[email protected] b82e7e2e.../10.128.1.227 loaded active running
[email protected] 277e4209.../10.128.1.225 loaded active running
[email protected] 319fc4ed.../10.128.1.226 loaded active running
deis-store-daemon.service 277e4209.../10.128.1.225 loaded active running
deis-store-daemon.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-daemon.service b82e7e2e.../10.128.1.227 loaded active running
deis-store-gateway.service 277e4209.../10.128.1.225 loaded active running
deis-store-metadata.service 277e4209.../10.128.1.225 loaded active running
deis-store-metadata.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-metadata.service b82e7e2e.../10.128.1.227 loaded active running
deis-store-monitor.service 277e4209.../10.128.1.225 loaded active running
deis-store-monitor.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-monitor.service b82e7e2e.../10.128.1.227 loaded active running
deis-store-volume.service 277e4209.../10.128.1.225 loaded active running
deis-store-volume.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-volume.service b82e7e2e.../10.128.1.227 loaded active running
# Things look ok, let's get status of the store-gateway
core@ip-10-128-1-225 ~ $ deisctl status store-gateway
● deis-store-gateway.service - deis-store-gateway
Loaded: loaded (/run/fleet/units/deis-store-gateway.service; linked-runtime)
Active: active (running) since Tue 2014-12-02 19:15:33 UTC; 28min ago
Process: 10312 ExecStartPre=/bin/sh -c docker inspect deis-store-gateway >/dev/null 2>&1 && docker rm -f deis-store-gateway || true (code=exited, status=0/SUCCESS)
Process: 10286 ExecStartPre=/bin/sh -c IMAGE=`/run/deis/bin/get_image /deis/store-gateway` && docker history $IMAGE >/dev/null 2>&1 || docker pull $IMAGE (code=exited, status=0/SUCCESS)
Main PID: 10322 (sh)
CGroup: /system.slice/deis-store-gateway.service
├─10322 /bin/sh -c IMAGE=`/run/deis/bin/get_image /deis/store-gateway` && docker run --name deis-store-gateway -h deis-store-gateway --rm -e HOST=$COREOS_PRIVATE_IPV4 -e EXTERNAL_PORT=8888 -p 8888:8888 $IMAGE
└─10340 docker run --name deis-store-gateway -h deis-store-gateway --rm -e HOST=10.128.1.225 -e EXTERNAL_PORT=8888 -p 8888:8888 deis/store-gateway:v1.0.1
Dec 02 19:15:33 ip-10-128-1-225.counsyl.com systemd[1]: Starting deis-store-gateway...
Dec 02 19:15:33 ip-10-128-1-225.counsyl.com systemd[1]: Started deis-store-gateway.
Dec 02 19:15:52 ip-10-128-1-225.counsyl.com sh[10322]: Starting RADOS gateway...
Dec 02 19:15:52 ip-10-128-1-225.counsyl.com sh[10322]: Starting client.radosgw.gateway...
Dec 02 19:15:52 ip-10-128-1-225.counsyl.com sh[10322]: 2014-12-02 19:15:52.469311 7f7efd97f840 0 ceph version 0.87 (c51c8f9d80fa4e0168aa52685b8de40e42758578), process radosgw, pid 86
Dec 02 19:15:52 ip-10-128-1-225.counsyl.com sh[10322]: /usr/bin/radosgw is running.
Dec 02 19:15:52 ip-10-128-1-225.counsyl.com sh[10322]: Starting Apache...
Dec 02 19:15:52 ip-10-128-1-225.counsyl.com sh[10322]: deis-store-gateway running...
core@ip-10-128-1-225 ~ $ deisctl status store-monitor
Unit deis-store-monitor.service does not appear to be running.
core@ip-10-128-1-225 ~ $ deisctl status store-volume
Unit deis-store-volume.service does not appear to be running.
# Weird, deisctl list said those were running. I'll try restarting the monitor
core@ip-10-128-1-225 ~ $ deisctl restart store-monitor
deis-store-monitor.service: inactive/dead
deis-store-monitor.service: activating/start-pre
deis-store-monitor.service: active/running
core@ip-10-128-1-225 ~ $ deisctl status store-monitor
Unit deis-store-monitor.service does not appear to be running.
# What? Still down?
# Let's check deisctl list again
core@ip-10-128-1-225 ~ $ deisctl list
UNIT MACHINE LOAD ACTIVE SUB
deis-builder.service b82e7e2e.../10.128.1.227 loaded active running
deis-cache.service 277e4209.../10.128.1.225 loaded active running
deis-controller.service 277e4209.../10.128.1.225 loaded active running
deis-database.service 319fc4ed.../10.128.1.226 loaded active running
deis-logger.service 319fc4ed.../10.128.1.226 loaded active running
deis-logspout.service 277e4209.../10.128.1.225 loaded active running
deis-logspout.service 319fc4ed.../10.128.1.226 loaded active running
deis-logspout.service b82e7e2e.../10.128.1.227 loaded active running
deis-publisher.service 277e4209.../10.128.1.225 loaded active running
deis-publisher.service 319fc4ed.../10.128.1.226 loaded active running
deis-publisher.service b82e7e2e.../10.128.1.227 loaded active running
deis-registry.service b82e7e2e.../10.128.1.227 loaded active running
[email protected] b82e7e2e.../10.128.1.227 loaded active running
[email protected] 277e4209.../10.128.1.225 loaded active running
[email protected] 319fc4ed.../10.128.1.226 loaded active running
deis-store-daemon.service 277e4209.../10.128.1.225 loaded active running
deis-store-daemon.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-daemon.service b82e7e2e.../10.128.1.227 loaded active running
deis-store-gateway.service 277e4209.../10.128.1.225 loaded active running
deis-store-metadata.service 277e4209.../10.128.1.225 loaded active running
deis-store-metadata.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-metadata.service b82e7e2e.../10.128.1.227 loaded active running
deis-store-monitor.service 277e4209.../10.128.1.225 loaded active running
deis-store-monitor.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-monitor.service b82e7e2e.../10.128.1.227 loaded active running
deis-store-volume.service 277e4209.../10.128.1.225 loaded active running
deis-store-volume.service 319fc4ed.../10.128.1.226 loaded active running
deis-store-volume.service b82e7e2e.../10.128.1.227 loaded active running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment