Coder Social home page Coder Social logo

lab-docker's People

Contributors

dgageot avatar jeanlaurent avatar max-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

lab-docker's Issues

Step 4, init_swarm_google.sh : No healthy node available in the cluster on lab-net network creation

Hi !

I've been at the workshop in mixit but failed in making it work so I thought give it a try home.

I wanted to create a swarm on the google cloud but I can't get it right.
Everything works fine until this command :
docker $(docker-machine config --swarm master) network create --driver overlay lab-net
where the cloud answers :
Error response from daemon: No healthy node available in the cluster

And it is true that the master machine has 0 containers when asking to docker docker $(docker-machine config --swarm master) info.

It seems consul never gets any connection, when I run docker $(docker-machine config kv) logs 6030c9388f8a where 6030c9 points to the consul vm :

==> WARNING: Bootstrap mode enabled! Do not enable unless necessary
==> WARNING: It is highly recommended to set GOMAXPROCS higher than 1
==> Starting raft data migration...
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Consul agent running!
         Node name: 'consul'
        Datacenter: 'dc1'
            Server: true (bootstrap: true)
       Client Addr: 0.0.0.0 (HTTP: 8500, HTTPS: -1, DNS: 53, RPC: 8400)
      Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302)
    Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false
             Atlas: <disabled>

==> Log data will now stream in as it occurs:

    2016/04/30 17:32:05 [INFO] serf: EventMemberJoin: consul 172.17.0.2
    2016/04/30 17:32:05 [INFO] serf: EventMemberJoin: consul.dc1 172.17.0.2
    2016/04/30 17:32:05 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state
    2016/04/30 17:32:05 [INFO] consul: adding server consul (Addr: 172.17.0.2:8300) (DC: dc1)
    2016/04/30 17:32:05 [INFO] consul: adding server consul.dc1 (Addr: 172.17.0.2:8300) (DC: dc1)
    2016/04/30 17:32:05 [ERR] agent: failed to sync remote state: No cluster leader
    2016/04/30 17:32:07 [WARN] raft: Heartbeat timeout reached, starting election
    2016/04/30 17:32:07 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state
    2016/04/30 17:32:07 [INFO] raft: Election won. Tally: 1
    2016/04/30 17:32:07 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state
    2016/04/30 17:32:07 [INFO] consul: cluster leadership acquired
    2016/04/30 17:32:07 [INFO] consul: New leader elected: consul
    2016/04/30 17:32:07 [INFO] raft: Disabling EnableSingleNode (bootstrap)
    2016/04/30 17:32:07 [INFO] consul: member 'consul' joined, marking health alive
    2016/04/30 17:32:10 [INFO] agent: Synced service 'consul'

I can't find any help on creating a swarm with docker-machine in a cloud.

Can you help me somehow please ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.