After upgrade to Harbor v2.4.1, when pulling images from harbor, the error message received:
# docker pull image-name-sha
Pulling from harbor/docker-hub/library/nginx unknown: current image with "Error" status of vulnerability scanning cannot be pulled due to configured policy in 'Prevent images with vulnerability severity of "Critical" or higher from running.' To continue with pull, please contact your project administrator for help.
in core.log the error shown
[WARNING] [/controller/scan/base_controller.go:966]: task for the scan report xxxx not found