My Consul client is not able to start the consul service. Its getting the following error
Consul version is Consul v1.0.0
WARNING: LAN keyring exists but -encrypt given, using keyring
==> Starting Consul agent...
==> Joining cluster...
==> 5 error(s) occurred:
* Failed to join 192.168.1.10: No installed keys could decrypt the message
* Failed to join 192.168.1.11: No installed keys could decrypt the message
* Failed to join 192.168.1.12: No installed keys could decrypt the message
* Failed to join 192.168.1.13: No installed keys could decrypt the message
* Failed to join 192.168.1.14: No installed keys could decrypt the message
Solution for this issue:
1. cd $consul-data-dir/serf
2. Added the current encryption key in "local.keyring"
3. Start consul
It works. In my case I have two data center. One data center's encryption key is missing in file "local.keyring". After updating and restarting it works fine.
Consul version is Consul v1.0.0
WARNING: LAN keyring exists but -encrypt given, using keyring
==> Starting Consul agent...
==> Joining cluster...
==> 5 error(s) occurred:
* Failed to join 192.168.1.10: No installed keys could decrypt the message
* Failed to join 192.168.1.11: No installed keys could decrypt the message
* Failed to join 192.168.1.12: No installed keys could decrypt the message
* Failed to join 192.168.1.13: No installed keys could decrypt the message
* Failed to join 192.168.1.14: No installed keys could decrypt the message
Solution for this issue:
1. cd $consul-data-dir/serf
2. Added the current encryption key in "local.keyring"
3. Start consul
It works. In my case I have two data center. One data center's encryption key is missing in file "local.keyring". After updating and restarting it works fine.
No comments:
Post a Comment