You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the provider only supports one host. If this host is down or unreachable the Terraform will fail, even though there may be other IPA replicas that are online and reachable.
Potential Terraform Configuration
provider"freeipa" {
hosts=["ipa1.example.test", "ipa2.example.test"]
username="admin"password="123456789"insecure=true
}```
### Community Note* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request* If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
I don’t think this should be handled by the provider.
I would put a load balancer or some kind of failover system in front of the api and have the provider target it.
freeipa doesn’t like being behind a load balancer for host enrolment but it shouldn’t be an issue for the api. Be sure to enable sticky sessions or primary/backup config. You don’t want the api calls to end randomly on different servers. It would probably bring issues with the replication
@philip-harvey did you get a chace to try a reverse proxy in front of the ipa servers?
Hi @infra-monkey,
It seems like a lot of additional infrastructure to build a HA load balancer system to just load balance the API so that Terraform can call the API without failing when an IPA host is down, hence I have not followed this route.
Description
Currently the provider only supports one host. If this host is down or unreachable the Terraform will fail, even though there may be other IPA replicas that are online and reachable.
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: