fix: update single UPF SMF image to v4.2.3 - #28
Open
joshhandsome wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修改摘要
將 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 沒有應用程式輸出。
修正方式
將 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 保持正常執行
