regclient icon indicating copy to clipboard operation
regclient copied to clipboard

[Issue] Unable to use regsync with self-hosted quay syncing whole registry

Open jonas-budde opened this issue 1 year ago • 7 comments

Current Behavior

I don't get an output while trying to sync a self hosted quay registry to an Azure Container Registry. The same setup worked with an ACR to ACR sync.

The Sync between self-hosted quay and ACR currently only works with type: image and repository, but it would me very convenient to just define a registry and not every single repository.

My provided quay user has access to self-hosted-quay.company.com/xyz and everything below that

Am I doing something wrong?

Expected Behavior

I should be able to define my config like this:

version: 1
  sync:
    - source: self-hosted-quay.company.com
      target: my-acr.azurecr.io
      type: registry
      interval: 1m

and it should sync the whole available registry of this user to my specified target registry. As im running regsync as a kubernetes container with the server option, the docker config is used from the /home/appuser path.

Steps To Reproduce

Use the config above.

Version

Docker Container Version: 0.7.0

Environment

  • Kubernetes (Azure Linux Nodes)
  • Source Registry: self-hosted quay
  • Target Registry: ACR

additional infos

quay version: https://github.com/quay/quay/releases Quay v3.11.0

jonas-budde avatar Jul 24 '24 06:07 jonas-budde

Does the source registry implement the _catalog API? You can test that with regctl repo ls self-hosted-quay.company.com (replacing with your source registry).

sudo-bmitch avatar Jul 24 '24 20:07 sudo-bmitch

Hi,

I tested it with an ACR and the self-hosted quay. The ACR outputs all repos, but the self-hosted quay just replies with an empty list, even though the robot account has access to a lot of repos.

jonas-budde avatar Jul 25 '24 06:07 jonas-budde

That API is a prerequisite for the type: registry to work. It is fairly common for it to not be supported, though in this case, it probably indicates an access issue with Quay.

sudo-bmitch avatar Jul 25 '24 14:07 sudo-bmitch

This issue is stale because it has been open for 60 days waiting for feedback. It will be automatically closed in 28 days.

github-actions[bot] avatar Oct 07 '24 05:10 github-actions[bot]

sorry, i'm still waiting for a response

jonas-budde avatar Oct 09 '24 12:10 jonas-budde

sorry, i'm still waiting for a response

From me or your registry operator?

sudo-bmitch avatar Oct 09 '24 13:10 sudo-bmitch

sorry, i'm still waiting for a response

From me or your registry operator?

from the registry operator, sorry for the unclear communication

jonas-budde avatar Oct 09 '24 13:10 jonas-budde

This issue is stale because it has been open for 60 days waiting for feedback. It will be automatically closed in 28 days.

github-actions[bot] avatar Dec 09 '24 05:12 github-actions[bot]

This issue was closed because it has been inactive for 28 days since being marked as stale.

github-actions[bot] avatar Jan 13 '25 05:01 github-actions[bot]