--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/20d142a8-dcf0-4dab-9d33-884188aa02c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hi RafaelWe are currently working on the upgrade docs for the final RC (should be ready today or tomorrow).Did you "upgrade" from an older version on Consul with the same state or are these all fresh servers?
Basically when 1.4.0 servers startup they advertise that they start in "Legacy ACL" mode for compatibility during the upgrade. They advertise that they are now capable of new ACLs via gossip. When all servers in a DC have advertised that they are ready for 1.4.0 ACLs, the leader transitions the cluster and writes that to the state store so future startups don't need to go through the same process.
So the answer is it should be automatic once all your servers are running 1.4.0 and are up and healthy. Can you give some more details on how you created them (e.g. do they have old pre-1.4.0 state) and from the logs/UI etc are all three up and healthy?
Also, do you get that message consistently if you try to bootstrap a few seconds after the cluster is up? If you were trying to run it in a script for example it might be that you make the call before the gossip has converged and the leader upgraded ACLs.
Consul 1.4 will auto-transition out of legacy mode on its own. For servers in the primary dc the requirements are that all of the servers must be running version 1.4.0 or above and all servers must have ACLs enabled. Looking at your setup it sounds like you meet that criteria. The check for whether transitioning can take place will happen often when first starting but the interval gets increased over time with a cap of checking once every minute. Did you try to bootstrap immediately after bringing up the servers? If so what happens if you try and bootstrap after waiting a minute.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/1a73cced-97da-4dac-8b77-b631e9f842eb%40googlegroups.com.
Should I introduce a waiting time between joining and bootstraping? (so all agents could agree into new ACL version)
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/CA%2BAuGq0FrYtin_5aF0Vxud6SG24gUbVhJphK-01S5R-ym%3DayVw%40mail.gmail.com.
So the ACL not found error there is in using the agent api to request that the agent join the others and not actually that the agent itself would be unable to join. You can specify the nodes to join in the config or on the cli. Alternatively if you set acl.tokens.agent_master then you can use that token for any operations that utilize the /agent apis including joining/leaving the cluster.
As for when to bootstrap the best thing to do is to detect the legacy mode error and then retry until it succeeds with a short wait in between tries. If you have no time constraints then you certainly could wait for 64ish seconds before bootstrapping.
With the final 1.4.0 you will also be able to detect the ACL mode using the /agent/self endpoint (which would still require using the agent master token prior to ACL bootstrapping)
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/CA%2BAuGq10kpBAgo1vpA9bWUYLzqhQLKWhmNrvE3%3Dh%3DmFeC_VozA%40mail.gmail.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/CA%2BAuGq10kpBAgo1vpA9bWUYLzqhQLKWhmNrvE3%3Dh%3DmFeC_VozA%40mail.gmail.com.