-
Notifications
You must be signed in to change notification settings - Fork 99
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
fix bug Observability plugin calling createIndex from onNodeStarted m… #1885
base: 2.x
Are you sure you want to change the base?
fix bug Observability plugin calling createIndex from onNodeStarted m… #1885
Conversation
…ethod before cluster state is ready (waits for the cluster state to be ready) Signed-off-by: YANGDB <yang.db.dev@gmail.com>
Signed-off-by: YANGDB <yang.db.dev@gmail.com>
see https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ Signed-off-by: YANGDB <yang.db.dev@gmail.com>
Signed-off-by: YANGDB <yang.db.dev@gmail.com>
while (clusterService.state().blocks().hasGlobalBlockWithStatus(RestStatus.SERVICE_UNAVAILABLE)) { | ||
log.info("Wait for cluster to be available ...") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
I had the same question that was raised by Shwetha in the original issue:
The main branch doesn't have same code as well? why is there divergence?
Do we know why was this only needed for 2.x and what's the path ahead to converge these branches?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ps48 I'm not sure why this was removed in the main branch
not really involved recently with this repository....
env: | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks can be removed as it is deprecated by github.
@@ -56,7 +61,7 @@ jobs: | |||
cp -r ./build/distributions/*.zip opensearch-observability-builds/ | |||
|
|||
- name: Upload Artifacts | |||
uses: actions/upload-artifact@v1 | |||
uses: actions/upload-artifact@v3-node20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use v4, as v3 has been deprecated by github.
@@ -88,7 +94,7 @@ jobs: | |||
cp -r ./build/distributions/*.zip opensearch-observability-builds/ | |||
|
|||
- name: Upload Artifacts | |||
uses: actions/upload-artifact@v1 | |||
uses: actions/upload-artifact@v3-node20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
Signed-off-by: YANGDB <yang.db.dev@gmail.com>
There was breaking change in the
Can you please update the uploaded artifact name to be generated from the matrix used in the workflow. Here's an example of similar issue fixed in the dashboards-observability: https://github.com/opensearch-project/dashboards-observability/pull/2259/files |
Description
BUG - fix bug Observability plugin calling createIndex from onNodeStarted method before cluster state is ready (waits for the cluster state to be ready)
To introduce additional start command for all CI build which rely on the OpnSearch Docker image, as Github rollout the deprecation of the Node 16 on all it's CI-runner, as the result all existing Github which rely on the old version of Node.JS (Ex: actions/checkout@v3) failed due to the following errors:
The issue has been discovered over opensearch-project/opensearch-build#5178 and fix has been verified and applied on multiple OpenSearch plugin, such as:
Related Issues
Check List
--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.