Mirror yum.osc.edu latest repo

Hi all,
I wanted to reposync the repo Index of /ondemand/latest/compute/el7Server/x86_64 to avoid having to reposync multiple versions of ondemand repos.
When doing so the sync works but it is not retrieving some packages like the ondemand-compute-2.x and ondemand-compute-3.x.
Any idea on what is happening ?
Thank you

Every release has it’s own yum repo - so you may want to sync Index of /ondemand/3.0 instead of latest.

That said if you still want to sync latest, I’m not entirely sure what could be happening but a quick spot check shows the package names are ondemand-release-compute-*. Not sure if that’s a typo here in this message or not.

Hello Jeff, thanks for the feedback !
It was to avoid having to mirror 2 repos per version per os version locally. Would be easier for us.
Yes it is a typo sorry.

The packages I should have locally are:
ondemand-compute-1.3-1.el7.noarch.rpm
ondemand-compute-1.4-1.el7.noarch.rpm
ondemand-compute-1.5-1.el7.noarch.rpm
ondemand-compute-1.6-1.el7.noarch.rpm
ondemand-compute-1.7-1.el7.noarch.rpm
ondemand-compute-1.8-1.el7.noarch.rpm
ondemand-compute-2.1.0-1.el7.noarch.rpm
ondemand-compute-3.0.0-1.el7.noarch.rpm
ondemand-compute-3.1.0-1.el7.noarch.rpm
python-websockify-0.8.0-1.el7.noarch.rpm
python3-websockify-0.10.0-1.el7.noarch.rpm
turbovnc-2.1.1-1.el7.x86_64.rpm
turbovnc-2.1.90-1.el7.x86_64.rpm
turbovnc-2.2.3-1.el7.x86_64.rpm
turbovnc-2.2.5-1.el7.x86_64.rpm
turbovnc-debuginfo-2.1.1-1.el7.x86_64.rpm
turbovnc-debuginfo-2.1.90-1.el7.x86_64.rpm
turbovnc-debuginfo-2.2.3-1.el7.x86_64.rpm
turbovnc-debuginfo-2.2.5-1.el7.x86_64.rpm

The one the reposync command is able to find are:
ondemand-compute-1.3-1.el7.noarch.rpm
ondemand-compute-1.4-1.el7.noarch.rpm
ondemand-compute-1.5-1.el7.noarch.rpm
ondemand-compute-1.6-1.el7.noarch.rpm
ondemand-compute-1.7-1.el7.noarch.rpm
ondemand-compute-1.8-1.el7.noarch.rpm
python-websockify-0.8.0-1.el7.noarch.rpm
turbovnc-2.1.1-1.el7.x86_64.rpm
turbovnc-2.1.90-1.el7.x86_64.rpm
turbovnc-2.2.3-1.el7.x86_64.rpm
turbovnc-2.2.5-1.el7.x86_64.rpm
turbovnc-debuginfo-2.1.1-1.el7.x86_64.rpm
turbovnc-debuginfo-2.1.90-1.el7.x86_64.rpm
turbovnc-debuginfo-2.2.3-1.el7.x86_64.rpm
turbovnc-debuginfo-2.2.5-1.el7.x86_64.rpm

I was wondering if something was wrong on the repo itself because I don’t have any error or if it was coming from our side.

It’s not clear to me why it wouldn’t sync correctly. A quick google search indicates that you may need to clean the cache on your side to sync. Or you can try reposync with verbose logging on to get more information.

@tdockendorf do you have any further advise?

Looks like there might be a bug in the release process we use. The repo metadata for the compute repo is from 2021 but the packages you’re missing are much newer. I think I found the issue, will see if I can come up with a patch.

1 Like

This is now fixed. I merged what I hope is a permanent fix but to get the immediate issue resolved I manually ran the repo update scripts we use to generate repo metadata.

Thank you very much, it is indeed fixed now! Appreciate the very fast answer!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.