{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/24722","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/24722/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/24722/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/24722/events","html_url":"https://github.com/JuliaLang/julia/issues/24722","id":276274242,"number":24722,"title":"addprocs problem with multiple nodes in 0.6.1","user":{"login":"alkorang","id":11420879,"avatar_url":"https://avatars1.githubusercontent.com/u/11420879?v=4","gravatar_id":"","url":"https://api.github.com/users/alkorang","html_url":"https://github.com/alkorang","followers_url":"https://api.github.com/users/alkorang/followers","following_url":"https://api.github.com/users/alkorang/following{/other_user}","gists_url":"https://api.github.com/users/alkorang/gists{/gist_id}","starred_url":"https://api.github.com/users/alkorang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkorang/subscriptions","organizations_url":"https://api.github.com/users/alkorang/orgs","repos_url":"https://api.github.com/users/alkorang/repos","events_url":"https://api.github.com/users/alkorang/events{/privacy}","received_events_url":"https://api.github.com/users/alkorang/received_events","type":"User","site_admin":false},"labels":[{"id":9159719,"url":"https://api.github.com/repos/JuliaLang/julia/labels/parallel","name":"parallel","color":"f7e102","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-11-23T06:16:17Z","updated_at":"2018-03-26T13:08:32Z","closed_at":"2018-03-26T13:08:32Z","author_association":"NONE","body":"I setup cluster with multiple nodes and I works perfectly with 0.6.0 version, but not with 0.6.1 version.\r\n\r\n```\r\n               _\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"?help\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.6.1 (2017-10-24 22:15 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Official http://julialang.org/ release\r\n|__/                   |  x86_64-pc-linux-gnu\r\n\r\njulia> versioninfo()\r\nJulia Version 0.6.1\r\nCommit 0d7248e2ff (2017-10-24 22:15 UTC)\r\nPlatform Info:\r\n  OS: Linux (x86_64-pc-linux-gnu)\r\n  CPU: Intel(R) Xeon(R) CPU           E5405  @ 2.00GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)\r\n  LAPACK: libopenblas64_\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.9.1 (ORCJIT, penryn)\r\n\r\njulia> addprocs([(\"node2\", 1)])\r\nERROR: connect: host is unreachable (EHOSTUNREACH)\r\ntry_yieldto(::Base.##296#297{Task}, ::Task) at ./event.jl:189\r\nwait() at ./event.jl:234\r\nwait(::Condition) at ./event.jl:27\r\nstream_wait(::TCPSocket, ::Condition, ::Vararg{Condition,N} where N) at ./stream.jl:42\r\nwait_connected(::TCPSocket) at ./stream.jl:258\r\nconnect at ./stream.jl:983 [inlined]\r\nconnect_to_worker(::SubString{String}, ::UInt16) at ./distributed/managers.jl:493\r\nconnect(::Base.Distributed.SSHManager, ::Int64, ::WorkerConfig) at ./distributed/managers.jl:431\r\ncreate_worker(::Base.Distributed.SSHManager, ::WorkerConfig) at ./distributed/cluster.jl:443\r\nsetup_launched_worker(::Base.Distributed.SSHManager, ::WorkerConfig, ::Array{Int64,1}) at ./distributed/cluster.jl:389\r\n(::Base.Distributed.##33#36{Base.Distributed.SSHManager,WorkerConfig,Array{Int64,1}})() at ./task.jl:335\r\nStacktrace:\r\n [1] sync_end() at ./task.jl:287\r\n [2] macro expansion at ./task.jl:303 [inlined]\r\n [3] #addprocs_locked#30(::Array{Any,1}, ::Function, ::Base.Distributed.SSHManager) at ./distributed/cluster.jl:344\r\n [4] (::Base.Distributed.#kw##addprocs_locked)(::Array{Any,1}, ::Base.Distributed.#addprocs_locked, ::Base.Distributed.SSHManager) at ./<missing>:0\r\n [5] #addprocs#29(::Array{Any,1}, ::Function, ::Base.Distributed.SSHManager) at ./distributed/cluster.jl:319\r\n [6] (::Base.Distributed.#kw##addprocs)(::Array{Any,1}, ::Base.Distributed.#addprocs, ::Base.Distributed.SSHManager) at ./<missing>:0\r\n [7] #addprocs#239(::Bool, ::Cmd, ::Int64, ::Array{Any,1}, ::Function, ::Array{Tuple{String,Int64},1}) at ./distributed/managers.jl:114\r\n [8] addprocs(::Array{Tuple{String,Int64},1}) at ./distributed/managers.jl:113\r\n\r\njulia> Master process (id 1) could not connect within 60.0 seconds.\r\nexiting.\r\njulia> \r\n\r\njulia> addprocs([(\"node2\", 1)];tunnel=true)\r\n1-element Array{Int64,1}:\r\n 3\r\n\r\njulia> addprocs([(\"node3\", 1)];tunnel=true)\r\nERROR: connect: host is unreachable (EHOSTUNREACH)\r\nStacktrace:\r\n [1] try_yieldto(::Base.##296#297{Task}, ::Task) at ./event.jl:189\r\n [2] wait() at ./event.jl:234\r\n [3] wait(::Condition) at ./event.jl:27\r\n [4] stream_wait(::TCPSocket, ::Condition, ::Vararg{Condition,N} where N) at ./stream.jl:42\r\n [5] wait_connected(::TCPSocket) at ./stream.jl:258\r\n [6] connect at ./stream.jl:983 [inlined]\r\n [7] connect_to_worker(::SubString{String}, ::UInt16) at ./distributed/managers.jl:493\r\n [8] connect_w2w(::Int64, ::WorkerConfig) at ./distributed/managers.jl:452\r\n [9] connect(::Base.Distributed.DefaultClusterManager, ::Int64, ::WorkerConfig) at ./distributed/managers.jl:386\r\n [10] connect_to_peer(::Base.Distributed.DefaultClusterManager, ::Int64, ::WorkerConfig) at ./distributed/process_messages.jl:329\r\n [11] (::Base.Distributed.##117#118{WorkerConfig,Int64})() at ./task.jl:335\r\nError [connect: host is unreachable (EHOSTUNREACH)] on 4 while connecting to peer 3. Exiting.\r\nWorker 4 terminated.\r\nERROR (unhandled task failure): Version read failed. Connection closed by peer.\r\nStacktrace:\r\n [1] process_hdr(::TCPSocket, ::Bool) at ./distributed/process_messages.jl:257\r\n [2] message_handler_loop(::TCPSocket, ::TCPSocket, ::Bool) at ./distributed/process_messages.jl:143\r\n [3] process_tcp_streams(::TCPSocket, ::TCPSocket, ::Bool) at ./distributed/process_messages.jl:118\r\n [4] (::Base.Distributed.##99#100{TCPSocket,TCPSocket,Bool})() at ./event.jl:73\r\n\r\n```\r\nFirst I tried with default option, it does not worked. So I tried with `tunnel=true` option, which make it possible to connect one node, but not multiple nodes at once.\r\n\r\nSo I tried the same with 0.6.0 version, and it worked perfectly.\r\n\r\n```\r\n               _\r\n   _       _ _(_)_     |  A fresh approach to technical computing\r\n  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org\r\n   _ _   _| |_  __ _   |  Type \"?help\" for help.\r\n  | | | | | | |/ _` |  |\r\n  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)\r\n _/ |\\__'_|_|_|\\__'_|  |  Official http://julialang.org/ release\r\n|__/                   |  x86_64-pc-linux-gnu\r\n\r\njulia> versioninfo()\r\nJulia Version 0.6.0\r\nCommit 9036443 (2017-06-19 13:05 UTC)\r\nPlatform Info:\r\n  OS: Linux (x86_64-pc-linux-gnu)\r\n  CPU: Intel(R) Xeon(R) CPU           E5405  @ 2.00GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)\r\n  LAPACK: libopenblas64_\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-3.9.1 (ORCJIT, penryn)\r\n\r\njulia> addprocs([(\"node2\", 1)])\r\n1-element Array{Int64,1}:\r\n 2\r\n\r\njulia> addprocs([(\"node3\", 1)])\r\n1-element Array{Int64,1}:\r\n 3\r\n\r\njulia> addprocs([(\"node2\", 1)];tunnel=true)\r\n1-element Array{Int64,1}:\r\n 4\r\n\r\njulia> addprocs([(\"node3\", 1)];tunnel=true)\r\n1-element Array{Int64,1}:\r\n 5\r\n\r\njulia> \r\n```"}}
{"actor":{"display_login":"alkorang"}}