openSUSE / open-build-service

Build and distribute Linux packages from sources in an automatic, consistent and reproducible way #obs
https://openbuildservice.org
GNU General Public License v2.0
920 stars 437 forks source link

Interconnect does not fetch available remote repositories from build.o.o #11800

Open ggardet opened 2 years ago

ggardet commented 2 years ago

Issue Description

On a private OBS with interconnect to build.opensuse.org enabled, remote repositories from build.o.o are not made available through the webui to add new repos for a given project.

If I set the remote target repo manually in the meta of the project, packages build against the remote target repo as expected, though.

Expected Result

The list of remote repos to build against should be shown in the webui.

How to Reproduce

  1. Create a private OBS
  2. Enable Interconnect to build.opensuse.org
  3. Create a new project with a package to build
  4. Try to add a repo to this project, from openSUSE.org interconnect => list empty

Further Information

hennevogel commented 2 years ago

You have by chance still problems with clockwork/delayed jobs as discussed on IRC? Both are involved in this...

ggardet commented 2 years ago

This is the only issue remaining. All other problems are now solved. Could it be due to the network not fully ready when the interconnect is tried on start?

hennevogel commented 2 years ago

Sure, network needs to be available for this to work. But this is refreshed every hour. You should find references to FetchRemoteDistributionsJob in /srv/www/obs/api/log/production.log