Aspire 13.4.x fails to run in CI servers running RHEL 8.10 (/lib64/libc.so.6: version `GLIBC_2.32' not found)
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
Our Azure hosted build servers run on RHEL 8.10. We currently use Aspire 9.3.x for our integration tests and are upgrading to the latest 13.x version of the packages but we are getting this error:
```
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
Hosting failed to start
Aspire.Hosting.DistributedApplicationException: Application orchestrator dependency check returned an error: 'dcp info' returned exit code 1. /mnt/nuget/packages/aspire.hosting.orchestration.linux-x64/13.4.3/tools/dcp: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by /mnt/nuget/packages/aspire.hosting.orchestration.linux-x64/13.4.3/tools/dcp)/mnt/nuget/packages/aspire.hosting.orchestration.linux-x64/13.4.3/tools/dcp: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /mnt/nuget/packages/aspire.hosting.orchestration.linux-x64/13.4.3/tools/dcp)
at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(Boolean force, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs:line 88
at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(Boolean force, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs:line 130
at Aspire.Hosting.Dcp.DcpHost.EnsureDcpContainerRuntimeAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHost.cs:line 90
at Aspire.Hosting.Dcp.DcpHost.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHost.cs:line 81
at Aspire.Hosting.Orchestrator.OrchestratorHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Orchestrator/OrchestratorHostService.cs:line 39
at Microsoft.Extensions.Hosting.Internal.Host.b__14_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
```
From what I've read, this is likely because RHEL 8.10 ships with glibc 2.28 by default.
Our current mitigation right now is to use 13.3.x of Aspire
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### Aspire doctor output
```plain
```
### Anything else?
_No response_
Contributor guide
Research direction
Start with Aspire.Hosting.Dcp/DcpDependencyCheck.cs and DcpHost.cs, then inspect how the aspire.hosting.orchestration.linux-x64 package obtains and builds the dcp executable. Reproduce the failure on RHEL 8.10 or an environment with glibc 2.28, comparing the 13.3.x and 13.4.x packages. Done means the 13.4.x orchestration dependency can run on the supported RHEL environment without missing GLIBC versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, linux
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100