Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1455199

Summary: Error refreshing manifest. undefined method `update_repositories' for #<Katello::Product:0x007f554e6bc538>
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: Subscription ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Roman Plevka <rplevka>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.10CC: bbuckingham, bkearney, cwelton, jsherril, rplevka
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.135-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-20 17:24:15 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:
Attachments:
Description Flags
production.log error none

Description Evgeni Golov 2017-05-24 12:56:09 UTC
Created attachment 1281950 [details]
production.log error

Description of problem:
When trying to refresh a manifest on 6.2.10-1.0, the last refresh step fails with Error refreshing manifest. undefined method `update_repositories' for #<Katello::Product:0x007f554e6bc538>.

Stacktrace from production.log attached

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

How reproducible:
100%

Steps to Reproduce:
1. refresh manifest

Actual results:
Error refreshing manifest. undefined method `update_repositories' for #<Katello::Product:0x007f554e6bc538>


Expected results:
manifest is refreshed

Additional info:
Before hitting this issue, the patch for https://bugzilla.redhat.com/show_bug.cgi?id=1455154 was applied.

Repro/Verify steps:
1. vagrant up sat-628-rhel7
2. upload manifest
3. update to 6.2.10-1.0
4. apply patch from #1455154
5. katello-service restart
6. refresh manifest

Comment 6 Roman Plevka 2017-05-29 10:50:29 UTC
VERIFIED
on 6.2.10-2

Manifest can be refreshed and deleted without any issue again.

Comment 8 errata-xmlrpc 2017-06-20 17:24:15 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/RHBA-2017:1553