Heiner, could you please list the content of this path on your Uyuni server:
/var/cache/rhn/reposync/1/hpe_foundation_workaround_repo/var/cache/zypp/r
aw/hpe-foundation-workaround/repodata/
I want to see the actual metatada downloaded by Zypper, as I see it was
able to read the metadata for the repository but somehow reposync failed
processing it
I have no clear idea about if this types of repos are explicitely
supported or not.
El 22/6/22 a las 10:42, Julio Gonzalez via Uyuni Users escribió:
> On miércoles, 22 de junio de 2022 11:34:10 (CEST) Heiner Wulfhorst wrote:
>> Hi List,
>>
>> i find it hard to believe that nobody has any information about staging
>> YaST repos in uyuni. Is this really such a rare case?
> I don't think we support them as of today.
>
> @Pablo?
>
>> BR
>> Heiner
>>
>>
>> Am Fr., 17. Juni 2022 um 17:46 Uhr schrieb Heiner Wulfhorst <email@heiwu.de
>>
>>> Hi List,
>>>
>>> i need to sync a HPE Foundation Repo into my CLM:
>>> https://update1.linux.hpe.com/repo/hpe-foundation/2.4.3/Suse/SLES15-SP3/
>>> Unfortunately it seems to have yast structure:
>>> https://en.opensuse.org/openSUSE:Standards_YaST2_Repository_Metadata#Repos
>>> itory_layout
>>>
>>> How can I mirror it into uyuni?
>>>
>>> Configuring it as yum type repo produces this error when trying to sync:
>>>
>>> *# spacewalk-repo-sync --type yum --channel hpe-foundation-workaround*
>>>
>>> 16:52:20 ======================================
>>>
>>> 16:52:20 | Channel: hpe-foundation-workaround
>>>
>>> 16:52:20 ======================================
>>>
>>> 16:52:20 Sync of channel started.
>>>
>>> Retrieving repository 'hpe-foundation-workaround' metadata
>>> ..........................................................................
>>> ............................................[done]
>>>
>>> Building repository 'hpe-foundation-workaround' cache
>>> ..........................................................................
>>> .................................................[done]
>>>
>>> All repositories have been refreshed.
>>>
>>> 16:52:24 Unexpected error: <class 'FileNotFoundError'>
>>>
>>> 16:52:24 Traceback (most recent call last):
>>> File
>>>
>>> "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/reposync.py",
>>> line 610, in sync
>>>
>>> repo_checksum_type = plugin.get_md_checksum_type()
>>>
>>> File
>>>
>>> "/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/repo_plugins/y
>>> um_src.py", line 750, in get_md_checksum_type
>>>
>>> infile = fileutils.decompress_open(repomd_path)
>>>
>>> File "/usr/lib/python3.6/site-packages/uyuni/common/fileutils.py", line
>>>
>>> 521, in decompress_open
>>>
>>> file_obj = codecs.open(filename, 'r', encoding="utf8")
>>>
>>> File "/usr/lib64/python3.6/codecs.py", line 897, in open
>>>
>>> file = builtins.open(filename, mode, buffering)
>>>
>>> *FileNotFoundError: [Errno 2] No such file or directory:
>>> '/var/cache/rhn/reposync/1/hpe_foundation_workaround_repo/var/cache/zypp/r
>>> aw/hpe-foundation-workaround/repodata/repomd.xml'*
>>>
>>>
>>>
>>> 16:52:24 Total time: 0:00:04
>>>
>>>
>>>
>>>
>>> Thanks,
>>>
>>> BR,
>>>
>>> Heiner
>
--
Pablo Suárez Hernández <psuarezhernandez@suse.de>
SUSE Manager Development Team
SUSE Software Solutions - https://www.suse.com/