repoman should support creating el7Server link to el7 repo
Description
Activity
Anton Marchukov January 4, 2017 at 1:23 PM
I do not see this option in repoman. We create those symlinks from other scripts. However I think it might be ok to have this option in repoman, so will see how it is best to implement and add it.
Eyal Edri December 4, 2016 at 10:29 AM
Works now thanks to manual repos created, but we need to check how to make repoman create those subdirs as part of the deployment.
Barak Korren November 20, 2016 at 8:12 AM
We probably should make the experimental repo support links like '7Server', like the downstream repos do.
I think repoman can already do this so its probably just a matter of placing some configuration option somewhere (probably the deploy-to-ovirt-experimental-* jobs)
@Anton Marchukov please confirm repoman can do this and specify how to configure it.
Lukas Bednar November 18, 2016 at 10:09 AM
I did a workaround for our machines by setting /etc/yum/vars/releasever to be '7'
Former user November 18, 2016 at 9:50 AM
The problem is in specific mock configuration in jenkins/experimental jobs
config_opts["releasever"] = "7"
It means releaserver varible is set to "7" instead of "7Server" which is default in rhel7, centos, epel. That's why release rpm works only on specific systems.
ovirt-release-master-experimental.rpm contains link to the repo:
baseurl=http://resources.ovirt.org/repos/ovirt/experimental/master/latest.tested/rpm/@DIST@$releasever/
Which is evaluated as http://resources.ovirt.org/repos/ovirt/experimental/master/latest.tested/rpm/el7Server/
while the correct path is
http://resources.ovirt.org/repos/ovirt/experimental/master/latest.tested/rpm/el7/
The problem is in $releasever variable which is equal to 7Server:
python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Loaded plugins: langpacks, product-id
{'arch': 'ia32e',
'basearch': 'x86_64',
'releasever': '7Server',
'uuid': '9347b085-7ce7-4150-8903-e5af4f78a37c'}