Closed ykxian closed 10 months ago
Hi @ykxian, sorry for the delay in my answer! I'm not sure if you were able to solve this yourself already, but in short I believe the easiest option for you is to remove the wireguard configuration on your machines, as it might interfere with the wireguard configuration of Celestial (which Celestial automatically configures for you). If the machines are all on the same network (which they appear to be given their IP addresses), then simply enter the IPs into your configuration file:
hosts = ["192.168.3.47:1969", "192.168.3.49:1969"]
peeringhosts = ["192.168.3.47:1970", "192.168.3.49:1970"]
database = true
dbhost = "192.168.3.46:8000"
Thanks for your reply @pfandzelter! Now I start the experiment as you say.
hosts = ["192.168.3.47:1969", "192.168.3.49:1969"]
peeringhosts = ["192.168.3.47:1970", "192.168.3.49:1970"]
database = true
dbhost = "192.168.3.46:8000"
But it seems that there are still problems in generating keys...
Sorry to bother you again.
It seems that wireguard is not configuring the keys correctly. Could you please share a screenshot of the output of one of the hosts and the contents of the /celestial
directory on the host?
host pc7: Thank you for your assistance.
Turns out there was a bug in handling errors coming out of the Wireguard key generation (which is the likely culprit of your error). Please try again with the latest revision from the main branch. We should then at least see a different error
OK, I will try it again. Thank you.
I add a line in remote.go
log.SetLevel(log.DebugLevel)
Ok, now I see the error. Please move your ~/celestial
folder to the root of your drive: /celestial
:
sudo mv ~/celestial /celestial
Should do the trick. Currently the paths are hardcoded, although this is something I'm working on at the moment
Thank you very much! It's running fine now.
Sure, let me know if anything else comes up!
Hello, I am sorry to disturb you. I really don't know how to solve the problem. I use 3 real workstations(pc6,pc7,pc8) to replace glcoud instance. The IP addresses of them are as follows: pc6:coordinator 192.168.3.46 192.168.1.100(wg0) pc7:host 192.168.3.47 192.168.1.101(wg0) pc8: host 192.168.3.49 192.168.1.102(wg0) pc 6 is the server of wireguard.
Here is my configuration of wireguard: validator.toml
wg0.conf of pc6
wg0.conf of pc7
wg0.conf of pc8
It works.I can ping pc7,pc8 from pc6.
When I start the experiment, there is something wrong.
Could you give me some advice?