Skip to content

neither V1 or V2 or OCI manifest returned by registry #519

@anggutie-dev

Description

@anggutie-dev

When using Artifact Registry we get this message:

neither V1 or V2 or OCI manifest returned by registry: manifest unknown: Manifest has media type \"application/vnd.oci.image.index.v1+json\" but client accepts [\"application/vnd.oci.image.manifest.v1+json\" \"application/vnd.docker.distribution.manifest.v1+prettyjws\" \"application/vnd.docker.distribution.manifest.v2+json\" \"application/vnd.docker.distribution.manifest.list.v2+json\"]"

I'm not sure if this is actually causing an issue or not since updater says it has 27 images considered. Does this affects the way updater works?

Right now if I push an image to GAR, updater doesn't detects there is a new image. I'm using the latest strategy so it should pick up the change, commit it to git and eventually update the image in K8s

This is what I can see in the logs (DEBUG mode)

time="2023-01-12T06:18:44Z" level=debug msg="Image 'us-central1-docker.pkg.dev/platform-dev-342301/development/frontend:568ecf2b6a3f9e51813ae90b76646c712ab5ac91' already on latest allowed version" alias=frontend application=frontend-dev image_name=platform-dev-342301/development/frontend image_tag=568ecf2b6a3f9e51813ae90b76646c712ab5ac91 registry=us-central1-docker.pkg.dev

This says that it is the latest version available but I have 3 newer versions!

I'm using the latest image updater version along with Argo CD 2.4.11+ version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions