1:13 AM
mapu joined the channel
1:16 AM
mapu has left the channel
1:42 AM
dylanmei joined the channel
2:24 AM
achanda joined the channel
3:26 AM
achanda joined the channel
3:35 AM
achanda joined the channel
3:50 AM
arunpyasi joined the channel
3:56 AM
arunpyasi joined the channel
4:58 AM
arunpyasi joined the channel
5:56 AM
trifygri joined the channel
6:10 AM
destiny__ joined the channel
7:05 AM
brunoleon_ joined the channel
7:13 AM
achanda joined the channel
7:19 AM
brunoleon_ joined the channel
7:35 AM
djx joined the channel
7:35 AM
fons joined the channel
7:36 AM
achanda joined the channel
7:41 AM
Lawouach_Work joined the channel
7:41 AM
Lawouach_Work
hi folks
7:49 AM
squaremo
Lawouach_Work: Good morning
7:50 AM
awh is now known as Guest73294
7:50 AM
Guest73294 has quit
7:51 AM
awh_ joined the channel
7:51 AM
awh_ has quit
7:52 AM
awh joined the channel
8:02 AM
achanda joined the channel
8:10 AM
achanda joined the channel
8:16 AM
Lawouach_Work
after the holiday, time to catch up with all the great things that happened with weave :)
8:32 AM
Lawouach_Work has quit
8:51 AM
stephanbuys joined the channel
8:56 AM
errordeveloper joined the channel
9:02 AM
bryanb joined the channel
9:05 AM
moonfish joined the channel
9:05 AM
moonfish has left the channel
9:09 AM
arunpyasi joined the channel
9:39 AM
trifygri joined the channel
10:06 AM
binocarlos joined the channel
10:08 AM
dpw joined the channel
10:22 AM
arun__ joined the channel
11:33 AM
binocarlos joined the channel
11:51 AM
sttts joined the channel
11:54 AM
darach has quit
11:54 AM
darach joined the channel
11:56 AM
stephanbuys1 joined the channel
12:03 PM
moderation joined the channel
12:15 PM
jfchevrette joined the channel
12:16 PM
trifygri joined the channel
12:23 PM
hesco has quit
12:31 PM
binocarlos joined the channel
12:38 PM
destiny__
any possible reason to have weave launch stuck ?
12:40 PM
bryanb
What does `weave status` say? (run it from a different shell/window)
12:42 PM
destiny__
where I have to do it ? on the host where I start to start weave or where I run the command (it's for different docker host)
12:46 PM
does weave use no_proxy and http_proxy etc variables ?
12:58 PM
awh
12:58 PM
We had this issue before, but now all the curl call happen inside the weaveexec container which has its own env so it should be OK
12:58 PM
Also which version of weave are you using?
13:00 PM
destiny__
11.2 I think
13:00 PM
somehing like that
13:01 PM
awh
Any joy running `weave status`?
13:04 PM
destiny__
I can't dl the image (slow connection)
13:04 PM
it stucks when i create my second machine of the network
13:05 PM
awh
`weave setup` on its own downloads the images
13:05 PM
Then `weave launch` etc shouldn't block
13:05 PM
destiny__
I already have images that I use nomaly
13:05 PM
weave container is running
13:06 PM
but a container with this command
13:06 PM
"/home/weave/sigprox
13:06 PM
what is his role ?
13:06 PM
awh
That's the process inside the weaveexec container running your current weave command
13:06 PM
destiny__
docker logs gives nothing
13:07 PM
awh
I think bryanb meant for you to run `weave status` on the same host as the one with the stuck `weave launch`, not on a second host
13:09 PM
destiny__
13:09 PM
the second one doesnt succeed to talk to the first one ?
13:09 PM
awh
Awaiting consensus
13:10 PM
It looks like IPAM hasn't achieved quorum
13:11 PM
destiny__
the first host seems Ok
13:11 PM
I started it with initpercount 1, now the second with 2 is stuck
13:12 PM
awh
Could you paste the commands you used to launch the two peers?
13:12 PM
destiny__
$WEAVE launch -iprange 10.2.3.0/24 -initpeercount 1
13:12 PM
$WEAVE launch-dns "10.9.1.1/24" -debug
13:12 PM
$WEAVE launch-proxy --with-dns --with-ipam
13:13 PM
and $WEAVE launch -iprange 10.2.3.0/24 -initpeercount 2 on the other host
13:13 PM
awh
And then you use `weave connect` to join one to ther other?
13:13 PM
destiny__
yes but after the 3 commands
13:14 PM
awh
The -initpeercount should be 2 on both
13:14 PM
See if that works
13:14 PM
destiny__
I hadn't to do that before
13:14 PM
and it worked
13:14 PM
the only one thing I changed is some proxy variables on the hosts
13:14 PM
awh
If you specify the IP address of the other peer to `weave launch` it isn't necessary
13:15 PM
destiny__
don't remeber to did that
13:16 PM
awh
Could you `weave version` for me just to make sure I'm looking at the right docs?
13:16 PM
So it has worked with those settings before?
13:16 PM
jfchevrette joined the channel
13:16 PM
You may have just got lucky with timing
13:16 PM
destiny__
+ SCRIPT_VERSION=(unreleased version)
13:17 PM
ok
13:17 PM
I took the latest version on my own registry when it was 0.11.2
13:17 PM
so when I start weave-launch I have to put the ip of the master ?
13:19 PM
awh
13:20 PM
destiny__
Or, if it is not convenient to name all the other hosts at launch time, you can give the number of peers like this:
13:20 PM
so I'm not forced to give an IP
13:20 PM
awh
That's right
13:20 PM
destiny__
oh sorry
13:20 PM
yes I am
13:20 PM
hmm, that's strange
13:21 PM
awh
Each peer needs to know how many peers there will be in total
13:21 PM
Which you can tell it by giving each the complete list of IPs
13:21 PM
destiny__
it's a dynamic cluster
13:21 PM
awh
Or with -initpeercount, and then use `weave connect` later
13:21 PM
destiny__
even me I don't know how many there will be
13:21 PM
ok so that's what i'm using
13:21 PM
so it's not normal that I have a problem
13:25 PM
gyre007 joined the channel
13:26 PM
awh
So it's the second launch that hangs
13:26 PM
So you can't follow up with `weave connect $HOST1`
13:26 PM
destiny__
yup
13:27 PM
awh
Is it still in that stuck state now?
13:28 PM
In the pastebin there was a container ID 1f38974edf82148f65b1a721003a89f708e922a2846a280e8f5bdb87353882e8
13:28 PM
Was that the weaveexec container?
13:32 PM
destiny__
yup
13:32 PM
the one which gives nothing with docker logs
13:32 PM
so it is waiting something ?
13:36 PM
awh
OK just been chatting with bryanb
13:37 PM
When you do `weave launch`, we iterate through all the application containers on the host and find all those who have a weave interface with an IP address inside the IPAM range
13:37 PM
destiny__
strenge cause It worked few days ago, don't able to remeber If i changed something ><
13:37 PM
awh
We then feed these into IP
13:37 PM
IPAM to claim them
13:38 PM
That claim requires quorum
13:38 PM
The quorum requires the peers to be connected
13:39 PM
So you can either do the second `weave launch` with the IP of HOST1
13:39 PM
destiny__
and not do the connect ?
13:39 PM
awh
Or you can do the `weave connect` asynchronously
13:39 PM
destiny__
so it shouldn't stuck
13:40 PM
awh
If you're in the 'stuck' state now you should be able to do `weave connect` in another shell on $HOST2 and the launch will complete
13:41 PM
destiny__
I did the weave connect
13:41 PM
still stuck
13:42 PM
awh
What does `weave status` on $HOST2 say now?
13:42 PM
destiny__
13:42 PM
got the peer, but still waiting ? lol
13:42 PM
shit
13:42 PM
i gave wrong ip
13:42 PM
it's ok
13:43 PM
weave connect unstucked it
13:43 PM
awh
I'll raise an issue for this
13:44 PM
We need to the dynamic scenario a bit more thought
13:44 PM
^We need to give
13:45 PM
destiny__: Do you have a github handle? I'll @mention you in the issue
13:45 PM
destiny__
pacaletx my name on github
13:46 PM
awh
Ta