cosmonic-labs / netreap

A Cilium controller implementation for Nomad
https://netreap.io
Apache License 2.0
130 stars 8 forks source link

[BUG] netreap 0.1.2 doesn't run on Amazon Linux 2. #16

Closed deverton-godaddy closed 1 year ago

deverton-godaddy commented 1 year ago

I haven't dug in to this yet, but switching from the 0.1.0 release to the 0.1.2 release results in netreap failing to start with the below error.

/usr/bin/netreap: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/bin/netreap)
/usr/bin/netreap: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/bin/netreap)

No other changes to configuration were made. Reverting to the 0.1.0 release works fine.

These instances are running on Amazon Linux 2 which ships with glibc 2.26. I'm guessing that the netreap builds are using cgo and are running on systems that are using a newer glibc.

deverton-godaddy commented 1 year ago

Looks like this is probably related to https://github.com/golang/go/issues/58550