Skip to content

fix: update single UPF SMF image to v4.2.3 - #28

Open
joshhandsome wants to merge 1 commit into
free5gc:mainfrom
joshhandsome:fix/single-upf-smf-image-version
Open

fix: update single UPF SMF image to v4.2.3#28
joshhandsome wants to merge 1 commit into
free5gc:mainfrom
joshhandsome:fix/single-upf-smf-image-version

Conversation

@joshhandsome

Copy link
Copy Markdown

修改摘要

將 single-upf-values.yaml 中的 SMF Image 從 free5gc/smf:v4.1.0 更新為 free5gc/smf:v4.2.3。

這項修改也讓 Single UPF 設定使用的 SMF 版本,與目前一般 values.yaml 中的版本保持一致。

問題說明

使用 Single UPF 設定部署 free5gc/smf:v4.1.0 時,Helm Chart 會透過 /sbin/tini 啟動 SMF,但 v4.1.0 Image 中不存在這個路徑。

因此 SMF Pod 會進入 CrashLoopBackOff,Container runtime 顯示以下錯誤:
Image: free5gc/smf:v4.1.0
Reason: StartError
Exit code: 128
Message: failed to create containerd task: failed to create shim task:
OCI runtime create failed: runc create failed:
unable to start container process:
error during container init:
exec: "/sbin/tini": stat /sbin/tini: no such file or directory
由於 Container 在初始化階段就失敗,SMF 程式並未真正啟動,因此 kubectl logs 沒有應用程式輸出。
image
image

修正方式

將 Single UPF 設定使用的 SMF Image 更新為:

free5gc/smf:v4.2.3

驗證環境

Ubuntu 24.04

MicroK8s v1.35.6

Single UPF

Multus enabled

驗證結果

helm lint:成功

使用 free5gc/smf:v4.1.0:SMF Pod 進入 CrashLoopBackOff,出現 /sbin/tini 不存在的錯誤

使用 free5gc/smf:v4.2.3:SMF Pod 成功進入 1/1 Running

測試期間其他 free5GC Network Function Pod 保持正常執行
image

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

Successfully merging this pull request may close these issues.

1 participant