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#Repository_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/yum_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/raw/hpe-foundation-workaround/repodata/repomd.xml'

 

16:52:24 Total time: 0:00:04




Thanks,

BR,

Heiner