Closed joserivca closed 8 years ago
what does weave ps
say?
[S56490@pmbrklnxd01 ~]$ sudo /database/weave/weave ps weave:expose 92:e8:bb:13:32:78 10.32.0.1/12 [S56490@pmbrklnxd01 ~]$
[S56490@pmbrklnxd02 ~]$ sudo /database/weave/weave ps weave:expose e6:54:37:ee:1a:c5 [S56490@pmbrklnxd02 ~]$
i ve tried in Centos 7 works perfect but in RHEL 7 not working!
Please post a complete transcript, i.e. everything from weave launch
to the failed ping.
i did the same stuff from the tutorial, HOST 1 sudo /database/weave/weave launch eval $(sudo /database/weave/weave env) HOST 2 sudo /database/weave/weave launch 10.80.197.58 eval $(sudo /database/weave/weave env) host 1 sudo docker run -d --name=pingme \ gliderlabs/alpine nc -p 4000 -ll -e echo 'Hello, Weave!' host 2 sudo docker run --name=pinger2 -ti \ gliderlabs/alpine sh -l
ping -c1 pingme
i did the same in centos and its works but rhel 7 is my problem! something can be with rhell 7?
There are no sudos in our tutorial.
Try running the example from inside sudo -s
.
btw, note the warning at https://github.com/weaveworks/weave#example:
run the above and all subsequent commands in a single root shell (e.g. one created with
sudo -s
). Do not prefix individual commands withsudo
, since some commands modify environment entries and hence they all need to be executed from the same shell.
so, i can execute if i dont root user?, cannot execute a user can do sudo?
sorry, I don't understand the question. Running the example from a sudo -s
shell should work just fine.
dude im sorry for my bad english! and my low skills in linux! LOL, Thanks really so much!
hello there ! im using red hat 7.3 docker 1.9 weave 1.4.6
i follow the tutorial but i cant ping the pinger with the pingme when i do weave status dns and nothing appears
i send my status by server
Host 1 sudo /database/weave/weave status
PeerDiscovery: enabled Targets: 0 Connections: 1 (1 established) Peers: 2 (with 2 established connections) TrustedSubnets: none
DefaultSubnet: 10.32.0.0/12
Host 2 [S56490@pmbrklnxd02 ~]$ sudo /database/weave/weave status
PeerDiscovery: enabled Targets: 1 Connections: 1 (1 established) Peers: 2 (with 2 established connections) TrustedSubnets: none
DefaultSubnet: 10.32.0.0/12
[S56490@pmbrklnxd02 ~]$ sudo /database/weave/weave status dns [S56490@pmbrklnxd02 ~]$ [S56490@pmbrklnxd02 ~]$ sudo /database/weave/weave status dns [S56490@pmbrklnxd02 ~]$ sudo /database/weave/weave status connections -> 10.80.197.58:6783 established fastdp 92:e8:bb:13:32:78(pmbrklnxd01) [S56490@pmbrklnxd02 ~]$
[S56490@pmbrklnxd02 ~]$ sudo /database/weave/weave status peers e6:54:37:ee:1a:c5(pmbrklnxd02) -> 10.80.197.58:6783 92:e8:bb:13:32:78(pmbrklnxd01) established 92:e8:bb:13:32:78(pmbrklnxd01) <- 10.80.132.244:58264 e6:54:37:ee:1a:c5(pmbrklnxd02) established [S56490@pmbrklnxd02 ~]$
please help me