Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[On-prem Deployment - Managed DBs] attribute opensearch_domain_url is misleading #8463

Open
mauroseb opened this issue Jun 10, 2024 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@mauroseb
Copy link

mauroseb commented Jun 10, 2024

Describe the bug

The attribute named opensearch_domain_url makes the deployment fail when a URL pointing to OpenSearch is passed, but actually works with an FQDN (no schema specified).

To Reproduce

  • Deploy an automate with an AWS managed OpenSearch instance: passing the attribute:
    opensearch_domain_url = "https://os.example.com"

  • automate-es-gateway configuration will be generated incorrectly making nginx to bail out with the following error:

Jun 01 12:54:02 automate.example.com hab[684304]: automate-es-gateway.default(O): 2024/06/01 12:54:02 [emerg] 776785#0: invalid port in upstream "https:" in /hab/svc/automate-es-gateway/config/nginx.conf:33

Expected behavior

Deployment should succeed with a URL as the attribute name implies, or the attribute name should be changed to opensearch_fqdn or similar.

Versions:

  • Automate Version 4.12.40

Additional context

The scenario to reproduce the issue is using on-prem deployment with AWS managed databases.

@mauroseb mauroseb added the bug 🐛 Something isn't working label Jun 10, 2024
@mauroseb mauroseb changed the title [Deployment] On-prem Automate with Managed OpemSearch - attribute opensearch_domain_url is misleading [On-prem Deployment - Managed DBs] attribute opensearch_domain_url is misleading Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant