Skip to content

Oracle Cloud Agent fails to start due to incompatibility with Snoopy on Ubuntu 24.04 #285

@mguarienti

Description

@mguarienti

Checklist before starting to submit this support request

I confirm that:

  • I am requesting support! :)
  • I have tested this with the latest stable Snoopy version (or the latest master build).
  • I have checked the FAQ.
  • I have read Snoopy's documentation here and here.
  • I have searched Snoopy issues for an existing issue that matches my problem, and found none.

Issue description

I am using Snoopy version 2.5.2, which officially supports Ubuntu 24.04. However, in a VM environment on Oracle Cloud (OCI) running Ubuntu 24.04, Snoopy appears to require a version of Glibc that is not available in this Ubuntu version.

From what I understand, Ubuntu 24.04 uses GLIBC_2.39, but Snoopy requires GLIBC_2.38, GLIBC_2.33, or GLIBC_2.34, which are not available in this version of Ubuntu.

Here is the syslog output when running the command:
"systemctl restart snap.oracle-cloud-agent.oracle-cloud-agent.service" or "snap restart oracle-cloud-agent"

2025-02-18T09:56:49.588242-03:00 MY-VIRTUAL-MACHINE-OCI systemd[1]: Started snap.oracle-cloud-agent.oracle-cloud-agent.service - Service for snap application oracle-cloud-agent.oracle-cloud-agent.
2025-02-18T09:56:49.609907-03:00 MY-VIRTUAL-MACHINE-OCI oracle-cloud-agent.oracle-cloud-agent[22260]: /snap/oracle-cloud-agent/72/run-as-user: /snap/oracle-cloud-agent/72/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /lib/x86_64-linux-gnu/libsnoopy.so)
2025-02-18T09:56:49.609987-03:00 MY-VIRTUAL-MACHINE-OCI oracle-cloud-agent.oracle-cloud-agent[22260]: /snap/oracle-cloud-agent/72/run-as-user: /snap/oracle-cloud-agent/72/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libsnoopy.so)
2025-02-18T09:56:49.610017-03:00 MY-VIRTUAL-MACHINE-OCI oracle-cloud-agent.oracle-cloud-agent[22260]: /snap/oracle-cloud-agent/72/run-as-user: /snap/oracle-cloud-agent/72/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /lib/x86_64-linux-gnu/libsnoopy.so)

The problem occurs with any service trying to load the libsnoopy.so library, indicating a possible compatibility issue with GLIBC on Ubuntu 24.04.
When I remove Snoopy, the Oracle Cloud Agent plugin starts working again. The issue seems to be that Snoopy is requiring a version of GLIBC that is not available in Ubuntu 24.

Does Snoopy officially support GLIBC 2.39?
I appreciate any guidance!

Oracle Cloud Agent support page: https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/manage-plugins-troubleshooting.htm
Oracle Cloud Agent install page: https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/manage-plugins.htm

Issue reproduction steps

  • Create a VM in OCI;
  • AMD shape with full Ubuntu 24.04;
  • Run Snoopy with /etc/ld.so.preload;
  • Try to start the pre-installed oracle-cloud-agent.

Expected result

snap services oracle-cloud-agent

Service Startup Current Notes
oracle-cloud-agent.oracle-cloud-agent enabled active -
oracle-cloud-agent.oracle-cloud-agent-updater enabled active -

Actual result

snap services oracle-cloud-agent

Service Startup Current Notes
oracle-cloud-agent.oracle-cloud-agent enabled inactive -
oracle-cloud-agent.oracle-cloud-agent-updater enabled inactive -

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions