FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 08-06-2012, 08:14 PM
Seth Vidal
 
Default old builders in koji

We have a bunch of hosts in koji which WERE builders but aren't anymore or
in some cases don't exist anymore. I'd like to prune them out so when I
run:


koji list-hosts

they don't show up anymore.

1. How do I do this?
2. If I do this does something terrible happen?


thanks,
-sv


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 08-06-2012, 09:03 PM
Mike McLean
 
Default old builders in koji

On 08/06/2012 04:14 PM, Seth Vidal wrote:

We have a bunch of hosts in koji which WERE builders but aren't anymore
or in some cases don't exist anymore. I'd like to prune them out so when
I run:

koji list-hosts

they don't show up anymore.

1. How do I do this?
2. If I do this does something terrible happen?


Some sort of 'retired' flag to hide them is on my todo list.

They generally can't be removed from the db because they are referenced
by other tables. If they've seen any kind of use, the references are
extensive.


In the meantime, I suggest using list-hosts --enabled on the command
line. The web ui currently defaults to just showing the enabled builders.


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 08-06-2012, 09:07 PM
Seth Vidal
 
Default old builders in koji

On Mon, 6 Aug 2012, Mike McLean wrote:


On 08/06/2012 04:14 PM, Seth Vidal wrote:

We have a bunch of hosts in koji which WERE builders but aren't anymore
or in some cases don't exist anymore. I'd like to prune them out so when
I run:

koji list-hosts

they don't show up anymore.

1. How do I do this?
2. If I do this does something terrible happen?


Some sort of 'retired' flag to hide them is on my todo list.

They generally can't be removed from the db because they are referenced by
other tables. If they've seen any kind of use, the references are extensive.


In many cases the last time they saw any use was > 3yrs ago.

At what point can we walk away from old data?

And out of curiosity - what is being stored related to the builder?

In the meantime, I suggest using list-hosts --enabled on the command line.
The web ui currently defaults to just showing the enabled builders.




Right - but when I disable hosts intentionally to reinstall/update them -
I need to use just list-hosts - which means I see about 100+ entries -
when really we only have like 35 of ACTUAL hosts.


-sv

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 08-07-2012, 04:21 PM
Mike McLean
 
Default old builders in koji

On 08/06/2012 05:07 PM, Seth Vidal wrote:

On Mon, 6 Aug 2012, Mike McLean wrote:

Some sort of 'retired' flag to hide them is on my todo list.

They generally can't be removed from the db because they are
referenced by other tables. If they've seen any kind of use, the
references are extensive.


In many cases the last time they saw any use was > 3yrs ago.

At what point can we walk away from old data?

And out of curiosity - what is being stored related to the builder?


As a general rule, we preserve all relevant data for completed builds.
That includes which hosts performed them. Specifically, we have
references in the task table and the buildroot table.



In the meantime, I suggest using list-hosts --enabled on the command
line. The web ui currently defaults to just showing the enabled builders.


Right - but when I disable hosts intentionally to reinstall/update them
- I need to use just list-hosts - which means I see about 100+ entries -
when really we only have like 35 of ACTUAL hosts.


I know the current situation is less than ideal. It's common to
temporarily disable hosts, and there is no easy way to distinguish those
that are temporarily disabled from those that are permanently retired.
That is why I want to implement the retired flag for builders. This will
solve the display problem.


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 03:30 AM.

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