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 1531609 - undefined method 'value' in 12-check_capsule_tar.rb when running satellite-installer
Summary: undefined method 'value' in 12-check_capsule_tar.rb when running satellite-in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Evgeni Golov
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-05 16:16 UTC by Evgeni Golov
Modified: 2022-07-09 09:22 UTC (History)
3 users (show)

Fixed In Version: katello-installer-base-3.0.0.100-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-05 13:55:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0273 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6 security, bug fix, and enhancement update 2018-02-08 00:35:29 UTC

Description Evgeni Golov 2018-01-05 16:16:55 UTC
Description of problem:
The fix for #1525544 tries to read non-existing values, leading to an error in the katello-installer:

/usr/share/katello-installer-base/hooks/pre_validations/12-check_capsule_tar.rb:10:in
`block (4 levels) in load': undefined method `value' for nil:NilClass
(NoMethodError)

Version-Release number of selected component (if applicable):
katello-installer-base-3.0.0.98-1.el7sat.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. run satellite-installer --scenario satellite

Actual results:
[install-rhel-7] /usr/share/katello-installer-base/hooks/pre_validations/12-check_capsule_tar.rb:10:in `block (4 levels) in load': undefined method `value' for nil:NilClass (NoMethodError)
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:34:in `instance_eval'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hook_context.rb:13:in `instance_exec'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hook_context.rb:13:in `execute'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:51:in `block in execute'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:49:in `each'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/hooking.rb:49:in `execute'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:125:in `execute'
[install-rhel-7] 	from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
[install-rhel-7] 	from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
[install-rhel-7] 	from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:148:in `run'
[install-rhel-7] 	from /sbin/satellite-installer:12:in `<main>'

Expected results:
Installs OK

Additional info:
#1525544 is marked as fixed in 6.2.13, but the code seems to be missing as it only ships katello-installer-base-3.0.0.97-1.el7sat.noarch.rpm
the intention behind pulling #1525544 into 6.2.z was to get the absolute path for the certs tar in the answers file, not to allow relative paths in the cli options, which 6.2 accepts anyways.

Comment 5 jcallaha 2018-01-10 19:23:51 UTC
Verified in Satellite 6.2.14. 

At least 6 Satellite installations have completed successfully, on both RHEL 6 and 7, without any indication of this error.

Further Capsule installations are also passing without issue.

Comment 8 errata-xmlrpc 2018-02-05 13:55:32 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:0273


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