Hello,

There are outdated repositories in our koji configuration, we need to update some of them:

[kojiadmin@koji ~]$ koji list-external-repos
External repo name        URL
------------------------- ----------------------------------------
openstack-newton http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/
centos7-os http://mirror.centos.org/centos/7/os/x86_64/
centos7-updates http://mirror.centos.org/centos/7/updates/x86_64/
centos7-extras http://mirror.centos.org/centos/7/extras/x86_64/
epel7 http://download.fedoraproject.org/pub/epel/7/x86_64/
baseos http://mirror.centos.org/centos/7/os/x86_64/
update http://mirror.centos.org/centos/7/updates/x86_64/
epel http://epel.mirrors.ovh.net/epel/7/x86_64/
fedora http://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/
centos-sclo-rh http://mirror.centos.org/centos/7/sclo/x86_64/rh/
centos-opstools http://mirror.centos.org/centos/7/opstools/x86_64/
openstack-pike http://mirror.centos.org/centos/7/cloud/x86_64/openstack-pike/

We need to remove openstack-pike, openstack-newton, centos-opstools and fedora 25, for we now use openstack-queens. We can plan to clean repos monday may 14.

Nico


On 2018-05-10 12:23 PM, Nicolas Hicher wrote:

Hello,

There was a strange issue this morning with sf-rpm-build job, the job failed with the following errors:

2018-05-10 15:09:19.908300 <https://softwarefactory-project.io/logs/42/12142/18/check/sf-rpm-build/3ad66b9/job-output.txt.gz#_2018-05-10_15_09_19_908300> | mock-host | DEBUG util.py:417: http://mirror.centos.org/centos/7/updates/x86_64/Packages/ncurses-5.9-14.20130511.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found 2018-05-10 15:09:19.908644 <https://softwarefactory-project.io/logs/42/12142/18/check/sf-rpm-build/3ad66b9/job-output.txt.gz#_2018-05-10_15_09_19_908644> | mock-host | DEBUG util.py:417: http://mirror.centos.org/centos/7/updates/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found ...

The packages are not in the updates target but in os.

I found these packages came from built-release, and built release point to our koji instance.

I did not find any documentation about how we manage our mirrors when centos release a new version, but I found a command to regen-repo in bash_history and read the koji doc about this option [1]:

"koji doesn’t monitor external repositories for changes. new repositories will be generated when packages you build land in a tag that populates the buildroot or you manually regenerate the repository. you should be sure to regularly regenerate the repositories manually to pick up updates."

I executed this command for sf-master-el7-build and sf-master-centos7-build, but it failed for sf-master-centos7-build:

[kojiadmin@koji ~]$ koji regen-repo sf-master-centos7-build
Regenerating repo for tag: sf-master-centos7-build
Created task: 14277
Task info: https://koji.softwarefactory-project.io/koji/taskinfo?taskID=14277
Watching tasks (this may be safely interrupted)...
14277 newRepo (sf-master-centos7-build): free
14277 newRepo (sf-master-centos7-build): free -> open (koji.softwarefactory-project.io)
  14278 createrepo (x86_64): open (koji.softwarefactory-project.io)
14277 newRepo (sf-master-centos7-build): open (koji.softwarefactory-project.io) -> FAILED: GenericError: failed to merge repos: /usr /libexec/kojid/mergerepos --tempdir /tmp/koji/tasks/4278/14278 -a x86_64 -b /mnt/koji/repos/sf-master-centos7-build/1968/x86_64/bloc klist -o /tmp/koji/tasks/4278/14278/repo -g /mnt/koji/repos/sf-master-centos7-build/1968/groups/comps.xml -r file:///tmp/koji/tasks/ 4278/14278/repo_1968_premerge/ -r http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/ -r http://download.fedoraproject. org/pub/epel/7/x86_64/ -r http://mirror.centos.org/centos/7/extras/x86_64/ -r http://mirror.centos.org/centos/7/updates/x86_64/ -r h
ttp://mirror.centos.org/centos/7/os/x86_64/ exited with status 1
  0 free  1 open  0 done  1 failed
  14278 createrepo (x86_64): open (koji.softwarefactory-project.io) -> FAILED: GenericError: failed to merge repos: /usr/libexec/koj id/mergerepos --tempdir /tmp/koji/tasks/4278/14278 -a x86_64 -b /mnt/koji/repos/sf-master-centos7-build/1968/x86_64/blocklist -o /tm p/koji/tasks/4278/14278/repo -g /mnt/koji/repos/sf-master-centos7-build/1968/groups/comps.xml -r file:///tmp/koji/tasks/4278/14278/r epo_1968_premerge/ -r http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/ -r http://download.fedoraproject.org/pub/epel /7/x86_64/ -r http://mirror.centos.org/centos/7/extras/x86_64/ -r http://mirror.centos.org/centos/7/updates/x86_64/ -r http://mirror
.centos.org/centos/7/os/x86_64/ exited with status 1
  0 free  0 open  0 done  2 failed

14277 newRepo (sf-master-centos7-build) failed

I will try to regen sf-master-centos7-build when centos repo sync will be finished (centos was not officially released yet).

What do you think about add a crontab to execute this command every day ?

Also, we need to update our koji instance, but I will wait monday to do the update.

Have a nice day.

Nico


[1]


_______________________________________________
Softwarefactory-dev mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/softwarefactory-dev

Reply via email to