solo-io / sqoop

The GraphQL Engine powered by Gloo
https://sqoop.solo.io
528 stars 42 forks source link

Docker Compose Stuck on Startup #7

Closed nicholsn closed 6 years ago

nicholsn commented 6 years ago

Hi, this looks like a very interesting project. I tried running the quick start using docker compose, but it is getting stuck during startup. I've pasted the stdout below. Can you help me figure out how to get this up and running so I can kick the tires?

09:28 $ git clone https://github.com/solo-io/qloo
Cloning into 'qloo'...
remote: Counting objects: 1607, done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 1607 (delta 78), reused 143 (delta 58), pack-reused 1419
Receiving objects: 100% (1607/1607), 1.84 MiB | 7.61 MiB/s, done.
Resolving deltas: 100% (798/798), done.
(base) ✔ ~/Code
09:28 $ cd qloo/install/docker-compose/
(base) ✔ ~/Code/qloo/install/docker-compose [master|✔]
09:28 $ ./prepare-config-directories.sh
creating gloo storage directories
(base) ✔ ~/Code/qloo/install/docker-compose [master|✔]
09:28 $ docker-compose up
Creating network "docker-compose_default" with the default driver
Pulling control-plane (soloio/control-plane:0.4.1)...
0.4.1: Pulling from soloio/control-plane
ff3a5c916c92: Pull complete
bc2787d354da: Pull complete
Digest: sha256:b9cf5c44a66fb660543a757dca67b9be6e72fa16757836c9299f1f6f95ee21db
Status: Downloaded newer image for soloio/control-plane:0.4.1
Pulling proxy (soloio/envoy:0.4.1)...
0.4.1: Pulling from soloio/envoy
8e3ba11ec2a2: Pull complete
3dd014c6e448: Pull complete
9b6f02ee4ab5: Pull complete
a26d3372a392: Pull complete
Digest: sha256:9d2c1bb65cdcf85c76f9fb24ad472fd8e37cb44c84403476decc352c11a0438f
Status: Downloaded newer image for soloio/envoy:0.4.1
Pulling function-discovery (soloio/function-discovery:0.4.1)...
0.4.1: Pulling from soloio/function-discovery
ff3a5c916c92: Already exists
b9ea3c282f42: Pull complete
b0f8be0edc66: Pull complete
Digest: sha256:6eec3ac015c982030bc57deb2358872bfdf003fbd3293b21ed0e622877a32687
Status: Downloaded newer image for soloio/function-discovery:0.4.1
Pulling qloo (soloio/qloo:0.1.1)...
0.1.1: Pulling from soloio/qloo
ff3a5c916c92: Already exists
aef7222167da: Pull complete
Digest: sha256:7387815c51a3142ac320ae5bc15b17bcf7d289b1b74f5eeebe75a8cd34593765
Status: Downloaded newer image for soloio/qloo:0.1.1
Creating docker-compose_proxy_1              ... done
Creating docker-compose_control-plane_1      ... done
Creating docker-compose_function-discovery_1 ... done
Creating docker-compose_qloo_1               ... done
Attaching to docker-compose_function-discovery_1, docker-compose_proxy_1, docker-compose_control-plane_1, docker-compose_qloo_1
function-discovery_1  | "Thu, 02 Aug 2018 16:40:08 UTC: github.com/solo-io/gloo/pkg/function-discovery/eventloop/event_loop.go:197" WARNING:
function-discovery_1  | create kube client failed: %!v(MISSING). functonal services running in kubernetes will not be discovered by function discovery
function-discovery_1  |
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:183] initializing epoch 0 (hot restart version=10.200.16384.127.options=capacity=16384, num_slots=8209 hash=228984379728933363 size=2654312)
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:185] statically linked extensions:
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:187]   access_loggers: envoy.file_access_log,envoy.http_grpc_access_log
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:190]   filters.http: envoy.buffer,envoy.cors,envoy.ext_authz,envoy.fault,envoy.filters.http.rbac,envoy.grpc_http1_bridge,envoy.grpc_json_transcoder,envoy.grpc_web,envoy.gzip,envoy.health_check,envoy.http_dynamo_filter,envoy.ip_tagging,envoy.lua,envoy.rate_limit,envoy.router,envoy.squash,io.solo.azure_functions,io.solo.function_router,io.solo.gcloudfunc,io.solo.lambda,io.solo.nats_streaming,io.solo.transformation
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:193]   filters.listener: envoy.listener.original_dst,envoy.listener.proxy_protocol,envoy.listener.tls_inspector
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:196]   filters.network: envoy.client_ssl_auth,envoy.echo,envoy.ext_authz,envoy.http_connection_manager,envoy.mongo_proxy,envoy.ratelimit,envoy.redis_proxy,envoy.tcp_proxy,io.solo.filters.network.consul_connect
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:198]   stat_sinks: envoy.dog_statsd,envoy.metrics_service,envoy.statsd
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:200]   tracers: envoy.dynamic.ot,envoy.lightstep,envoy.zipkin
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:203]   transport_sockets.downstream: envoy.transport_sockets.capture,raw_buffer,tls
proxy_1               | [2018-08-02 16:40:08.705][1][info][main] external/envoy/source/server/server.cc:206]   transport_sockets.upstream: envoy.transport_sockets.capture,raw_buffer,tls
proxy_1               | [2018-08-02 16:40:08.730][1][info][config] external/envoy/source/server/configuration_impl.cc:50] loading 0 static secret(s)
proxy_1               | [2018-08-02 16:40:08.736][1][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:235] gRPC config stream closed: 14, no healthy upstream
proxy_1               | [2018-08-02 16:40:08.736][1][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:39] Unable to establish new stream
proxy_1               | [2018-08-02 16:40:08.737][1][info][config] external/envoy/source/server/configuration_impl.cc:60] loading 0 listener(s)
proxy_1               | [2018-08-02 16:40:08.737][1][info][config] external/envoy/source/server/configuration_impl.cc:94] loading tracing configuration
proxy_1               | [2018-08-02 16:40:08.737][1][info][config] external/envoy/source/server/configuration_impl.cc:116] loading stats sink configuration
proxy_1               | [2018-08-02 16:40:08.737][1][info][main] external/envoy/source/server/server.cc:398] starting main dispatch loop
proxy_1               | [2018-08-02 16:40:08.738][1][info][upstream] external/envoy/source/common/upstream/cluster_manager_impl.cc:128] cm init: initializing cds
qloo_1                | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/qloo/pkg/core/event_loop.go:46"  QLoo storage options: bootstrap.FileOptions{
qloo_1                |   ConfigDir: "_gloo_config",
qloo_1                |   SecretDir: "_gloo_config/secrets",
qloo_1                |   FilesDir:  "_gloo_config/files",
qloo_1                | }
qloo_1                | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/qloo/pkg/core/event_loop.go:85"  QLoo server started and listening on ":9090"
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/endpointswatcher/endpoints_watcher.go:26" WARNING:
control-plane_1       | Starting endpoint discovery failed: &errors.withStack{
control-plane_1       |   error: &errors.withMessage{
control-plane_1       |     cause: &os.PathError{
control-plane_1       |       Op:   "open",
control-plane_1       |       Path: "",
control-plane_1       |       Err:  0x2,
control-plane_1       |     },
control-plane_1       |     msg: "failed to create copilot client",
control-plane_1       |   },
control-plane_1       |   stack: &errors.stack{
control-plane_1       |     0x1278600,
control-plane_1       |     0x120a13e,
control-plane_1       |     0x126a5fd,
control-plane_1       |     0x126a1e7,
control-plane_1       |     0x1311421,
control-plane_1       |     0x57ef58,
control-plane_1       |     0x57f96a,
control-plane_1       |     0x57f63b,
control-plane_1       |     0x131119d,
control-plane_1       |     0x42adf2,
control-plane_1       |     0x455cd1,
control-plane_1       |   },
control-plane_1       | }, endpoints will not be discovered for this upstream type
control-plane_1       |
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/endpointswatcher/endpoints_watcher.go:26" WARNING:
control-plane_1       | Starting endpoint discovery failed: &errors.withStack{
control-plane_1       |   error: &errors.withMessage{
control-plane_1       |     cause: &errors.errorString{
control-plane_1       |       s: "failed to build rest config: invalid configuration: no configuration has been provided",
control-plane_1       |     },
control-plane_1       |     msg: "failed to start Kubernetes endpoint discovery",
control-plane_1       |   },
control-plane_1       |   stack: &errors.stack{
control-plane_1       |     0x130c7af,
control-plane_1       |     0x120a13e,
control-plane_1       |     0x126a5fd,
control-plane_1       |     0x126a1e7,
control-plane_1       |     0x1311421,
control-plane_1       |     0x57ef58,
control-plane_1       |     0x57f96a,
control-plane_1       |     0x57f63b,
control-plane_1       |     0x131119d,
control-plane_1       |     0x42adf2,
control-plane_1       |     0x455cd1,
control-plane_1       |   },
control-plane_1       | }, endpoints will not be discovered for this upstream type
control-plane_1       |
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/snapshot/emitter.go:61"   change triggered by config
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/eventloop/eventloop.go:163"
control-plane_1       | old hash: 0x0000000000000000
control-plane_1       | new hash: 0x480d64ed4fd0edf5
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/translator/translator.go:69"  Translation loop starting
control-plane_1       | Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/storage/dependencies/interfaces.go:58    change detected in files: modified:  = filewatcher.Files{}
control-plane_1       |
control-plane_1       | Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/storage/watcher.go:113   change detected in virtualservices: modified:  = []*v1.Role{(*v1.Role)(0xc4203ba0c0)}
control-plane_1       |
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/eventloop/eventloop.go:163"
control-plane_1       | old hash: 0x480d64ed4fd0edf5
control-plane_1       | new hash: 0x722bb8102038c6d2
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/translator/translator.go:69"  Translation loop starting
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/snapshot/emitter.go:61"   change triggered by config
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/eventloop/eventloop.go:163"
control-plane_1       | old hash: 0x722bb8102038c6d2
control-plane_1       | new hash: 0x722bb8102038c6d2
control-plane_1       | "Thu, 02 Aug 2018 16:40:09 UTC: github.com/solo-io/gloo/pkg/control-plane/eventloop/eventloop.go:163"
control-plane_1       | old hash: 0x722bb8102038c6d2
control-plane_1       | new hash: 0x722bb8102038c6d2
control-plane_1       | "Thu, 02 Aug 2018 16:40:13 UTC: github.com/solo-io/gloo/pkg/control-plane/xds/xds.go:35"    node "1" registered with role "qloo"
control-plane_1       | "Thu, 02 Aug 2018 16:40:13 UTC: github.com/solo-io/gloo/pkg/control-plane/xds/xds.go:42"    open watch %!d(string=1) for "type.googleapis.com/envoy.api.v2.Cluster"[]string{} from nodeID "\x1b[31m\x1b[1m\"\x1b[0m\x1b[31mqloo\x1b[0m\x1b[31m\x1b[1m\"\x1b[0m", version "\x1b[31m\x1b[1m\"\x1b[0m\x1b[31m\x1b[1m\"\x1b[0m"

Killing docker-compose_control-plane_1       ... done
Killing docker-compose_qloo_1                ... done
Killing docker-compose_proxy_1               ... done
Killing docker-compose_function-discovery_1  ... done
(base) ✘-2 ~/Code/qloo/install/docker-compose [master|✔]
10:48 $ docker-compose up
Starting docker-compose_proxy_1              ... done
Starting docker-compose_control-plane_1      ... done
Starting docker-compose_function-discovery_1 ... done
Starting docker-compose_qloo_1               ... done
Attaching to docker-compose_proxy_1, docker-compose_function-discovery_1, docker-compose_qloo_1, docker-compose_control-plane_1
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:183] initializing epoch 0 (hot restart version=10.200.16384.127.options=capacity=16384, num_slots=8209 hash=228984379728933363 size=2654312)
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:185] statically linked extensions:
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:187]   access_loggers: envoy.file_access_log,envoy.http_grpc_access_log
function-discovery_1  | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/function-discovery/eventloop/event_loop.go:197" WARNING:
function-discovery_1  | create kube client failed: %!v(MISSING). functonal services running in kubernetes will not be discovered by function discovery
function-discovery_1  |
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:190]   filters.http: envoy.buffer,envoy.cors,envoy.ext_authz,envoy.fault,envoy.filters.http.rbac,envoy.grpc_http1_bridge,envoy.grpc_json_transcoder,envoy.grpc_web,envoy.gzip,envoy.health_check,envoy.http_dynamo_filter,envoy.ip_tagging,envoy.lua,envoy.rate_limit,envoy.router,envoy.squash,io.solo.azure_functions,io.solo.function_router,io.solo.gcloudfunc,io.solo.lambda,io.solo.nats_streaming,io.solo.transformation
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:193]   filters.listener: envoy.listener.original_dst,envoy.listener.proxy_protocol,envoy.listener.tls_inspector
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:196]   filters.network: envoy.client_ssl_auth,envoy.echo,envoy.ext_authz,envoy.http_connection_manager,envoy.mongo_proxy,envoy.ratelimit,envoy.redis_proxy,envoy.tcp_proxy,io.solo.filters.network.consul_connect
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:198]   stat_sinks: envoy.dog_statsd,envoy.metrics_service,envoy.statsd
proxy_1               | [2018-08-02 17:48:47.508][1][info][main] external/envoy/source/server/server.cc:200]   tracers: envoy.dynamic.ot,envoy.lightstep,envoy.zipkin
proxy_1               | [2018-08-02 17:48:47.509][1][info][main] external/envoy/source/server/server.cc:203]   transport_sockets.downstream: envoy.transport_sockets.capture,raw_buffer,tls
proxy_1               | [2018-08-02 17:48:47.509][1][info][main] external/envoy/source/server/server.cc:206]   transport_sockets.upstream: envoy.transport_sockets.capture,raw_buffer,tls
qloo_1                | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/qloo/pkg/core/event_loop.go:46"  QLoo storage options: bootstrap.FileOptions{
qloo_1                |   ConfigDir: "_gloo_config",
qloo_1                |   SecretDir: "_gloo_config/secrets",
qloo_1                |   FilesDir:  "_gloo_config/files",
qloo_1                | }
proxy_1               | [2018-08-02 17:48:47.522][1][info][config] external/envoy/source/server/configuration_impl.cc:50] loading 0 static secret(s)
qloo_1                | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/qloo/pkg/core/event_loop.go:85"  QLoo server started and listening on ":9090"
proxy_1               | [2018-08-02 17:48:47.527][1][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:235] gRPC config stream closed: 14, no healthy upstream
proxy_1               | [2018-08-02 17:48:47.527][1][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:39] Unable to establish new stream
proxy_1               | [2018-08-02 17:48:47.527][1][info][config] external/envoy/source/server/configuration_impl.cc:60] loading 0 listener(s)
proxy_1               | [2018-08-02 17:48:47.527][1][info][config] external/envoy/source/server/configuration_impl.cc:94] loading tracing configuration
proxy_1               | [2018-08-02 17:48:47.527][1][info][config] external/envoy/source/server/configuration_impl.cc:116] loading stats sink configuration
proxy_1               | [2018-08-02 17:48:47.527][1][info][main] external/envoy/source/server/server.cc:398] starting main dispatch loop
proxy_1               | [2018-08-02 17:48:47.528][1][info][upstream] external/envoy/source/common/upstream/cluster_manager_impl.cc:128] cm init: initializing cds
control-plane_1       | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/control-plane/endpointswatcher/endpoints_watcher.go:26" WARNING:
control-plane_1       | Starting endpoint discovery failed: &errors.withStack{
control-plane_1       |   error: &errors.withMessage{
control-plane_1       |     cause: &os.PathError{
control-plane_1       |       Op:   "open",
control-plane_1       |       Path: "",
control-plane_1       |       Err:  0x2,
control-plane_1       |     },
control-plane_1       |     msg: "failed to create copilot client",
control-plane_1       |   },
control-plane_1       |   stack: &errors.stack{
control-plane_1       |     0x1278600,
control-plane_1       |     0x120a13e,
control-plane_1       |     0x126a5fd,
control-plane_1       |     0x126a1e7,
control-plane_1       |     0x1311421,
control-plane_1       |     0x57ef58,
control-plane_1       |     0x57f96a,
control-plane_1       |     0x57f63b,
control-plane_1       |     0x131119d,
control-plane_1       |     0x42adf2,
control-plane_1       |     0x455cd1,
control-plane_1       |   },
control-plane_1       | }, endpoints will not be discovered for this upstream type
control-plane_1       |
control-plane_1       | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/control-plane/endpointswatcher/endpoints_watcher.go:26" WARNING:
control-plane_1       | Starting endpoint discovery failed: &errors.withStack{
control-plane_1       |   error: &errors.withMessage{
control-plane_1       |     cause: &errors.errorString{
control-plane_1       |       s: "failed to build rest config: invalid configuration: no configuration has been provided",
control-plane_1       |     },
control-plane_1       |     msg: "failed to start Kubernetes endpoint discovery",
control-plane_1       |   },
control-plane_1       |   stack: &errors.stack{
control-plane_1       |     0x130c7af,
control-plane_1       |     0x120a13e,
control-plane_1       |     0x126a5fd,
control-plane_1       |     0x126a1e7,
control-plane_1       |     0x1311421,
control-plane_1       |     0x57ef58,
control-plane_1       |     0x57f96a,
control-plane_1       |     0x57f63b,
control-plane_1       |     0x131119d,
control-plane_1       |     0x42adf2,
control-plane_1       |     0x455cd1,
control-plane_1       |   },
control-plane_1       | }, endpoints will not be discovered for this upstream type
control-plane_1       |
control-plane_1       | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/control-plane/snapshot/emitter.go:61"   change triggered by config
control-plane_1       | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/control-plane/eventloop/eventloop.go:163"
control-plane_1       | old hash: 0x0000000000000000
control-plane_1       | new hash: 0x722bb8102038c6d2
control-plane_1       | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/control-plane/translator/translator.go:69"  Translation loop starting
control-plane_1       | Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/storage/dependencies/interfaces.go:58    change detected in files: modified:  = filewatcher.Files{}
control-plane_1       |
control-plane_1       | "Thu, 02 Aug 2018 17:48:47 UTC: github.com/solo-io/gloo/pkg/control-plane/eventloop/eventloop.go:163"
control-plane_1       | old hash: 0x722bb8102038c6d2
control-plane_1       | new hash: 0x722bb8102038c6d2
control-plane_1       | "Thu, 02 Aug 2018 17:48:52 UTC: github.com/solo-io/gloo/pkg/control-plane/xds/xds.go:35"    node "1" registered with role "qloo"
control-plane_1       | "Thu, 02 Aug 2018 17:48:52 UTC: github.com/solo-io/gloo/pkg/control-plane/xds/xds.go:42"    open watch %!d(string=1) for "type.googleapis.com/envoy.api.v2.Cluster"[]string{} from nodeID "\x1b[31m\x1b[1m\"\x1b[0m\x1b[31mqloo\x1b[0m\x1b[31m\x1b[1m\"\x1b[0m", version "\x1b[31m\x1b[1m\"\x1b[0m\x1b[31m\x1b[1m\"\x1b[0m"

^CGracefully stopping... (press Ctrl+C again to force)
Stopping docker-compose_control-plane_1      ... done
Stopping docker-compose_qloo_1               ... done
Stopping docker-compose_proxy_1              ... done
Stopping docker-compose_function-discovery_1 ... done
ilackarms commented 6 years ago

everything looks good with your output. it may be disconcerting to see some errors, but you can ignore those. try creating a schema and some resolvers and see if it works for you. i'll leave this open until you confirm that qloo is working (or not)

nicholsn commented 6 years ago

thanks, my bad - I was expecting docker-compose to run this as a daemon rather than in the foreground.

After starting up the petstore, I now have the following:

(base) 10:06:30 ~/Downloads$ docker ps
CONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS              PORTS                                              NAMES
830ac13ea9b7        soloio/petstore-example:latest    "/petstore"              14 minutes ago      Up 14 minutes       0.0.0.0:1234->8080/tcp                             awesome_clarke
8f5d4f5981f4        soloio/qloo:0.1.1                 "/qloo --storage.typ…"   15 minutes ago      Up 15 minutes       0.0.0.0:9090->9090/tcp                             docker-compose_qloo_1
86525f47950e        soloio/control-plane:0.4.1        "/control-plane --st…"   15 minutes ago      Up 15 minutes       0.0.0.0:8081->8081/tcp                             docker-compose_control-plane_1
d6835db53d28        soloio/envoy:0.4.1                "envoy -c /config/en…"   15 minutes ago      Up 15 minutes       0.0.0.0:8080->8080/tcp, 0.0.0.0:19000->19000/tcp   docker-compose_proxy_1
d852788f0128        soloio/function-discovery:0.4.1   "/function-discovery…"   15 minutes ago      Up 15 minutes                                                          docker-compose_function-discovery_1

However, I am unclear about how to actually create the upstream, per: https://github.com/solo-io/qloo/blob/master/docs/getting_started/docker/1.md#create-a-gloo-upstream-for-the-petstore

It doesn't look like any of the containers have qlooctl on the $PATH. Is there something else I am missing?

(base) 09:59:53 ~/Downloads$ docker exec -it docker-compose_qloo_1 qlooctl
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"qlooctl\": executable file not found in $PATH": unknown
(base) 10:01:45 ~/Downloads$ docker exec -it docker-compose_control-plane_1 qlooctl
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"qlooctl\": executable file not found in $PATH": unknown
(base) 10:02:12 ~/Downloads$ docker exec -it docker-compose_proxy_1 qlooctl
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"qlooctl\": executable file not found in $PATH": unknown
(base) 10:02:23 ~/Downloads$ docker exec -it docker-compose_function-discovery_1 qlooctl
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"qlooctl\": executable file not found in $PATH": unknown
ilackarms commented 6 years ago

qlooctl isn't in any container. you're intended to download it from our releases and run it directly on your workstation to interact with QLoo.

you'll also want to run ./prepare-directories.sh beforehand (or qlooctl install docker)

nicholsn commented 6 years ago

FYI, I got this up and running... thanks for the support