Does the Jetbrains Gateway module only support AMD64 hosts?
When we try to use the Jetbrains Gateway module on an ARM64/AARCH64 host, the client hangs and we get this error inf the jetbrains stderr.log file on the worker:
/home/coder/.cache/JetBrains/RemoteDev/dist/PY-251.23774.444/bin/remote-dev-server.sh: 80: /home/coder/.cache/JetBrains/RemoteDev/dist/PY-251.23774.444/bin/remote-dev-server: Exec format error
It works OK on AMD64. Is this a known issue?8 Replies
<#1362515873297858561>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hey @Diranged thanks for bringing this up!
we use JetBrains's
data.services.jetbrains.com
API to fetch the releases (example query for IntelliJ -> https://data.services.jetbrains.com/products/releases?code=IU&latest=true&type=release)
by taking a look at the module code, we only get the download link from the linux
field, but they also provide a linuxARM64
that we don't useGitHub
modules/jetbrains-gateway/main.tf at d4b4ebd109baa75f6e7bcd49762a4e...
A collection of Terraform Modules to extend Coder templates. - coder/modules
we would need to change the module for this, considering it's a relatively low effort change, would you be interested in contributing this feature?
I wouldn't mind contributing - except that it's not clear to me how to write and test our own forked version of a terraform module. Sorry, terraform is not our typical toolkit here (we're more of a CDK/CloudFormation/native K8S shop)...
It's not as simple as forking the module to a new public repo and then somehow pointing my
main.tf
at it, right?it is!
here is an example for the official repo
replace
dev
with your coder_agent
's resource nameOK - that's great to know. If I get time next week, I'll try to work on that.. I wasn't aware it was that easy to fork these repos and improve them. Thank you.
definitely!
make sure to ask any questions or let us know if you end up not having the time