#278 CBS build failure due to 404 on centos-stream-release-8.5-1.el8
Closed: Fixed 3 years ago by arrfab. Opened 3 years ago by dcavalca.

Tried building systemd and got:

  Status code: 404 for http://mirror.centos.org/centos/8-stream//BaseOS/x86_64/os/Packages/centos-stream-release-8.5-1.el8.noarch.rpm

Koji tasks:
https://cbs.centos.org/koji/taskinfo?taskID=2458121
https://cbs.centos.org/koji/taskinfo?taskID=2458119
https://cbs.centos.org/koji/taskinfo?taskID=2458117


Usual problem : stream has a new compose but they always delete previous pkgs, and new pkg is centos-stream-release-8.5-2.el8.noarch.rpm
As cbs.centos.org is using external mirrors, it has to refresh metadata and because nobody knows when a new stream push is done, you have to wait for cbs to pick the refreshed metadata.

Can you retry your job and give feedback ?
If that happens again (and we never had that issue with centos linux as we never deleted old pkgs between composes), I'd suggest you open a bug report for Stream, so on https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%208&version=CentOS%20Stream

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

3 years ago

Metadata Update from @arrfab:
- Issue tagged with: centos-build-pipeline, centos-stream

3 years ago

@carlwgeorge : do you think there is a way to announce each push on a message bus that cbs can consume (like mqtt that is used for pagure/git notifications, etc).
Worst case is that I can fix at that "downstream" through periodic curl operation for COMPOSE_ID and rekick koji regen-repo for tags consuming 8-stream externalrepos in koji (just an idea)

Let me close this and while we can try to discuss with Stream Team for something automatic, I just pushed a glue script checking upstream repo and trigger regen-repo inside koji/cbs.
It's currently running every 5min so short enough
Relevant git commit : https://github.com/CentOS/ansible-role-kojihub/commit/e0d1b6afa55ceea6840362c87f4e952789c52df3

Metadata Update from @arrfab:
- Issue assigned to arrfab

3 years ago

Metadata Update from @arrfab:
- Issue tagged with: cbs

3 years ago

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

3 years ago

fwiw I did another build this morning and that one worked fine: https://cbs.centos.org/koji/buildinfo?buildID=32600

We try to do a new Stream composes about once a week. I'm not aware of any plans to announce new composes on a message bus. We do want to start carrying multiple releases of packages and modules, but haven't sorted out exactly how yet. We're tracking that in this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1908047

Login to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog