Thanks Eric, have you also performed the second command from the cron job (regen-repo)?
We used to run this on a weekly basis on the old koji, but this was disabled on the new one. On Wed, Nov 15, 2017 at 5:44 PM, Eric D Helms <[email protected]> wrote: > Looks like everything is back up and working as expected. For packagers, > keep in mind that this updated some of our external repositories to their > latest versions if you see any oddities. This also means that Fedora 27 is > available as an external repository for Pulp and Katello clients. > > On Wed, Nov 15, 2017 at 9:32 AM, Lukas Zapletal <[email protected]> wrote: >> >> Hey, >> >> when I initiated mrepo -n (dry run) this morning to see how mrepo >> works on our koji in order to test if we are able to add Fedora 27 for >> Pulp, I learned that this "dry run" is actually a real run and mrepo >> initiated full resync of our content without metadata regeneration. >> >> This rendered our external repositories unusable as all metadata were >> deleted. All builds will fail today with missing dependencies. >> >> The plan: we need to let mrepo finish "dry run" downloading of Fedora >> 27 and then we need to reexecute it with proper flags: >> >> cat /usr/local/bin/koji-sync-external-repos >> #!/bin/bash >> mrepo -qugf >> koji list-targets --quiet | awk '{print $2}' | sort -u | xargs -I '{}' >> koji regen-repo --nowait '{}' >> >> Note the -u -g -f flags for mrepo, this will cause all metadata to be >> regenerated. Once this command is done, koji will see missing >> dependencies to appear. >> >> The dry run of mrepo is running in screen and it is about to finish >> hopefully soon. I will defer this to Eric in case it won't finish by >> EMEA EOB. >> >> Sorry for inconvenience, but dry run should be dry run, right. >> >> -- >> Later, >> Lukas @lzap Zapletal >> >> -- >> You received this message because you are subscribed to the Google Groups >> "foreman-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. > > > > > -- > Eric D. Helms > Red Hat Engineering > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- Later, Lukas @lzap Zapletal -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
