FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 05-14-2008, 06:50 PM
Jesse Keating
 
Default Rolling out kojipkgs url for koji repodata

In order to reduce the load on the koji hub, we've recently brought up a
new http host that serves out the /mnt/koji/packages/ content.
Currently when koji builders build repodata they hard code the baseurl
of 'http://koji.fedoraproject.org/packages'. This means that every
builder and every static-repo user will hit the hub to download
packages. Instead we'd like them to hit the new host, kojipkgs. A
simple change to kojid.conf files on the builders will make the new
baseurl be 'http://kojipkgs.fedoraproject.org/packages'. Any repodata
made after that change (and builder restart) will have the new url. The
old url will continue to work for the old repodata, but the amount of
systems hitting it should reduce over time.

I'm ready to commit the change to puppet, and once we're sure a puppet
run has gone through and updated the files I can start a rolling restart
of the builders. The process would look like this:

1) koji disable-host <all the hosts>
2) as each host finishes it's current task, log in and restart the kojid
service.
3) koji enable-host <each host after restart>

The final step would be to watch for a newRepo task and verify that the
generated repodata has the correct url, and that said repodata is usable
by builders and by consumers of static-repos. If there is a failure the
rollback plan would be much like above, only including a rollback to the
previous URL listed in kojid configs.

Is there any objection to me committing the puppet change, making it
live and starting on the rolling process? There should be no overall
outage to send mail about, service will remain uninterrupted.
--
Jesse Keating
Fedora -- Freedom˛ is a feature!
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 05-14-2008, 07:02 PM
Mike McGrath
 
Default Rolling out kojipkgs url for koji repodata

On Wed, 14 May 2008, Jesse Keating wrote:

> In order to reduce the load on the koji hub, we've recently brought up a
> new http host that serves out the /mnt/koji/packages/ content.
> Currently when koji builders build repodata they hard code the baseurl
> of 'http://koji.fedoraproject.org/packages'. This means that every
> builder and every static-repo user will hit the hub to download
> packages. Instead we'd like them to hit the new host, kojipkgs. A
> simple change to kojid.conf files on the builders will make the new
> baseurl be 'http://kojipkgs.fedoraproject.org/packages'. Any repodata
> made after that change (and builder restart) will have the new url. The
> old url will continue to work for the old repodata, but the amount of
> systems hitting it should reduce over time.
>

I'm also hoping to implement some caching there as well to reduce load on
/mnt/koji

> I'm ready to commit the change to puppet, and once we're sure a puppet
> run has gone through and updated the files I can start a rolling restart
> of the builders. The process would look like this:
>
> 1) koji disable-host <all the hosts>
> 2) as each host finishes it's current task, log in and restart the kojid
> service.
> 3) koji enable-host <each host after restart>
>
> The final step would be to watch for a newRepo task and verify that the
> generated repodata has the correct url, and that said repodata is usable
> by builders and by consumers of static-repos. If there is a failure the
> rollback plan would be much like above, only including a rollback to the
> previous URL listed in kojid configs.
>
> Is there any objection to me committing the puppet change, making it
> live and starting on the rolling process? There should be no overall
> outage to send mail about, service will remain uninterrupted.

Works for me. If you need anything just ping

-Mike

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 05-14-2008, 09:15 PM
Jesse Keating
 
Default Rolling out kojipkgs url for koji repodata

On Wed, 2008-05-14 at 13:02 -0500, Mike McGrath wrote:
> Works for me. If you need anything just ping

The change has been made and made active on all the builders. New
repodata has been created with the new baseurl and we're about to see
our first build make use of that repodata.

--
Jesse Keating
Fedora -- Freedom˛ is a feature!
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 

Thread Tools




All times are GMT. The time now is 01:23 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org