Comments (10)
Hi @maaaax, pls let us know if you are still facing the issue or it's resolved. Thanks
from opensearch-build.
Hi,
I have updated docker to >19 and everything works fine with that. So, for me not a problem. But maybe the start scripts should not write something about missing binaries (node,java) when they are actually just segfaulting.
from opensearch-build.
[Untriage]
Hey @maaaax looks to me this is coming from the OpenSearch Dashboards itself and not specific to the docker image.
Related PR's that might cause this issue.
https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4151/files
opensearch-project/OpenSearch-Dashboards#4237
@AMoo-Miki can you please add your thoughts?
Adding @peterzhuamazon @gaiksaya @bbarani should this be moved to OpenSearch Dashboards repo?
from opensearch-build.
Adding @peterzhuamazon @gaiksaya @bbarani should this be moved to OpenSearch Dashboards repo?
Yeah makes sense. If the docker image or any path needs to change in order to resolve this I believe dashboards team would be able to point it out.
from opensearch-build.
@AMoo-Miki @joshuarrrr @kavilla @ashwin-pc Can you please provide your inputs here?
from opensearch-build.
Dashboards exits with
"Could not find a Node.js runtime binary bundled with OpenSearch Dashboards or on the system" (bin/use_node)
use_node
logic hasn't changed between OSD 2.9 and 2.10. However, OSD 2.9 shipped with Node.js v16 while OSD 2.10 shipped with Node.js v18. Based on the comments though, i think that neither of the Node.js binaries shipped are working on that environment which is odd. Even if the environment cannot run Node.js v18, the fallback, Node.js v14 should work.
Will need to recreate this on my own to figure what is wrong.
I am not sure why OpenSearch wouldn't work though.
from opensearch-build.
Seems both are not working:
[opensearch-dashboards@90a3a8c1a2d4 ~]$ ./node/bin/node
./node/bin/node[16]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xb7a940 node::Abort() [./node/bin/node]
2: 0xb7a9be [./node/bin/node]
3: 0xbe98be [./node/bin/node]
4: 0xbe99a1 node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [./node/bin/node]
5: 0xb38f5b node::InitializeOncePerProcess(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, node::ProcessFlags::Flags) [./node/bin/node]
6: 0xb395ab node::Start(int, char**) [./node/bin/node]
7: 0x7fdbb5a80eb0 [/lib64/libc.so.6]
8: 0x7fdbb5a80f60 __libc_start_main [/lib64/libc.so.6]
9: 0xabbdee _start [./node/bin/node]
Aborted (core dumped)
[opensearch-dashboards@90a3a8c1a2d4 ~]$ ./node/fallback/bin/node
./node/fallback/bin/node[17]: ../src/node_platform.cc:61:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xa3ad50 node::Abort() [./node/fallback/bin/node]
2: 0xa3adce [./node/fallback/bin/node]
3: 0xaab67e [./node/fallback/bin/node]
4: 0xaab746 node::NodePlatform::NodePlatform(int, v8::TracingController*) [./node/fallback/bin/node]
5: 0xa03445 node::InitializeOncePerProcess(int, char**) [./node/fallback/bin/node]
6: 0xa03971 node::Start(int, char**) [./node/fallback/bin/node]
7: 0x7f9a4afddeb0 [/lib64/libc.so.6]
8: 0x7f9a4afddf60 __libc_start_main [/lib64/libc.so.6]
9: 0x98c5bc [./node/fallback/bin/node]
Aborted (core dumped)
[opensearch-dashboards@90a3a8c1a2d4 ~]$ md5sum ./node/bin/node
3a6340fd551f42e26e9fb4647add7029 ./node/bin/node
[opensearch-dashboards@90a3a8c1a2d4 ~]$ md5sum ./node/fallback/bin/node
14f81269fb91b3765b2d820ac61aba38 ./node/fallback/bin/node
from opensearch-build.
2.9.0 works within the same setup:
docker run -it --rm opensearchproject/opensearch-dashboards:2.9.0 bash
[opensearch-dashboards@12dd23044b26 ~]$ ./node/bin/node --version
v16.20.0
[opensearch-dashboards@12dd23044b26 ~]$ ./node/fallback/bin/node --version
v14.21.3
[opensearch-dashboards@12dd23044b26 ~]$ md5sum ./node/bin/node
9f99a1ebb0b6258cb289668cb2f7d211 ./node/bin/node
[opensearch-dashboards@12dd23044b26 ~]$ md5sum ./node/fallback/bin/node
14f81269fb91b3765b2d820ac61aba38 ./node/fallback/bin/node
from opensearch-build.
I think it's solved.
docker run -it --rm opensearchproject/opensearch:2.10.0 java -version
[0.007s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
this, by googling, led me to adding "--security-opt seccomp=unconfined" to docker run.
java, node 14 and 18 are working with that option!
from opensearch-build.
Hi, @maaaax , happy to learn that you have found the way out on this issue.
I wasn't able to mimic the entire enviorment to reproduce the error actually ..but seems you are good to move forward now, I am going to close this issue, please reopen it if you are still facing the same error, thanks a lot!!
$ docker run -it --rm opensearchproject/opensearch-dashboards:2.10.0 bash
Unable to find image 'opensearchproject/opensearch-dashboards:2.10.0' locally
2.10.0: Pulling from opensearchproject/opensearch-dashboards
6a2bb1614d2d: Pull complete
2a5558b59856: Pull complete
fee9452241ea: Pull complete
4cd4143d3f95: Pull complete
61cc9912a0bd: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:485a0019e5d62c8b98ba43b004656a4f9a0bad3fb397ba18b5ab0b64e3f23e15
Status: Downloaded newer image for opensearchproject/opensearch-dashboards:2.10.0
[opensearch-dashboards@220ef219d1f2 ~]$ ./node/bin/node
Welcome to Node.js v18.16.0.
Type ".help" for more information.
> .exit
[opensearch-dashboards@220ef219d1f2 ~]$ ./node/bin/node --version
v18.16.0
[opensearch-dashboards@220ef219d1f2 ~]$
from opensearch-build.
Related Issues (20)
- CVE-2024-22257 (High) detected in spring-security-core-5.8.1.jar HOT 2
- [release]: Onboard Opensearch Migrations onto Maven Central HOT 2
- [Retrospective] Release Version 2.13.0 HOT 13
- [BUG] Autocut tickets incorrectly cut to plugins HOT 1
- Add failure log to autocut build failures per plugin HOT 4
- [META] Enhance repository backport PRs with Autoapproval and Automerge
- [Bug]: CCR plugin remoteIntegTest are failing in deb and rpm distribution due to multiple clusters are not forming HOT 1
- [Enhancement] 2.14 Infra / Build Improvements
- [BUG] Debian packages show "chown: warning: '.' should be ':': 'opensearch.opensearch'" during install HOT 2
- Run link-checker only on specific release note markdown file
- [BUG] (re-)enable support for more ARM processors HOT 3
- [Feature] Add ability to run test scenarios in the Jenkins runner environment HOT 1
- [RELEASE] Release version 2.13.1
- [Bug]: Cannot release opensearch-ruby 3.2.0 because of Jenkins HOT 20
- [BUG] Plugin Check failed when building all plugins on Jenkins and continue-on-error omit failure logs HOT 4
- CVE-2024-22949 (Critical) detected in jfreechart-1.0.19.jar
- CVE-2024-22262 (High) detected in spring-web-5.3.24.jar - autoclosed HOT 1
- [BENCHMARK] Add mechanism to retreive the logs from test-execution.json after running benchmark tests
- [QUESTION] Why are our Windows distribution tests failing? HOT 4
- [Bug]: Version bump PR for functional test repo failed to update pack-lock.json HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensearch-build.