Re: [PATCH 1/1] snapshot::web Fix internal redirects to farm
On 11/19/24 10:21 AM, MOESSBAUER, Felix wrote:
>> I tested the change on lw07, and the location header we see from the
>> webapp is fully qualified, so the new proposed patch does not match
>> either:
>>
>>> - RespHeader Location:
>>> http://snapshot-lw07.debian.org/file/4c086f4fd3df97030a4e300a43ab3f897d5b15f8
>
> That's interesting. The internal redirect seems to work properly for
> that host. Then we just need my redirect in addition (e.g. for mlm-01).
Hm, interesting, you are right, it works.
>> On lw07 Apache did not fail to process the request. At this point I
>> am
>> also confused if the machines are set up identically - AIUI at least
>> sallinen is configured differently/has different data.
>
> They are definitely not - as we know by now. Unfortunately not even the
> ETags are idendical:
>
> Package from above:
> - snapshot-lw07: 537d00-57f0901818c52
> - snapshot.d.o (cache-fra-etou8220130-FRA): 537d00-57f09017dad00
>
> Do we have any machine readable endpoint to get the version of the
> snapshot software (e.g. the git commit).
I looked at the webapp on lw07 and mlm-01 and both have the same
version. It doesn't look like the webapp generates ETags by itself? I
don't know where they are coming from. Traditionally from inode numbers,
I guess. Not sure how that's supposed to work here.
FWIW, you can also interrogate mlm-01 directly, in the same way as lw07.
Kind regards
Philipp Kern
Reply to: