Skip to content

Fix run on armv7#107

Merged
travisghansen merged 1 commit intodemocratic-csi:masterfrom
c0va23:fix/run-on-armv7
Aug 9, 2021
Merged

Fix run on armv7#107
travisghansen merged 1 commit intodemocratic-csi:masterfrom
c0va23:fix/run-on-armv7

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.

2 participants