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:

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 ***