-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
2
-
False
-
sat-artemis
-
None
-
None
-
None
-
To Do
Description of problem:
When importing content and using an URL instead of a path from a local filesystem, satellite will create the root repositories with download_policy set to on-demand, instead of immediate.
How reproducible:
Always
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Export a repository with syncable format
hammer content-export complete repository --id <ID> --format syncable
2. Place the exported content in to a URL. Can be the satellite itself at /var/www/html/pub/import/
3. Import from URL:
hammer content-import repository --path http://localhost/pub/import/1.0/2025-03-14T12-26-56-04-00/ --organization-id 1
Actual behavior:
Import will be done, but download_policy will be set to on-demand:
2025-03-14T15:16:32 [I|aud|17fedd9e] Katello::RootRepository (340) create event on download_policy on_demand
Expected behavior:
Download policy to be set to immediate
Business Impact / Additional info:
What happens is that the repository is created with the value defined at default_redhat_download_policy
Workaround is to to set default_redhat_download_policy to immediate