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 1834302 - --enable-foreman-plugin-rh-cloud fails: Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_rh_cloud' returned 1: Error: Nothing to do
Summary: --enable-foreman-plugin-rh-cloud fails: Execution of '/bin/yum -d 0 -e 0 -y i...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.8.0
Assignee: Shimon Shtein
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-11 13:39 UTC by Lukáš Hellebrandt
Modified: 2020-10-27 13:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:02:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
satellite.log (3.35 MB, text/plain)
2020-05-11 13:42 UTC, Lukáš Hellebrandt
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:02:29 UTC

Description Lukáš Hellebrandt 2020-05-11 13:39:19 UTC
Description of problem:
When running satellite-installer with --enable-foreman-plugin-rh-cloud parameter, the installation fails with the error "Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_rh_cloud' returned 1: Error: Nothing to do" and a traceback.

Version-Release number of selected component (if applicable):
Sat 6.8 s0.2

How reproducible:
Deterministic

Steps to Reproduce:
1. # satellite-installer --enable-foreman-plugin-rh-cloud

Actual results:
Executing: foreman-maintain packages -h
Executing: foreman-maintain packages is-locked --assumeyes
Package versions are locked. Continuing with unlock.
Executing: foreman-maintain packages unlock --assumeyes
 Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_rh_cloud' returned 1: Error: Nothing to do
[...traceback ommited...]
Preparing installation Done                                              
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/foreman-installer/satellite.log
Package versions are being locked.
Executing: foreman-maintain packages lock --assumeyes

Expected results:
Installation passed, RH Cloud feature enabled

Additional info:
/var/log/foreman-installer/satellite.log attached

Comment 3 Lukáš Hellebrandt 2020-05-11 13:42:07 UTC
Created attachment 1687327 [details]
satellite.log

Comment 4 Adam Ruzicka 2020-07-02 08:20:38 UTC
This seems to work just fine on snap 6. Could we verify this?

Comment 5 Lukáš Hellebrandt 2020-07-02 09:09:36 UTC
Yes, this works. The Satellite can be installed with this parameter and the Inventory plugin is successfully enabled.

Just flip it to ON_QA and I'll verify it right away.

Comment 6 Adam Ruzicka 2020-07-02 09:26:06 UTC
Flipping to ON_QA based on discussion above

Comment 7 Lukáš Hellebrandt 2020-07-02 09:27:41 UTC
Verified with Sat 6.8 snap 6.0.

Comment 10 errata-xmlrpc 2020-10-27 13:02:12 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 (Important: Satellite 6.8 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-2020:4366


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