Bug 5797 - urpmi-proxy do not update installer stage2 files
Summary: urpmi-proxy do not update installer stage2 files
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: AL13N
QA Contact:
URL:
Whiteboard: MGA2TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 23:31 CEST by Morgan Leijström
Modified: 2013-09-02 21:50 CEST (History)
1 user (show)

See Also:
Source RPM: urpmi-proxy-0.3.2-1.mga2.src.rpm
CVE:
Status comment:


Attachments
urpmi-proxy.conf (1.76 KB, text/plain)
2012-05-09 11:19 CEST, Morgan Leijström
Details

Description Morgan Leijström 2012-05-08 23:31:48 CEST
The network installer did not find disks on several computers.
( Bug 5788 , Bug 5667 )

After i deleted stage 2 from the cache, that problem was gone on all clients i tried!

Is it possible that urpmi-proxy did not detect a new version?
Is it comparing (version)name or date of files?

-Stupid me, i should have just moved the stage 2 files - not deleted, so i could have been sure of its age and content...

Possibly a new stage2 arrived at my mirror about the same time.

I did this some time last 12 hours before this post.
Is it possible to see when there came a new version?
My mirror urpmi-proxy fetches from is usually updated within ours.
Comment 1 AL13N 2012-05-08 23:48:58 CEST
well, pending configuration changes, it checks the date if that's available.

i recommend http mirrors in the urpmi-proxy...

can you give the extract of the urpmi-proxy.log file around those installs?

that way, we can see what happend at that time...
Comment 2 Morgan Leijström 2012-05-09 00:28:37 CEST
Thank you for the quick reply.

My source is http://ftp.acc.umu.se/mirror/mageia

I grep:ed the log file for the stage 2 folder path, 
It is always (That is for period 7 april until now)

  200 - CACHED_NO_CHECK

Except the one time after i deleted the files it was 

  200 - MISS
Comment 3 AL13N 2012-05-09 08:29:52 CEST
can you show me your config file?
Comment 4 Morgan Leijström 2012-05-09 11:19:23 CEST
Created attachment 2225 [details]
urpmi-proxy.conf
Comment 5 AL13N 2012-05-09 13:54:13 CEST
i'm not sure, but i think i might have updated the configuration, can you check if you have a urpmi-proxy.conf.rpmnew?
Comment 6 Morgan Leijström 2012-05-09 15:21:23 CEST
I donot have that file, beacuse it is running on an mga1-64 server, so i rebuilt the package from cauldron to mga1. Never updated.
Can you modify the conf i attached to what you think would be better, and attach, so can I try it?
Comment 7 AL13N 2012-05-09 19:16:06 CEST
can you try to rebuild for mga1 the new version, it'll likely help you with it.

i do wish backports was opened though...

after release i'm gonna try and request for it again...

anyway, the 0.3 handles things differently. and has better time checking integration.

also i'm testing new configuration settings for a while now... likely in next version i'm gonna do some changes in it.
Comment 8 Morgan Leijström 2012-05-09 22:08:39 CEST
Nice to know there is progress in one of my fauvorite apps :)
Backports yes. Things like servers you normally do not run on cauldron...
OK, will rebuild 0.3 in a couple days. Too busy now.
Comment 9 Morgan Leijström 2012-05-11 12:57:49 CEST
Verified bug now before upgrade:
Now there is a newer stage2/mdkinst.sqfs on the mirror i use, but urpmi-proxy serve an elder from cache.
Comment 10 Morgan Leijström 2012-05-11 14:17:25 CEST
Updated urpmi-proxy to 0.3.2.1 : still it do not pull the new stage2 files.
Message now on those files are now different: HIT_NO_CHECK

In urpmi.proxy.conf I added the line
$check_updates_only_files = 'VERSION mdkinst.sqfs';
and issued httpd restart.
It made no change.
But possbly i use wrong syntax?
Or I misunderstand the use of that setting altogether.
Morgan Leijström 2012-05-11 14:18:30 CEST

Summary: Did urpmi-proxy serve old stage2 ? => urpmi-proxy do not update installer stage2 files

Comment 11 AL13N 2012-05-12 01:59:08 CEST
it's a regex

but updates only, is updates only

are you using a http source?

can you enable debug and give try again (when failing) and show the apache error log?
Comment 12 Morgan Leijström 2012-05-12 17:01:59 CEST
OK i will remove that line again.
I read the description line 
"## These files will always be checked for newer versions."
like it is possible to force it to check *any listed* file better.
Maybe it should be rephrased.

The source address i have in conf file http://ftp.acc.umu.se/mirror/mageia is listed at http://mirrors.mageia.org as http and is a tier1.

I think it is best if you set up a urpi-proxy yourself.
For just testing these two files not much bandwidth nor disk space is needed.

Source RPM: urpmi-proxy-0.2.4-3.mga2.src.rpm => urpmi-proxy-0.3.2-1.mga2.src.rpm

Comment 13 AL13N 2012-05-12 17:18:45 CEST
i have it installed, but a new testing version... i'll go check it out some more
Comment 14 Marja Van Waes 2012-05-26 13:06:31 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 15 Marja Van Waes 2012-07-15 05:57:25 CEST
@ Morgan
@ AL13N

This bug was filed agains old cauldron, from before Mageia 2 release. Please confirm it is still valid for Mageia 2 and cauldron.

If so, please remove NEEDINFO from the Keywords and put MGA2TOO on the whiteboard.
Thanks :)

CC: (none) => marja11

Comment 16 AL13N 2012-07-15 08:48:44 CEST
try these settings:

these should create a bit more overhead, but should work better

$check_updates_only_files = undef;
$check_no_updates_files = '\.rpm$';
$merge_files = 'something_that_cannot_exist';

Keywords: NEEDINFO => (none)
Whiteboard: (none) => MGA2TOO

Comment 17 Morgan Leijström 2012-07-17 15:36:11 CEST
Thanks, I will try that workaround, but no time to test soon.
Comment 18 Samuel Verschelde 2013-08-27 11:38:08 CEST
What's the status for this bug? According to comment #17 Morgan Leijström was supposed to test a workaround 1 year ago.

Keywords: (none) => NEEDINFO

Comment 19 AL13N 2013-08-30 14:25:22 CEST
i had forgotten about this bug...

i need to make these the default settings and have a specific undef for the merge_files...

i assume these settings work well... as i do frequent installs and rescue and etc...
Comment 20 Morgan Leijström 2013-08-30 15:57:17 CEST
I had forgot too...

still using same urpmi proxy on my mga1 file server...
I think i tested your workaround OK but wanted to verify on a mga 2 server setup i intended to do, but life etc happened and i still now when mga 3 released have not updated the fileserver...

One issue that popped up recently however when i installed a couple mga3-64 systems:
Somehow urpmi-proxy served an erroneous file.
I deleted that file from clients cache, but next it just recieved same crap from proxy.
I had to find and delete that file in urpmi-proxy cache too, then it went OK.

Unfortunately I was to busy to dig into logs.
Probably it is unimportant which file it was, anyway i mention that last time it was mga3 libyalib1 package.
Comment 21 AL13N 2013-08-30 16:25:12 CEST
ok, i'll just ship these new settings for cauldron, and close this as a configuration issue.

Keywords: NEEDINFO => (none)
Status: NEW => ASSIGNED
Whiteboard: MGA2TOO => MGA2TOO MGA3TOO

Comment 22 AL13N 2013-09-02 21:50:47 CEST
new version in cauldron has the new configuration values, so i'm closing this one as WONT_FIX for mga2 and mga3

Status: ASSIGNED => RESOLVED
Version: Cauldron => 3
Resolution: (none) => WONTFIX
Whiteboard: MGA2TOO MGA3TOO => MGA2TOO


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