Problems generating the calatogue for authentik. #368

Closed
opened 2022-12-20 13:51:25 +00:00 by moritz · 2 comments
Member

abra version 0.6.0-beta-3a0d9f7

If I generate the catalogue for authentik using abra catalogue generate authentik it throws the following warnings:

- retrieving recipe repos list from git.coopcloud.tech... (7/-) [1s] 
WARN[0001] ensuring 1 recipe is cloned & up-to-date     
WARN[0003] unable to read digest for ghcr.io/goauthentik/server:2022.6.2 
WARN[0007] unable to read digest for ghcr.io/goauthentik/server:2022.6.3 
WARN[0014] unable to read digest for ghcr.io/goauthentik/server:2022.7.3 
WARN[0015] unable to read digest for ghcr.io/goauthentik/server:2022.8.2 
WARN[0019] unable to read digest for ghcr.io/goauthentik/server:2022.9.0 
WARN[0027] unable to read digest for ghcr.io/goauthentik/server:2022.10.0 
WARN[0028] unable to read digest for ghcr.io/goauthentik/server:2022.10.1 
WARN[0032] unable to read digest for ghcr.io/goauthentik/server:2022.11.1 
WARN[0038] unable to read digest for ghcr.io/goauthentik/server:2022.11.1 
WARN[0041] unable to read digest for ghcr.io/goauthentik/server:2022.11.3 
WARN[0043] authentik image meta has incorrect format: [ghcr/goauthentik/server](https://ghcr.io/goauthentik/server) 
INFO[0043] generated new recipe catalogue in /home/user/.abra/catalogue/recipes.json 

The recipe.json is generated but the digests are set to unknown.

Some debug:

DEBU[0043] GET https://registry-1.docker.io/v2/goauthentik/server/manifests/latest  caller="/go/pkg/mod/github.com/containers/image@v3.0.2+incompatible/docker/docker_client.go:444 (*dockerClient).makeRequestToResolvedURL"
DEBU[0043] failed to query remote registry for ghcr.io/goauthentik/server:2022.11.3, saw: Error reading manifest latest in docker.io/goauthentik/server: errors:
denied: requested access to the resource is denied
unauthorized: authentication required  caller="/drone/src/pkg/client/registry.go:45 GetTagDigest"
WARN[0043] unable to read digest for ghcr.io/goauthentik/server:2022.11.3  caller="/drone/src/pkg/recipe/recipe.go:1026 GetRecipeVersions.func1"
DEBU[0043] cached insert: goauthentik/server, tag: 2022.11.3, digest: unknown  caller="/drone/src/pkg/recipe/recipe.go:1031 GetRecipeVersions.func1"

Apperently https://registry-1.docker.io/v2/goauthentik/server/manifests/latest is blocking the access.
The warning message is misleading and should be more verbose.

`abra version 0.6.0-beta-3a0d9f7` If I generate the catalogue for authentik using `abra catalogue generate authentik` it throws the following warnings: ``` - retrieving recipe repos list from git.coopcloud.tech... (7/-) [1s] WARN[0001] ensuring 1 recipe is cloned & up-to-date WARN[0003] unable to read digest for ghcr.io/goauthentik/server:2022.6.2 WARN[0007] unable to read digest for ghcr.io/goauthentik/server:2022.6.3 WARN[0014] unable to read digest for ghcr.io/goauthentik/server:2022.7.3 WARN[0015] unable to read digest for ghcr.io/goauthentik/server:2022.8.2 WARN[0019] unable to read digest for ghcr.io/goauthentik/server:2022.9.0 WARN[0027] unable to read digest for ghcr.io/goauthentik/server:2022.10.0 WARN[0028] unable to read digest for ghcr.io/goauthentik/server:2022.10.1 WARN[0032] unable to read digest for ghcr.io/goauthentik/server:2022.11.1 WARN[0038] unable to read digest for ghcr.io/goauthentik/server:2022.11.1 WARN[0041] unable to read digest for ghcr.io/goauthentik/server:2022.11.3 WARN[0043] authentik image meta has incorrect format: [ghcr/goauthentik/server](https://ghcr.io/goauthentik/server) INFO[0043] generated new recipe catalogue in /home/user/.abra/catalogue/recipes.json ``` The recipe.json is generated but the digests are set to unknown. Some debug: ``` DEBU[0043] GET https://registry-1.docker.io/v2/goauthentik/server/manifests/latest caller="/go/pkg/mod/github.com/containers/image@v3.0.2+incompatible/docker/docker_client.go:444 (*dockerClient).makeRequestToResolvedURL" DEBU[0043] failed to query remote registry for ghcr.io/goauthentik/server:2022.11.3, saw: Error reading manifest latest in docker.io/goauthentik/server: errors: denied: requested access to the resource is denied unauthorized: authentication required caller="/drone/src/pkg/client/registry.go:45 GetTagDigest" WARN[0043] unable to read digest for ghcr.io/goauthentik/server:2022.11.3 caller="/drone/src/pkg/recipe/recipe.go:1026 GetRecipeVersions.func1" DEBU[0043] cached insert: goauthentik/server, tag: 2022.11.3, digest: unknown caller="/drone/src/pkg/recipe/recipe.go:1031 GetRecipeVersions.func1" ``` Apperently `https://registry-1.docker.io/v2/goauthentik/server/manifests/latest` is blocking the access. The warning message is misleading and should be more verbose.
moritz added the
bug
abra
labels 2022-12-20 13:51:25 +00:00
Owner

The recipe.json is generated but the digests are set to unknown.

As per coop-cloud/recipes-catalogue-json#4, maybe we drop digest generation for now? 🤔

> The recipe.json is generated but the digests are set to unknown. As per coop-cloud/recipes-catalogue-json#4, maybe we drop digest generation for now? 🤔
Owner

Let's consolidate to #379.

Let's consolidate to https://git.coopcloud.tech/coop-cloud/organising/issues/379.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#368
No description provided.