ngageoint / scale

Processing framework for containerized algorithms
http://ngageoint.github.io/scale/
Apache License 2.0
105 stars 45 forks source link

init-examples can't find goscale #591

Closed soccerjustinh1 closed 7 years ago

soccerjustinh1 commented 7 years ago

From GIT repository scale-master, after compiling both vagrant and ansible from source. I am able to get the scale-master, scale-slave1 and scale-slave2 virtualbox machines started up. Within scale-master I have the docker containers:

CONTAINER ID        IMAGE                                 COMMAND                  CREATED             STATUS              PORTS                          NAMES
f40069b28f8b        bigdatauniversity/file-upload         "/start"                 8 minutes ago       Up 8 minutes        22/tcp, 0.0.0.0:8081->80/tcp   file-uploader
8bc52a1e6e69        httpd                                 "httpd-foreground"       8 minutes ago       Up 8 minutes        0.0.0.0:8080->80/tcp           example-web
69dbdf5e309d        geoint/scale:3.1.0                    "./entryPoint.sh scal"   8 minutes ago       Up 8 minutes        80/tcp, 5051/tcp, 8000/tcp     scale-scheduler
434a488a3e4d        mesoscloud/mesos-master:0.24.1        "/usr/local/bin/dumb-"   10 minutes ago      Up 10 minutes                                      mesos-master
356dd1678cc8        mesoscloud/zookeeper:3.4.6-centos-7   "/entrypoint.sh zkSer"   10 minutes ago      Up 10 minutes                                      zookeeper
310a8bd008f6        registry:2                            "/entrypoint.sh /etc/"   11 minutes ago      Up 11 minutes       0.0.0.0:5000->5000/tcp         registry
e8bf6888c6e4        mdillon/postgis                       "/docker-entrypoint.s"   11 minutes ago      Up 11 minutes       0.0.0.0:5432->5432/tcp         postgis

However I am not able to get the ansible init-examples to execute the command /scale/bin/goscale within scale-master.

What am I missing here?

I have tried vagrant ssh scale-master and then compiling the scale-cli manually. However I seem to be stuck waiting for the glide fetch?

yum install glide go git
source init-env.sh
[WARN]  The name listed in the config file () does not match the current location (github.com/ngageoint/scale/scale-cli)
[INFO]  Lock file (glide.lock) does not exist. Performing update.
[WARN]  The name listed in the config file () does not match the current location (github.com/ngageoint/scale/scale-cli)
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching github.com/codegangsta/cli.
[INFO]  --> Fetching gopkg.in/resty.v0.
[INFO]  --> Fetching github.com/op/go-logging.
[INFO]  --> Fetching github.com/fatih/color.
[INFO]  --> Fetching github.com/ghodss/yaml.
[INFO]  --> Fetching github.com/cloudfoundry-incubator/candiedyaml.
[INFO]  --> Fetching github.com/docker/docker.
[INFO]  --> Fetching golang.org/x/net.

I just want to push some image data through Scale so I can have a look at the output image product(s). I was thinking of just generating a tile map product from some images so I can get started with Scale.

Any ideas on how to proceed?

soccerjustinh1 commented 7 years ago

Seems you just have to wait (20+ minutes) for glide to pull down its dependencies if you have slow network connection (like me).

Now goscale is available on scale-master virtual machine.

Hope someone finds this helpful.