Bug 1081622 - mash keeps silly amount of drpms for rawhide
Summary: mash keeps silly amount of drpms for rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mash
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-27 17:34 UTC by Kevin Fenzi
Modified: 2015-01-23 03:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-23 03:32:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Minor optimization patch (1.11 KB, patch)
2014-03-29 17:14 UTC, Ralph Bean
no flags Details | Diff
Patch to only copy drpms if they are new-ish. (3.70 KB, patch)
2014-03-29 17:14 UTC, Ralph Bean
no flags Details | Diff

Description Kevin Fenzi 2014-03-27 17:34:23 UTC
mash seems to be keeping around lots of really old drpms. 

It seems to keep them for every package which has updated since the tag inheritence was set. There are currently: 

38421 

drpms in the x86_64 rawhide repo. 

Folks using rawhide update usually daily, and if not, at least very often. I cannot imagine someone updating from a year ago and expecting delta rpms to be around. 

Proposal: Only drpms newer than 7 days are kept. Users updating older rawhide installs will just use the entire rpms. This will save us tons of IO and compose time and disk space and in general be more friendly. 

Also see: bug 1039365 where mirrors are having trouble with the 38+k files in one dir.

Comment 1 Ralph Bean 2014-03-29 17:14:19 UTC
Created attachment 880196 [details]
Minor optimization patch

This is non-essential, but I couldn't help myself.

Comment 2 Ralph Bean 2014-03-29 17:14:48 UTC
Created attachment 880197 [details]
Patch to only copy drpms if they are new-ish.

This should do it.

Comment 4 Kevin Fenzi 2014-07-16 14:48:31 UTC
I'll note that this still isn't working right. ;( 

Somehow mash isn't doing the right thing. ;(

Comment 5 Ralph Bean 2014-07-16 17:06:00 UTC
Ok.

Next step is probably to post some logs here of what it's doing incorrectly.

Comment 6 Kevin Fenzi 2014-07-16 22:46:35 UTC
Sadly mash doesn't log much: 

http://koji.fedoraproject.org/mash/rawhide-20140716/logs/mash.log

We could perhaps try running it manually in stg?

Comment 7 Ralph Bean 2014-10-06 16:52:38 UTC
Is it possible that the config variable max_delta_rpm_age was never set in /etc/bodhi/mash.conf ?

I can't find reference to that var anywhere in the puppet or ansible histories.

Comment 8 Kevin Fenzi 2014-10-06 17:38:01 UTC
https://git.fedorahosted.org/cgit/mash/commit/?id=bcb1d00028695a4311ad83df8964411857a5b14b

It's changed in the mash package, because we compose in a chroot for rawhide/branched with the version of mash there. :)

Comment 10 Kevin Fenzi 2015-01-23 03:32:40 UTC
Yep!


Note You need to log in before you can comment on or make changes to this bug.