Bug 1625264 - Can not change checksum type of the Custom product.
Summary: Can not change checksum type of the Custom product.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.4.0
Assignee: Andrew Kofink
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 13:57 UTC by maneesh verma
Modified: 2020-07-27 12:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:29:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description maneesh verma 2018-09-04 13:57:33 UTC
Description of problem:

Changing the custom product checksum type is failing with error message.

How reproducible:

Every time when we create a custom product.


Steps to Reproduce:
1. Create a custom product with a repository like EPEL.
2. Select the checksum type, and create the repository.
3. Go back to the repository and change the checksum type it will fail with an error.

Actual results:

Changing checksum type fails with error-

undefined method `default_capsule?' for nil:NilClass (NoMethodError)
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.22/app/models/katello/glue/pulp/repo.rb:221:in `yum_importer_values'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.22/app/mode


Expected results:

It should allow us to change the checksum type as the checksum type for 5Server repo is SHA1 and not SHA256.


Additional info:

Comment 2 Andrew Kofink 2018-09-06 20:25:59 UTC
Could you please upload the full trace?

Comment 9 Bryan Kearney 2018-10-16 19:29:43 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, 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-2018:2927


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