roxctl image scan is failing with an error "failed to get the manifest digest: xxx http: non-successful response (status=401 body=)"
Issue
-
While scanning the image using
roxctl image scanfollowing error is observed:ERROR: Scanning image failed: retrieving image scan result: could not scan image: "IMAGE_NAME:tag": rpc error: code = Internal desc = image enrichment error: error getting metadata for image: "IMAGE_NAME:tag" error: getting metadata from registry: "REGISTRY_NAME": failed to get the manifest digest: Head "xxxxxxx/manifests/xxx": http: non-successful response (status=401 body=""). Retrying after 3 seconds...
Environment
- Red Hat Advanced Cluster Security (RHACS) / StackRox
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.