alibaba / alibaba/funcraft

缺少对高版本glibc支持

Open
#986 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Ubuntu 20.04环境下,fun build customruntime服务,其中安装了uwsgi,deploy之后,bootstrap中使用uwsgi启动项目,报

`{
"ErrorCode": "CAExited",
"ErrorMessage": "The CA process either cannot be started or exited:ContainerStartDuration:25819045519. CA process cannot be started or exited already: rpc error: code = 106 desc = ContainerStartDuration:25000000000. Ping CA failed due to: dial tcp 21.0.7.1:9000: i/o timeout Logs : 2020-08-06T06:53:50.391114646Z uwsgi: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by uwsgi)\r\n2020-08-06T06:53:50.391154730Z uwsgi: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by uwsgi)\r\n2020-08-06T06:53:50.391160785Z uwsgi: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by uwsgi)\r\n2020-08-06T06:53:50.391403939Z uwsgi: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by uwsgi)\r\n"
}`

环境变量已经设置了
` LD_LIBRARY_PATH: >-
/code/.fun/root/usr/lib:/code/.fun/root/usr/lib/x86_64-linux-gnu:/code/.fun/root/lib/x86_64-linux-gnu:/code/.fun/root/usr/lib64:/code:/code/lib:/usr/local/lib`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `fun build customruntime` on Ubuntu 20.04, installing uwsgi and deploying the function. Start by inspecting the bootstrap startup path and the listed `LD_LIBRARY_PATH` directories, then verify the glibc versions available to uwsgi. Done means the deployed bootstrap starts uwsgi without the reported GLIBC version errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.