#9268 401 Client Error: Unauthorized for url: https://odcs.fedoraproject.org/api/1/composes/.
Closed: Fixed 3 years ago by cverna. Opened 3 years ago by kalev.

flatpak container builds are failing with:

 fedpkg flatpak-build
Created task: 50182660
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=50182660
Watching tasks (this may be safely interrupted)...
50182660 buildContainer (noarch): free
50182660 buildContainer (noarch): free -> FAILED: Fault: <Fault 2001: 'Image build failed. Error in plugin resolve_module_compose: 401 Client Error: Unauthorized for url: https://odcs.fedoraproject.org/api/1/composes/. OSBS build id: mmapper-master-4a0cf-2'>
  0 free  0 open  0 done  1 failed

50182660 buildContainer (noarch) failed

The builds were working fine yesterday so it must be something that changed within the last 24 hours.


Metadata Update from @cverna:
- Issue assigned to cverna

3 years ago

This should be fixed, the token used to authenticate to ODCS expires every year, I have generated a new token and update the documentation on how to do it too https://pagure.io/fedora-infra/howtos/blob/master/f/refresh_osbs_odcs_oicd_token.md

@kalev can you give it a try and reopen the ticket if that still broken

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

3 years ago

Yep, works now -- thanks for the quick fix, @cverna!

Login to comment on this ticket.

Metadata