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

Upgrade failure because opensearch is slow to start #3841

Open
tomhughes opened this issue Jul 14, 2024 · 0 comments
Open

Upgrade failure because opensearch is slow to start #3841

tomhughes opened this issue Jul 14, 2024 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@tomhughes
Copy link

Chef Server Version

15.9.38

Platform Details

Ubuntu 22.04

Configuration

Standalone

Scenario

Complete upgrade of chef server.

Steps to Reproduce

Run chef-server-ctl upgrade.

Expected Result

Upgrade completes.

Actual Result

Upgrade fails on "add internal user to opensearch security plugin" because opensearch is not responsive.

Analysis

There is already an attempt to address the problem in the form of

but at least on the machine we're using 10 seconds is nothing like enough for opensearch to finish starting and be ready to answer requests.

Bumping the sleep to 30 seconds while clearly not ideal as a solution seemed to fix things for us.

@tomhughes tomhughes added the Status: Untriaged An issue that has yet to be triaged. label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant