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

verify cluster status after installation and fail the ansible job if cluster fails #8

Merged

Conversation

saravanan30erd
Copy link
Collaborator

@saravanan30erd saravanan30erd commented Oct 22, 2021

Signed-off-by: saravanan palanisamy [email protected]

Description

Verify the opensearch cluster status after installation, and pass the ansible job only if the cluster status is fine otherwise fail the job. In some scenarios, ansible job will be completed without any issues but opensearch cluster might have issues. so we are failing the ansible job if the cluster have any issues.

Issues Resolved

issue: #6

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: saravanan palanisamy <[email protected]>
@saravanan30erd saravanan30erd changed the title verify cluster status after installation and fail the job if verify cluster status after installation and fail the job if cluster fails Oct 22, 2021
@saravanan30erd saravanan30erd changed the title verify cluster status after installation and fail the job if cluster fails verify cluster status after installation and fail the ansible job if cluster fails Oct 22, 2021
@saravanan30erd
Copy link
Collaborator Author

@peterzhuamazon @TheAlgo

Copy link
Member

@peterzhuamazon peterzhuamazon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Need one more approval from @TheAlgo or @dblock.

Copy link
Member

@TheAlgo TheAlgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@peterzhuamazon peterzhuamazon merged commit f2750ef into opensearch-project:main Oct 26, 2021
@saravanan30erd saravanan30erd deleted the status-verify branch October 27, 2021 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants