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 2012160

Summary: foreman-maintain health list fails with "undefined method `data_dir' for pulp2<Features::Pulp>:Features::Pulp"
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: Satellite MaintainAssignee: Amit Upadhye <aupadhye>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ahumbe, apatel, aupadhye, ehelms, kgaikwad, mmccune, myarboro, zhunting
Target Milestone: 6.10.1Keywords: Regression, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rubygem-foreman_maintain-0.8.21 Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-18 14:26:51 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 Gaurav Talreja 2021-10-08 12:55:53 UTC
Description of problem:


Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.8.19-1.el7sat.noarch

How reproducible:


Steps to Reproduce:
1. Setup satellite with latest z-stream 6.9.7 snap 1.0  
2. Run the pulp migration.
3. Update repositories for the 6.10 upgrade
4. Update rubygem-foreman_maintain to 0.8.19(from Sat 6.10 Snap 22)
5. foreman-maintain health list 

Actual results:
Fails with "undefined method `data_dir' for pulp2<Features::Pulp>:Features::Pulp"

Expected results:
should list all checks.

Additional info:

Comment 1 Brad Buckingham 2021-10-11 13:24:10 UTC
Is this a regression between Satellite 6.10 snaps?

Comment 2 Gaurav Talreja 2021-10-12 15:25:34 UTC
Hi Brad, 

Yes, seems broken since snap 15 of Satellite 6.10, after f-m version - rubygem-foreman_maintain-0.8.12-2.el7sat.noarch.

Adding the `Regression` keyword.


Thanks, 
Gaurav

Comment 3 Amit Upadhye 2021-10-13 17:54:19 UTC
Created redmine issue https://projects.theforeman.org/issues/33693 from this bug

Comment 6 Mike McCune 2021-11-03 21:41:41 UTC
upstream is merged, moving POST

Comment 7 Gaurav Talreja 2021-11-11 08:05:22 UTC
Verified.

Tested on Satellite 6.9.7 Snap 4.0
Version: rubygem-foreman_maintain-0.8.21-1.el7sat.noarch (From Satellite 6.10.1 Snap 1)

Steps:
1. satellite-maintain prep-6.10-upgrade
2. satellite-maintain content prepare
3. satellite-maintain health list

Observation:
Health list works without any errors.

Comment 10 errata-xmlrpc 2021-11-18 14:26:51 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 (Satellite Maintenance 6.10.1 Async Bug Fix Update), 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-2021:4736