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

Fix run on armv7 #107

Merged
merged 1 commit into from Aug 9, 2021
Merged

Conversation

c0va23
Copy link
Contributor

@c0va23 c0va23 commented Aug 9, 2021

Hey! Recent images of democratic-csi crash when launched on armv7l with error:

node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

This is a known nodejs 12 issue for armv7l : nodejs/node#37219

I suggest a temporary solution. The fix was tested on rpi4 with host OS ubuntu 20.04 (32bit).

@travisghansen
Copy link
Member

Oh wow good find! I’m not sure how this would have changed as I tested on a v7 install (although admittedly I generally just sanity test on arm64). Let’s move this just under the NODE_ENV line if you don’t mind. Then I’ll merge. This is great timing as I have a massive set of updates coming down the line.

@c0va23
Copy link
Contributor Author

c0va23 commented Aug 9, 2021

@travisghansen , I've moved line with fix. I hope I understood you correctly. Thanks for your quick response.

I tested this fix on three architectures: amd64, arm64, armv7l. I am using democratic-csi + trunas (iscsi) as volume source for Drone CI.

I created temporary images https://github.com/c0va23/democratic-csi/pkgs/container/democratic-csi, you can use them for testing.

@travisghansen travisghansen merged commit 6ec8560 into democratic-csi:master Aug 9, 2021
@travisghansen
Copy link
Member

Thanks for the contribution!

@c0va23 c0va23 deleted the fix/run-on-armv7 branch August 9, 2021 20:11
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.

None yet

2 participants