saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.19k stars 5.48k forks source link

[BUG] Salt repository sync problem on Foreman #67039

Closed Ivca50V closed 1 week ago

Ivca50V commented 1 week ago

Description Since Upstream URL for salt repository changed to https://packages.broadcom.com/artifactory/saltproject-rpm/ we can't sync that repository hosted on JFrog to Foreman. Errors on Foreman says: XML file(s): filelists not found and see this also on Foreman community: https://community.theforeman.org/t/external-private-yum-repository-on-jfrog-io-not-synchronizing-in-foreman-katello/24938 which is probably related to this problem.

Setup Upstream URL used on Foreman: https://packages.broadcom.com/artifactory/saltproject-rpm/ GPG key: `-----BEGIN PGP PUBLIC KEY BLOCK-----

mQGNBGPazmABDAC6qc2st6/Uh/5AL325OB5+Z1XMFM2HhQNjB/VcYbLvcCx9AXsU eaEmNPm6OY3p5+j8omjpXPYSU7DUQ0lIutuAtwkDMROH7uH/r9IY7iu88S6w3q89 bgbnqhu4mrSik2RNH2NqEiJkylz5rwj4F387y+UGH3aXIGryr+Lux9WxfqoRRX7J WCf6KOaduLSp9lF4qdpAb4/Z5yExXtQRA9HULSJZqNVhfhWInTkVPw+vUo/P9AYv mJVv6HRNlTb4HCnl6AZGcAYv66J7iWukavmYKxuIbdn4gBJwE0shU9SaP70dh/LT WqIUuGRZBVH/LCuVGzglGYDh2iiOvR7YRMKf26/9xlR0SpeU/B1g6tRu3p+7OgjA vJFws+bGSPed07asam3mRZ0Y9QLCXMouWhQZQpx7Or1pUl5Wljhe2W84MfW+Ph6T yUm/j0yRlZJ750rGfDKA5gKIlTUXr+nTvsK3nnRiHGH2zwrC1BkPG8K6MLRluU/J ChgZo72AOpVNq9MAEQEAAbQ5U2FsdCBQcm9qZWN0IFBhY2thZ2luZyA8c2FsdHBy b2plY3QtcGFja2FnaW5nQHZtd2FyZS5jb20+iQHSBBMBCAA8FiEEEIV//dP5Hq5X eiHWZMu8gXPXaz8FAmPazm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JnU5xSRb2sOKzIuBABEBAAGJAbYEGAEIACAWIQQQhX/9 0/kerld6IdZky7yBc9drPwUCY9rOYAIbDAAKCRBky7yBc9drP8ctC/9wGi01cBAW BPEKEnfrKdvlsaLeRxotriupDqGSWxqVxBVd+n0Xs0zPB/kuZFTkHOHpbAWkhPr+ hP+RJemxCKMCo7kT2FXVR1OYej8Vh+aYWZ5lw6dJGtgo3Ebib2VSKdasmIOI2CY/ 03G46jv05qK3fP6phz+RaX+9hHgh1XW9kKbdkX5lM9RQSZOof3/67IN8w+euy61O UhNcrsDKrp0kZxw3S+b/02oP1qADXHz2BUerkCZa4RVK1pM0UfRUooOHiEdUxKKM DE501hwQsMH7WuvlIR8Oc2UGkEtzgukhmhpQPSsVPg54y9US+LkpztM+yq+zRu33 gAfssli0MvSmkbcTDD22PGbgPMseyYxfw7vuwmjdqvi9Z4jdln2gyZ6sSZdgUMYW PGEjZDoMzsZx9Zx6SO9XCS7XgYHVc8/B2LGSxj+rpZ6lBbywH88lNnrm/SpQB74U 4QVLffuw76FanTH6advqdWIqtlWPoAQcEkKf5CdmfT2ei2wX1QLatTs= =ZKPF -----END PGP PUBLIC KEY BLOCK-----`

Please be as specific as possible and give set-up details.

Steps to Reproduce the behavior 2024-11-06T10:08:30 [I|app|0bb14c9e] Started GET "/katello/sync_management/sync_status?repoids%5B%5D=6472&organization_id=6&_=1730884089019" for 10.5.1.3 at 2024-11-06 10:08:30 +0100 2024-11-06T10:08:30 [I|app|0bb14c9e] Processing by Katello::SyncManagementController#sync_status as JSON 2024-11-06T10:08:30 [I|app|0bb14c9e] Parameters: {"repoids"=>["6472"], "organization_id"=>"6", "_"=>"1730884089019"} 2024-11-06T10:08:30 [I|app|0bb14c9e] Completed 200 OK in 43ms (Views: 0.2ms | ActiveRecord: 6.5ms | Allocations: 21748) 2024-11-06T10:08:32 [I|app|4acb245b] Started GET "/katello/sync_management/sync_status?repoids%5B%5D=6472&organization_id=6&_=1730884089020" for 10.5.1.3 at 2024-11-06 10:08:32 +0100 2024-11-06T10:08:32 [I|app|4acb245b] Processing by Katello::SyncManagementController#sync_status as JSON 2024-11-06T10:08:32 [I|app|4acb245b] Parameters: {"repoids"=>["6472"], "organization_id"=>"6", "_"=>"1730884089020"} 2024-11-06T10:08:32 [I|app|4acb245b] Completed 200 OK in 56ms (Views: 0.2ms | ActiveRecord: 5.9ms | Allocations: 21715) 2024-11-06T10:08:34 [I|app|96b0e9d7] Started GET "/katello/sync_management/sync_status?repoids%5B%5D=6472&organization_id=6&_=1730884089021" for 10.5.1.3 at 2024-11-06 10:08:34 +0100 2024-11-06T10:08:34 [I|app|96b0e9d7] Processing by Katello::SyncManagementController#sync_status as JSON 2024-11-06T10:08:34 [I|app|96b0e9d7] Parameters: {"repoids"=>["6472"], "organization_id"=>"6", "_"=>"1730884089021"} 2024-11-06T10:08:34 [I|app|96b0e9d7] Completed 200 OK in 47ms (Views: 0.2ms | ActiveRecord: 5.2ms | Allocations: 21980) **2024-11-06T10:08:36 [E|bac|9161b7fb] XML file(s): filelists not found (Katello::Errors::Pulp3Error)**

Expected behavior I expecting the repository get mirrored normally without filelists problems.

Screenshots task salt sync problem

Versions Report N/A

N/A

Additional context N/A

welcome[bot] commented 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!

MartinEmrich commented 1 week ago

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?

ScriptAutomate commented 1 week ago

Duplicate of #67032