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 1851386

Summary: Post upgrade check(upgrade from 6.7 to 6.8) failed with error "undefined method `to_sym' for nil:NilClass"
Product: Red Hat Satellite Reporter: Devendra Singh <desingh>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Devendra Singh <desingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0Keywords: AutomationBlocker, UpgradeBlocker
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-29 15:28:35 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 Devendra Singh 2020-06-26 12:02:25 UTC
Description of problem: Post upgrade check(upgrade from 6.7 to 6.8) failed with  error  "undefined method `to_sym' for nil:NilClass"

Version-Release number of selected component (if applicable):
6.8

How reproducible:
2/2

Steps to Reproduce:
1. Prepare the environment to perform the satellite-upgrade from 6.7 to 6.8 
2. Configure the all required repository to perform the upgrade from 6.7 to 6.8.
3. Apply the workaround mentioned on BZ#1846593
   a: unlock the fm-packages.
      foreman-maintain packages unlock -y
   b: Install puppet-agent 
      yum install -y puppet-agent
      .....
      Updated:
      puppet-agent.x86_64 0:6.14.0-2.el7sat
   c: re-install puppet-agent-oath 
      yum reinstall -y puppet-agent-oauth 
      ....
      Installed:
      puppet-agent-oauth.noarch 0:0.5.1-3.el7sat
   d: lock the packages
      foreman-maintain packages lock -y
4: Run foreman-maintain upgrade check and it completes with some warning.
5: Run foreman upgrade using below command

foreman-maintain upgrade run --whitelist="disk-performance, repositories-validate, repositories-setup" --target-version 6.8 -y
 Checking for new version of satellite-maintain...

 Running Migration scripts to Satellite 6.8
 ================================================================================
 Setup repositories:                                                   [SKIPPED]
 --------------------------------------------------------------------------------
 Unlock packages:                                                      [OK]
 --------------------------------------------------------------------------------
 Update package(s) :                                                   [OK]
 --------------------------------------------------------------------------------
 Procedures::Installer::Upgrade:                                       [OK]
 --------------------------------------------------------------------------------

Running Procedures after migrating to Satellite 6.8
 ================================================================================
....
....
Running Checks after upgrading to Satellite 6.8
 ================================================================================
 Check number of fact names in database:                               [OK]
 --------------------------------------------------------------------------------
 Check for verifying syntax for ISP DHCP configurations:               [OK]
 --------------------------------------------------------------------------------
 Check whether all services are running:                               [OK]
 --------------------------------------------------------------------------------
 Check whether all services are running using the ping call:           [FAIL]
 Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
 --------------------------------------------------------------------------------

Actual results:
Post-upgrade check failed with undefined method error.

Expected results:
Post-upgrade checks should be completed successfully.

Additional info:

Comment 3 Brad Buckingham 2020-06-29 14:15:47 UTC
This appears to be a duplicate of bug 1851806.  Any objection to closing this one?

Comment 5 Brad Buckingham 2020-06-29 15:28:35 UTC

*** This bug has been marked as a duplicate of bug 1851806 ***