<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>There are outdated repositories in our koji configuration, we
      need to update some of them:<br>
    </p>
    <p>[kojiadmin@koji ~]$ koji list-external-repos <br>
      External repo name        URL<br>
      ------------------------- ----------------------------------------<br>
      openstack-newton         
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/">http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/</a><br>
      centos7-os               
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/os/x86_64/">http://mirror.centos.org/centos/7/os/x86_64/</a><br>
      centos7-updates          
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/updates/x86_64/">http://mirror.centos.org/centos/7/updates/x86_64/</a><br>
      centos7-extras           
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/extras/x86_64/">http://mirror.centos.org/centos/7/extras/x86_64/</a><br>
      epel7                    
      <a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/7/x86_64/">http://download.fedoraproject.org/pub/epel/7/x86_64/</a><br>
      baseos                   
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/os/x86_64/">http://mirror.centos.org/centos/7/os/x86_64/</a><br>
      update                   
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/updates/x86_64/">http://mirror.centos.org/centos/7/updates/x86_64/</a><br>
      epel                     
      <a class="moz-txt-link-freetext" href="http://epel.mirrors.ovh.net/epel/7/x86_64/">http://epel.mirrors.ovh.net/epel/7/x86_64/</a><br>
      fedora                   
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/">http://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/</a><br>
      centos-sclo-rh           
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/sclo/x86_64/rh/">http://mirror.centos.org/centos/7/sclo/x86_64/rh/</a><br>
      centos-opstools          
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/opstools/x86_64/">http://mirror.centos.org/centos/7/opstools/x86_64/</a><br>
      openstack-pike           
      <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/cloud/x86_64/openstack-pike/">http://mirror.centos.org/centos/7/cloud/x86_64/openstack-pike/</a><br>
    </p>
    <p>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.<br>
    </p>
    <p>Nico<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2018-05-10 12:23 PM, Nicolas Hicher
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c0708bed-bbf6-d940-9a03-6ea7b860257c@redhat.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p>Hello,</p>
      <p>There was a strange issue this morning with sf-rpm-build job,
        the job failed with the following errors:</p>
      <pre><span class="NONE _2018-05-10_15_09_19_908300"><a name="_2018-05-10_15_09_19_908300" class="date" href="https://softwarefactory-project.io/logs/42/12142/18/check/sf-rpm-build/3ad66b9/job-output.txt.gz#_2018-05-10_15_09_19_908300" moz-do-not-send="true">2018-05-10 15:09:19.908300</a> | mock-host | DEBUG util.py:417:  <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/updates/x86_64/Packages/ncurses-5.9-14.20130511.el7_4.x86_64.rpm" moz-do-not-send="true">http://mirror.centos.org/centos/7/updates/x86_64/Packages/ncurses-5.9-14.20130511.el7_4.x86_64.rpm</a>: [Errno 14] HTTP Error 404 - Not Found
</span><span class="NONE _2018-05-10_15_09_19_908644"><a name="_2018-05-10_15_09_19_908644" class="date" href="https://softwarefactory-project.io/logs/42/12142/18/check/sf-rpm-build/3ad66b9/job-output.txt.gz#_2018-05-10_15_09_19_908644" moz-do-not-send="true">2018-05-10 15:09:19.908644</a> | mock-host | DEBUG util.py:417:  <a class="moz-txt-link-freetext" href="http://mirror.centos.org/centos/7/updates/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm" moz-do-not-send="true">http://mirror.centos.org/centos/7/updates/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm</a>: [Errno 14] HTTP Error 404 - Not Found
...

</span><span class="NONE _2018-05-10_15_09_19_908644"></span></pre>
      <p>The packages are not in the updates target but in os.</p>
      <p>I found these packages came from built-release, and built
        release point to our koji instance.</p>
      <p>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]:</p>
      <p>"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."</p>
      <p>I executed this command for sf-master-el7-build and
        sf-master-centos7-build, but it failed for
        sf-master-centos7-build:</p>
      <p>[kojiadmin@koji ~]$ koji regen-repo sf-master-centos7-build<br>
        Regenerating repo for tag: sf-master-centos7-build<br>
        Created task: 14277<br>
        Task info: <a class="moz-txt-link-freetext"
href="https://koji.softwarefactory-project.io/koji/taskinfo?taskID=14277"
          moz-do-not-send="true">https://koji.softwarefactory-project.io/koji/taskinfo?taskID=14277</a><br>
        Watching tasks (this may be safely interrupted)...<br>
        14277 newRepo (sf-master-centos7-build): free<br>
        14277 newRepo (sf-master-centos7-build): free -> open
        (koji.softwarefactory-project.io)<br>
          14278 createrepo (x86_64): open
        (koji.softwarefactory-project.io)<br>
        14277 newRepo (sf-master-centos7-build): open
        (koji.softwarefactory-project.io) -> FAILED: GenericError:
        failed to merge repos: /usr<br>
        /libexec/kojid/mergerepos --tempdir /tmp/koji/tasks/4278/14278
        -a x86_64 -b
        /mnt/koji/repos/sf-master-centos7-build/1968/x86_64/bloc<br>
        klist -o /tmp/koji/tasks/4278/14278/repo -g
        /mnt/koji/repos/sf-master-centos7-build/1968/groups/comps.xml -r
        <a class="moz-txt-link-freetext" href="file:///tmp/koji/tasks/"
          moz-do-not-send="true">file:///tmp/koji/tasks/</a><br>
        4278/14278/repo_1968_premerge/ -r <a
          class="moz-txt-link-freetext"
          href="http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/"
          moz-do-not-send="true">http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/</a>
        -r <a class="moz-txt-link-freetext"
          href="http://download.fedoraproject" moz-do-not-send="true">http://download.fedoraproject</a>.<br>
        org/pub/epel/7/x86_64/ -r <a class="moz-txt-link-freetext"
          href="http://mirror.centos.org/centos/7/extras/x86_64/"
          moz-do-not-send="true">http://mirror.centos.org/centos/7/extras/x86_64/</a>
        -r <a class="moz-txt-link-freetext"
          href="http://mirror.centos.org/centos/7/updates/x86_64/"
          moz-do-not-send="true">http://mirror.centos.org/centos/7/updates/x86_64/</a>
        -r h<br>
        ttp://mirror.centos.org/centos/7/os/x86_64/ exited with status 1<br>
          0 free  1 open  0 done  1 failed<br>
          14278 createrepo (x86_64): open
        (koji.softwarefactory-project.io) -> FAILED: GenericError:
        failed to merge repos: /usr/libexec/koj<br>
        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<br>
        p/koji/tasks/4278/14278/repo -g
        /mnt/koji/repos/sf-master-centos7-build/1968/groups/comps.xml -r
        <a class="moz-txt-link-freetext"
          href="file:///tmp/koji/tasks/4278/14278/r"
          moz-do-not-send="true">file:///tmp/koji/tasks/4278/14278/r</a><br>
        epo_1968_premerge/ -r <a class="moz-txt-link-freetext"
          href="http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/"
          moz-do-not-send="true">http://mirror.centos.org/centos/7/cloud/x86_64/openstack-newton/</a>
        -r <a class="moz-txt-link-freetext"
          href="http://download.fedoraproject.org/pub/epel"
          moz-do-not-send="true">http://download.fedoraproject.org/pub/epel</a><br>
        /7/x86_64/ -r <a class="moz-txt-link-freetext"
          href="http://mirror.centos.org/centos/7/extras/x86_64/"
          moz-do-not-send="true">http://mirror.centos.org/centos/7/extras/x86_64/</a>
        -r <a class="moz-txt-link-freetext"
          href="http://mirror.centos.org/centos/7/updates/x86_64/"
          moz-do-not-send="true">http://mirror.centos.org/centos/7/updates/x86_64/</a>
        -r <a class="moz-txt-link-freetext" href="http://mirror"
          moz-do-not-send="true">http://mirror</a><br>
        .centos.org/centos/7/os/x86_64/ exited with status 1<br>
          0 free  0 open  0 done  2 failed<br>
        <br>
        14277 newRepo (sf-master-centos7-build) failed<br>
      </p>
      <p>I will try to regen sf-master-centos7-build when centos repo
        sync will be finished (centos was not officially released yet).</p>
      <p>What do you think about add a crontab to execute this command
        every day ?</p>
      <p>Also, we need to update our koji instance, but I will wait
        monday to do the update.</p>
      <p>Have a nice day.</p>
      <p>Nico<br>
      </p>
      <p><br>
      </p>
      <p>[1]<br>
      </p>
      <pre><span class="NONE _2018-05-10_15_09_19_908300"></span></pre>
    </blockquote>
    <br>
  </body>
</html>