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 1331258

Summary: Cannot enable foreman_proxy_plugin_remote_execution_ssh on RHEL6
Product: Red Hat Satellite Reporter: Lukas Pramuk <lpramuk>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: stbenjam
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-28 12:40:48 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 Lukas Pramuk 2016-04-28 06:57:25 UTC
Description of problem:
Cannot enable foreman_proxy_plugin_remote_execution_ssh on RHEL6.
Due to missing packages


Version-Release number of selected component (if applicable):
@Sat6.2.0-beta-Snap9.3

How reproducible:
alaways

Steps to Reproduce:
1. # foreman-installer -S katello --enable-foreman-plugin-remote-execution --enable-foreman-proxy-plugin-remote-execution-ssh
 Execution of '/usr/bin/yum -d 0 -e 0 -y install rubygem-smart_proxy_remote_execution_ssh' returned 1: Error: Package: rubygem-smart_proxy_dynflow-0.0.7.1-1.el6sat.noarch (satellite)
 Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
 Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
 /Stage[main]/Foreman_proxy::Plugin::Remote_execution::Ssh/Foreman_proxy::Plugin[remote_execution_ssh]/Package[rubygem-smart_proxy_remote_execution_ssh]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rubygem-smart_proxy_remote_execution_ssh' returned 1: Error: Package: rubygem-smart_proxy_dynflow-0.0.7.1-1.el6sat.noarch (satellite)
 Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
 Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
 Execution of '/usr/bin/yum -d 0 -e 0 -y install rubygem-smart_proxy_dynflow' returned 1: Error: Package: rubygem-smart_proxy_dynflow-0.0.7.1-1.el6sat.noarch (satellite)
 /Stage[main]/Foreman_proxy::Plugin::Dynflow/Foreman_proxy::Plugin[dynflow]/Package[rubygem-smart_proxy_dynflow]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install rubygem-smart_proxy_dynflow' returned 1: Error: Package: rubygem-smart_proxy_dynflow-0.0.7.1-1.el6sat.noarch (satellite)
Installing             Done                                               [100%] [....................................]
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/foreman-installer/katello.log

2. # yum install rubygem-smart_proxy_remote_execution_ssh
Error: Package: rubygem-smart_proxy_dynflow-0.0.7.1-1.el6sat.noarch (satellite)
           Requires: rubygem(sqlite3)
Error: Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
           Requires: rubygem(net-ssh)
Error: Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
           Requires: rubygem(net-scp)
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: rubygem-smart_proxy_dynflow-0.0.7.1-1.el6sat.noarch (satellite)
           Requires: rubygem(sqlite3)
Error: Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
           Requires: rubygem(net-ssh)
Error: Package: rubygem-smart_proxy_remote_execution_ssh-0.0.13-1.el6sat.noarch (satellite)
           Requires: rubygem(net-scp)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 


Actual results:
fails due to unresolved deps

Expected results:
succeeds

Additional info:
RHEL7 have these packages while RHEL6 not:

rubygem-net-scp.noarch                                                              1.1.0-6.el7sat                                                     @satellite              
rubygem-net-ssh.noarch                                                              3.0.2-2.el7sat                                                     @satellite              
rubygem-sqlite3.x86_64                                                              1.3.5-4.el7sat                                                     @satellite              

They have been renamed recently (scl prefix "tfm-" removals)

Comment 3 Stephen Benjamin 2016-04-28 12:40:48 UTC
Expected, it may be available for GA.

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