Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1982695 - md5 missing in ALLOWED_CONTENT_CHECKSUMS
Summary: md5 missing in ALLOWED_CONTENT_CHECKSUMS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks: 1929818 1973346
TreeView+ depends on / blocked
 
Reported: 2021-07-15 13:14 UTC by Radek Mynar
Modified: 2022-07-19 16:10 UTC (History)
6 users (show)

Fixed In Version: satellite-installer-6.10.0.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:12:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:12:45 UTC

Description Radek Mynar 2021-07-15 13:14:18 UTC
Description of problem:
"md5" is not present in /etc/pulp/settings.py ALLOWED_CONTENT_CHECKSUMS

Version-Release number of selected component (if applicable):
Satellite 6.10 SNAP 8.0

How reproducible:
always

Steps to Reproduce:
1. cat /etc/pulp/settings.py | grep ALLOWED_CONTENT_CHECKSUMS

Actual results:
ALLOWED_CONTENT_CHECKSUMS = ["sha1", "sha224", "sha256", "sha384", "sha512"]

Expected results:
ALLOWED_CONTENT_CHECKSUMS = ["md5", "sha1", "sha224", "sha256", "sha384", "sha512"]

Additional info:

Comment 2 Brad Buckingham 2021-07-15 14:03:17 UTC
Is this a regression in behavior from 6.9?

Comment 3 Justin Sherrill 2021-07-15 14:06:49 UTC
This would prevent you from syncing md5 content, so i think i would consider it a regression ( the config value itself didn't exist in 6.9)

Comment 4 Radek Mynar 2021-07-16 14:28:08 UTC
It seems that the needinfo was answered in comment 3.

I may just add a note, that md5 was included in settings of 6.10 SNAP 4.0 and SNAP 6.0, so this bug came up somewhere between SNAP6/SNAP8

Comment 6 Ewoud Kohl van Wijngaarden 2021-07-20 12:57:56 UTC
Users can override it by passing:

  satellite-installer \
    --foreman-proxy-content-pulpcore-allowed-content-checksums md5 \
    --foreman-proxy-content-pulpcore-allowed-content-checksums sha1 \
    --foreman-proxy-content-pulpcore-allowed-content-checksums sha224 \
    --foreman-proxy-content-pulpcore-allowed-content-checksums sha256 \
    --foreman-proxy-content-pulpcore-allowed-content-checksums sha384 \
    --foreman-proxy-content-pulpcore-allowed-content-checksums sha512

In https://github.com/theforeman/puppet-foreman_proxy_content/commit/fb401944723c5b93941aa98d16f377bded5627c0 it was explicitly disabled. I'm not sure what is expected here. Should this be done by default for all installations?

Comment 10 Devendra Singh 2021-08-20 17:29:26 UTC
Verified on 6.10 Snap14.

Verification steps:
1- Verified the md5 entry in the ALLOWED_CONTENT_CHECKSUMS file.

# cat /etc/pulp/settings.py | grep ALLOWED_CONTENT_CHECKSUMS
ALLOWED_CONTENT_CHECKSUMS = ["md5", "sha1", "sha224", "sha256", "sha384", "sha512"]

2- Verified fixed in-version.

# rpm -qa|grep satellite-installer-6.10.0.6
satellite-installer-6.10.0.6-1.el7sat.noarch

Comment 13 errata-xmlrpc 2021-11-16 14:12:34 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


Note You need to log in before you can comment on or make changes to this bug.