Closed salman8328 closed 1 week ago
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
I'm taking a look at this to see if we can get that enabled for the rpm
repo.
In the meantime, we have alternative directions for pulling down the repos on Artifactory:
Just some detail we are also seeing issue with the repo not being accessable, it was noticed when yum/dnf updating
SaltStack latest Release Channel for RHEL/CentOS 8 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'saltstack':
- Curl error (6): Couldn't resolve host name for https://repo.saltproject.io/salt/py3/redhat/8/x86_64/latest/repodata/repomd.xml [Could not resolve host: repo.saltproject.io]
Error: Failed to download metadata for repo 'saltstack': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: saltstack
@ssoto2 The repositories at repo.saltproject.io no longer exist. More details on the transition can be found here:
https://saltproject.io/blog/salt-project-package-repo-migration-and-guidance/
Issuing the same problem when trying to mirror repo on Foreman: [E|bac|9161b7fb] XML file(s): filelists not found (Katello::Errors::Pulp3Error)
Hello team, We currently use redhat satellite(foreman) for managing our rpm repositories. When creating the repos following your instructions : https://saltproject.io/blog/salt-project-package-repo-migration-and-guidance/
I encounter the following error :
XML file(s): filelists not found (Katello::Errors::Pulp3Error)
I found out that the reason is from the data type used returned by this file : https://packages.broadcom.com/artifactory/saltproject-rpm/repodata/repomd.xml
should be : <data type="filelists">
instead of <data type="other">
or <data type="primary">
you will find the detailed fix from this article : https://community.theforeman.org/t/external-private-yum-repository-on-jfrog-io-not-synchronizing-in-foreman-katello/24938
Thank you in advance for the fix and for all your hard work Best regards Abdellatif
I read elsewhere that Artifactory can be configured to enable/disable creation of the filelists file. I also get an Error message on yum based OS. Maybe Salt Project/Broadcom can turn it on?
@MartinEmrich We use Jfrog and it can be turned on, don't know if Salt has a specific reason for not turning it on but it is available in the manage repo settings of Jfrog
1) As administrator
2) Click Administration
3) Click Repositories
on the left-hand bar
4) In main panel click on the repository in question
5) Under the Basic
section find enable file list indexing
and toggle on
Hi, We also use Red Hat Satellite/Pulp in our organization to mirror Salt repos so we definitely would like to have this fixed. This should definitely be enabled in JFrog. I'm pretty there going to be a huge percentage of people that run into this exact issue, and I'd prefer not to have to manually mirror/download this repo.
Katello::Errors::Pulp3Error: XML file(s): filelists not found
Enable File List Indexing
has now been enabled on the saltproject-rpm
repository, and should work with tools that seek a <data type="filelists">
entry in the repomd.xml
file.
Can see the new updates here:
repomd.xml
: https://packages.broadcom.com/artifactory/saltproject-rpm/repodata/repomd.xml
*-filelists.xml.gz
: https://packages.broadcom.com/artifactory/saltproject-rpm/repodata/6f77c6f727dea05b58e0082794a118b66088c55c-filelists.xml.gz
Description Unable to create local mirror of saltstack repo, due to filelists.xml not being available
Setup
sync the saltstack repo using pulp and this url: https://packages.broadcom.com/ui/repos/tree/General/saltproject-rpm
Steps to Reproduce the behavior sync that rpm repo, it will fail with error:
"description": "XML file(s): filelists not found"
Expected behavior local mirror created
Additional context When the repo url has been moved to public Jfrog url, this issue occured, so the steps to solve it would be to enable filelists.xml indexing in jfrog.