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

centos 6 asset is not fully compatible with centos 6 #25

Open
cwjohnston opened this issue Dec 4, 2019 · 3 comments
Open

centos 6 asset is not fully compatible with centos 6 #25

cwjohnston opened this issue Dec 4, 2019 · 3 comments

Comments

@cwjohnston
Copy link

Expected behavior

The Centos 6 asset is able to run ruby code using native extensions compiled against Centos 6 glibc.

Current behavior

The centos 6 asset errors when running ruby code using native extensions.

Reproduction steps

  1. Stand up a Centos 6.10 host running the Sensu agent
  2. Add assets for version 0.0.10 of sensu-ruby-runtime for centos 6 and version 5.0.0 of sensu-plugins-disk-checks
  3. add a check which uses those runtime assets, with check-disk-usage.rb
  4. Observe that the check results show an error related to GLIBC_VERSION 2.14 not found -- centos 6.10 is expected to have GLIBC version 2.12

Context

I feel like I've run into similar behavior in the past where using Docker containers to compile binaries for platforms with one version of glibc actually results in binaries linked to the docker host glibc. It might be the case that we cant use Docker for our build process here?

@jspaleta
Copy link
Contributor

jspaleta commented Dec 6, 2019

I think case of sensu-plugins-disk-checks, it looks like it was not rebuilt after the glibc issues were sorted out in the ruby runtime. To work on centos6, assets need to offer an explicit centos6 build.

I'm spinning up a update for sensu-plugins-disk-checks in my namespace now as a test to make sure I'm right.

Probably what we need to do is review/update the .bonsai.yml for the existing sensu-plugins that have assets and respin them all in one push to make sure we have centos6 builds for all the existing ones.

@jspaleta
Copy link
Contributor

jspaleta commented Jan 9, 2020

Cna you retest with latest sensu-plugins-disk-checks. There is now an explicit centos6 build for that plugin

@yusufyildiz
Copy link

this is still an issue.

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

No branches or pull requests

3 participants