Skip to content

新搭建的 cloudpods上传镜像失败 #24152

@xxhacker

Description

@xxhacker

上传系统镜像时保存失败,提示错误如下:
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions