Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    j0n3
    @j0n3
    ERROR event.go:107: etcd watcher {Watch /_coreos.com/fleet/job} returned error: unexpected end of JSON input
    INFO client.go:291: Failed getting response from http://localhost:4001/: unexpected EOF
    ERROR client.go:213: Unable to get result for {Watch /_coreos.com/fleet/job}, retrying in 100ms
    Traun Leyden
    @tleyden
    @j0n3 you need to enable the fleet api in your cluster config. Not sure how well its documented, but if you check earlier conversation w @FreakTheMighty you might be able to figure it out. I will check the docs, and look into ways to make this easier.
    Traun Leyden
    @tleyden

    @j0n3 does your user-data file look like this? https://github.com/tleyden/elastic-thought#update-cloud-config

    if it does but its still not working, you may need to run vagrant reload --provision

    j0n3
    @j0n3
    2015/03/26 15:04:23 Connect to etcd on localhost
    2015/03/26 15:04:23 Failed to get admin credentials from etc: Error getting key. Err: 100: Key not found (/couchbase.com/couchbase-node-state) [1054]
    2015/03/26 15:04:23 Error invoking target: exit status 1
    Couchbase cluster node:
    Failed to find ip of couchbase node

    I've uncommented this:$new_discovery_url='https://discovery.etcd.io/new'

    To automatically replace the discovery token on 'vagrant up', uncomment

    the lines below:

    #
    #
    if File.exists?('user-data') && ARGV[0].eql?('up')
    require 'open-uri'
    require 'yaml'

    token = open($new_discovery_url).read

    data = YAML.load(IO.readlines('user-data')[1..-1].join)
    data['coreos']['etcd']['discovery'] = token

    yaml = YAML.dump(data)
    File.open('user-data', 'w') { |file| file.write("#cloud-config\n\n#{yaml}") }
    end

    omg text formatting :(
    first of all, thank you for your time :)
    Traun Leyden
    @tleyden

    @j0n3 you have to get past this error:

    Get http://localhost:49153/fleet/v1/machines: dial tcp 127.0.0.1:49153: connection refused

    that means it's trying to connect to the coreos fleet api on port 49153, but fleet isn't listening on that port. I'm guessing because your user-data file is wrong or you need to run vagrant reload --provision

    yeah np!
    btw I'm planning to fork the coreos vagrant repo to make this easier
    j0n3
    @j0n3
    this would be great!
    Traun Leyden
    @tleyden
    yes, you should uncomment that stuff regarding the discovery token
    j0n3
    @j0n3
    I'm new to docker and this deep learning stuff is out of my knowledge...
    my goals are:
    1. getting this up and running.
    2. Learn how this work in order to feed own model database
    3. how to query the API for an image and get its tags
    it is a very interesting project so thank you for sharing!
    Traun Leyden
    @tleyden
    For 2., do you mean you don't want to train your own model database, you just want to stick in a pre-trained model database?
    j0n3
    @j0n3
    the more model database, the less work, isn't it?
    we are running a classified ads site
    Traun Leyden
    @tleyden
    yes it's definitely less work. you'll need to do a little hacking because the elastic-thought api doesn't support that use case yet, but it's possible.
    j0n3
    @j0n3
    we want to make ad insertion easier for the user, so we want to suggest a category based on uploaded pics
    Traun Leyden
    @tleyden
    I'm planning to add an api for that, since it will be a popular use case
    very cool
    j0n3
    @j0n3
    you are great
    Traun Leyden
    @tleyden
    thanks!
    j0n3
    @j0n3
    ;)
    too many technologies involved
    I mean more than I already have to use
    I can't even imagine coding this freaking awesome stuff!
    high skills...
    I'm just a computer passionate but not an engineer :(
    Jesse Vander Does
    @FreakTheMighty
    j0n3 have you seen the image classification example using python and flask in caffes examples directory?
    j0n3
    @j0n3
    just landed a day or two ago...
    not yet
    do you know if CamFind app is using caffe?
    it works pretty nice
    Jesse Vander Does
    @FreakTheMighty
    You should check that example out.
    It does what you're describing
    j0n3
    @j0n3
    I will
    thank you!
    Traun Leyden
    @tleyden

    @j0n3 can you try from scratch?

    If you have nothing else on coreos, you can destroy everything with:

    $ cd ~/Vagrant/core-os
    $ vagrant destroy
    $ cd ~/Vagrant
    $ rm -rf core-os
    $ cd ~/.vagrant.d/boxes
    $ rm -rf coreos-alpha

    then start from scratch using these new updated instructions:

    https://github.com/tleyden/elastic-thought#install-coreos-on-vagrant

    (it uses a newly pushed fork of coreos-vagrant)

    j0n3
    @j0n3
    I'm updating the box (vagrant box update) and starting from scratch :)
    let's see, I'll report in some minutes
    thank you so much!
    j0n3
    @j0n3
    sed -i '' 's/420/0644/' user-data
    you may want to remove the quotes after -i ;)
    j0n3
    @j0n3
    It works at this point
    but needed the sed replacements
    now fleetctl list-machines show two nodes working
    j0n3
    @j0n3
    now from inside core-01 vm I have downloaded and executed ./elasticthought-cluster-init.sh -v 3.0.1 -n 2 -u "user:passw0rd" -p cpu
    it is now downloading all docker stuff repos