Hide Forgot
Description of problem: Independent from the default download policy (hammer settings set --name default_download_policy --value <policy>) the download policy can be set on a repository level by running: ~~~ hammer repository update \ --organization Red Hat \ --product 'Red Hat Enterprise Linux Server' \ --name 'Red Hat Satellite Tools 6.2 for RHEL 6 Server RPMs x86_64' \ --download-policy on_demand ~~~ But it cannot be run when enabling a repository: ~~~ # hammer repository-set enable \ --product 'Red Hat Satellite Capsule' \ --basearch='x86_64' \ --name 'Red Hat Satellite Capsule 6.2 (for RHEL 6 Server) (RPMs)' \ --download-policy background \ Could not enable repository: Error: Unrecognised option '--download-policy' See: 'hammer repository-set enable --help' ~~~ Having a look at `hammer repository-set enable --help` shows that download policy cannot be set during enabling the repository which is annoying as one has to run commands twice just because of this option. Therefore it should be possible to set default download policy during enabling repos Version-Release number of selected component (if applicable): Satellite 6.2.3 (latest available update) How reproducible: - Try to set download policy when enabling repository Steps to Reproduce: 1. ~~~ # hammer repository-set enable \ --product 'Red Hat Satellite Capsule' \ --basearch='x86_64' \ --name 'Red Hat Satellite Capsule 6.2 (for RHEL 6 Server) (RPMs)' \ --download-policy background \ Could not enable repository: Error: Unrecognised option '--download-policy' See: 'hammer repository-set enable --help' ~~~ Actual results: It is not possible to set download policy during enablement of repos Expected results: allow to set download policy during enablement of repo, like: ~~~ # hammer repository-set enable \ --product 'Red Hat Satellite Capsule' \ --basearch='x86_64' \ --name 'Red Hat Satellite Capsule 6.2 (for RHEL 6 Server) (RPMs)' \ --download-policy background \ ~~~ Additional info:
created http://projects.theforeman.org/issues/17154
Upstream bug component is Remote Execution
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.