Bug 1995546

Summary: katello:change_download_policy rake still suggest background download_policy as valid option in Satellite 6.10
Product: Red Hat Satellite Reporter: Sayan Das <saydas>
Component: RepositoriesAssignee: Ian Ballou <iballou>
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact:
Priority: medium    
Version: 6.10.0CC: addubey, ahumbe, iballou, zhunting
Target Milestone: 6.10.0Keywords: EasyFix, Triaged
Target Release: Unused   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:13:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sayan Das 2021-08-19 11:29:24 UTC
Description of problem:

katello:change_download_policy  rake still suggest "background" download_policy as a valid option in Satellite 6.10

Version-Release number of selected component (if applicable):

Satellite 6.10

How reproducible:

Always


Steps to Reproduce:
1. Install Satellite
2. Run : foreman-rake -D katello:change_download_policy 


Actual results:

# foreman-rake -D katello:change_download_policy 
'ErbParser' is ignored.
'RubyParser' is ignored.
rake katello:change_download_policy
    Change the download policy of all repos. Specify DOWNLOAD_POLICY=policy. Options are immediate, on_demand, background.



Expected results:

# foreman-rake -D katello:change_download_policy 
'ErbParser' is ignored.
'RubyParser' is ignored.
rake katello:change_download_policy
    Change the download policy of all repos. Specify DOWNLOAD_POLICY=policy. Options are immediate and on_demand.



Additional info:

NA

Comment 1 Justin Sherrill 2021-09-23 14:40:38 UTC
Connecting redmine issue https://projects.theforeman.org/issues/33468 from this bug

Comment 2 Brad Buckingham 2021-09-28 15:27:49 UTC
Moving to POST as upstream PR is merged.

Comment 5 addubey 2021-10-12 06:48:32 UTC
Verified.


Tested on: Satellite-6.10.0 Snap 22.0


Steps followed: 

1. Install Satellite

2. Run : foreman-rake -D katello:change_download_policy 



Observation: Stdout shows the expected results.

             ('ErbParser' is ignored.

             'RubyParser' is ignored.

              rake katello:change_download_policy

             Change the download policy of all repos. Specify DOWNLOAD_POLICY=policy. Options are immediate or on_demand.)

Comment 8 errata-xmlrpc 2021-11-16 14:13:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4702