#8377 Flatpak builds fail with "Could not find appropriate cluster for worker build."
Closed: Fixed a month ago by cverna. Opened a month ago by kalev.

See https://koji.fedoraproject.org/koji/taskinfo?taskID=38959736

Image build failed. Error in plugin orchestrate_build: {"x86_64": {"general": "Could not find appropriate cluster for worker build."}}. OSBS build id: wesnoth-master-10857-5

@kalev can you try to give it another run ? I restarted the docker services on the nodes I want to see if that helps.

Metadata Update from @cverna:
- Issue assigned to cverna

a month ago

Still fails the same way.

So this build has completed https://koji.fedoraproject.org/koji/taskinfo?taskID=38963823.

I have explicitly enabled the x86_64 cluster (it is the default value), but I am not convince this was the problem.

I suspect maybe something related to which koji builder the tasks is using. Let's keep this ticket open for a little bit and see if we have any more failure.

Great, thanks! I'll comment here if I see this again.

Metadata Update from @kevin:
- Issue priority set to: Waiting on External (was: Needs Review)
- Issue tagged with: OSBS

a month ago

I hit this again just now:

$ fedpkg flatpak-build
Created task: 39079679
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=39079679
Watching tasks (this may be safely interrupted)...
39079679 buildContainer (noarch): free
39079679 buildContainer (noarch): free -> open (buildvm-18.phx2.fedoraproject.org)
39079679 buildContainer (noarch): open (buildvm-18.phx2.fedoraproject.org) -> FAILED: Fault: <Fault 2001: 'Image build failed. Error in plugin orchestrate_build: {"x86_64": {"general": "Could not find appropriate cluster for worker build."}}. OSBS build id: flatpak-runtime-f31-a0f16-8'>
  0 free  0 open  0 done  1 failed

39079679 buildContainer (noarch) failed

Ok I ll have a look at this and I ll take a bit more time to investigate what is going on.

@kalev could you give this another try please ?

Still the same:

$ fedpkg flatpak-build
Created task: 39128436
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=39128436
Watching tasks (this may be safely interrupted)...
39128436 buildContainer (noarch): free
39128436 buildContainer (noarch): free -> open (buildvm-19.phx2.fedoraproject.org)
39128436 buildContainer (noarch): open (buildvm-19.phx2.fedoraproject.org) -> FAILED: Fault: <Fault 2001: 'Image build failed. Error in plugin orchestrate_build: {"x86_64": {"general": "Could not find appropriate cluster for worker build."}}. OSBS build id: flatpak-runtime-f31-a0f16-14'>
  0 free  0 open  0 done  1 failed

39128436 buildContainer (noarch) failed

@kalev Thanks for trying again. I finally managed to find the root cause. The problem is in our ansible playbook which configure the production OSBS to use the staging worker cluster.

That should be fixed now (I have run only one part of the playbook) and I am working on fixing the whole playbook. But you should be able to build the flatpak now.

Sorry that it took that long, but I wanted to find the root cause of the problem :-)

Metadata Update from @cverna:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a month ago

Excellent, thanks @cverna! I just did a build to test and it worked fine now.

Login to comment on this ticket.

Metadata