I may have found a workaround (WARNING: possible dirty hack detected). The problem seems to be with the Yum groups defined in comps.xml (I wasn’t able to find the file itself, but as most repos seem to have this problem, I decided ‘just’ to check Yum docs what it’s supposed to do)
And I edited the Python file (/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/group.py
) throwing the errors.
Replace
packagelist = element.find('packagelist')
conditional, default, mandatory, optional = _parse_packagelist(
packagelist.findall('packagereq'))
with
packagelist = element.find('packagelist')
try:
conditional, default, mandatory, optional = _parse_packagelist(
packagelist.findall('packagereq'))
except:
conditional, default, mandatory, optional = [], [], [], []
This bypasses any faulty comps.xml
files, but I DO NOT KNOW if and what this might break in the long term. I am still currently testing it.
I am able to sync a proxy now and just deployed my first VM using that proxy.
Please do NOT do this on any production system that is vital!