-
Notifications
You must be signed in to change notification settings - Fork 621
Description
上传系统镜像时保存失败,提示错误如下:
saving=>save_fail: save image to storage s3: s3 client not init
查看 glance 日志报错如下:
[error 2026-01-29 06:03:46 models.(*SImage).doUploadPermanentStorage(images.go:1858)] Failed save image to specific storage s3 client not init
[info 2026-01-29 06:03:46 taskman.(*STask).SetStageFailed(tasks.go:704)] XXX TASK ImagePipelineTask failed: {"reason":"doUploadPermanentStorage: save image to storage s3: s3 client not init","stage":"OnPipelineComplete","status":"ERROR"} on stage OnPipelineComplete
[info 2026-01-29 06:03:46 taskman.(*STask).NotifyParentTaskComplete(tasks.go:728)] notify_parent_task_complete: ImagePipelineTask params {"__failed_reason":{"reason":{"reason":"doUploadPermanentStorage: save image to storage s3: s3 client not init","stage":"OnPipelineComplete","status":"ERROR"},"stage":"OnPipelineComplete"},"__request_context":{"lang":"zh-CN","request_id":"090cdd-c8a5e9","service_name":"image","trace":{"debug":true,"duration":0,"id":"0.0","kind":"SERVER","local_endpoint":{"addr":"default-glance","port":30292,"service_name":"image"},"name":"create","parent_id":"0","remote_endpoint":{"addr":"10.40.166.64","port":51841,"service_name":"apigateway"},"shared":false,"tags":{"resource":"images"},"timestamp":"2026-01-29T06:02:04.678466Z","trace_id":"a717e784"}},"__stages":[{"complete_at":"2026-01-29T06:03:45Z","name":"on_init"},{"complete_at":"2026-01-29T06:03:46Z","name":"OnPipelineComplete"}]}
cloudpods 版本为 3.11.12 系统版本为 ubuntu 22.04.5