Skip to content

如果一个镜像层存在问题,则同步任务一直重试 #162

Open
@walleliu1016

Description

@walleliu1016

Bug Report

Type: bug report

镜像层损坏,同步程序会一直下载这个层,一直报失败,而不是略过这个层,或者镜像,同步下一个镜像。

背景:镜像从harbor A同步到harbor B,写的images.yaml是一个repository的地址。
同步程序从凌晨1点开始报错,一直到早上9点还在报,失败原因是这个layer已经不存在了:
企业微信截图_17315479203392

What you expected to happen

跳过这个镜像,同步下一个镜像

How to reproduce it (as minimally and precisely as possible)

同步一个镜像,然后人为删除这个镜像的某一个layer

Anything else we need to know?

Environment

  • image-syncer version: 1.5.5
  • OS (e.g. cat /etc/os-release):
  • Registry version (e.g. habor): Harbor: 2.11.1
  • Others:

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