Description of problem: Could not update repository with URL Version-Release number of selected component (if applicable): 6.10 snap 15 How reproducible: same error on different Satellite Steps to Reproduce: 1. hammer product create --name 'TestProduct' --organization-id 1 2. hammer repository create --content-type yum --name CustomRepo --product 'TestProduct' --organization-id 1 3. hammer repository update --url 'https://stephenw.fedorapeople.org/fakerepos/multiple_errata' --name CustomRepo --product 'TestProduct' --organization-id 1 Actual results: Could not update the repository: Task 72f3b063-111c-4665-9304-a90e31d2b452: NoMethodError: undefined method `[]' for true:TrueClass Expected results: Repo is updated with URL
Despite error, repo was updated ~]# hammer repository info --name CustomRepo --product 'TestProduct' --organization-id 1 Id: 1 Name: CustomRepo Label: CustomRepo Description: Organisation: Default Organization Red Hat Repository: no Content Type: yum Mirror on Sync: yes Url: https://stephenw.fedorapeople.org/fakerepos/multiple_errata Publish Via HTTP: yes Published At: https://<redacted>.redhat.com/pulp/content/Default_Organization/Library/custom/TestProduct/CustomRepo/ Relative Path: Default_Organization/Library/custom/TestProduct/CustomRepo Download Policy: immediate HTTP Proxy: HTTP Proxy Policy: global_default_http_proxy Product: Id: 1 Name: TestProduct GPG Key: Sync: Status: Not Synced Created: 2021/08/27 15:21:25 Updated: 2021/08/27 15:23:22 Content Counts: Packages: 0 Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0
Created redmine issue https://projects.theforeman.org/issues/33370 from this bug
Upstream bug assigned to jsherril
@Brad - I suggest we add this in the beta release notes.
Marked this as a known issue to include in RNs.
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33370 has been resolved.
*** Bug 2008095 has been marked as a duplicate of this bug. ***
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