fix bug Observability plugin calling createIndex from onNodeStarted m…#1885
fix bug Observability plugin calling createIndex from onNodeStarted m…#1885YANG-DB wants to merge 5 commits intoopensearch-project:2.xfrom
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.
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.
@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.
Thanks can be removed as it is deprecated by github.
|
|
||
| - name: Upload Artifacts | ||
| uses: actions/upload-artifact@v1 | ||
| uses: actions/upload-artifact@v3-node20 |
There was a problem hiding this comment.
Use v4, as v3 has been deprecated by github.
|
|
||
| - name: Upload Artifacts | ||
| uses: actions/upload-artifact@v1 | ||
| uses: actions/upload-artifact@v3-node20 |
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.