Bug #17014
closedforeman installation error with tfm-rubygem-foreman_setup'
Description
Description of problem:
foreman installation error with tfm-rubygem-foreman_setup'
<snip>
foreman-installer
Installing +localRESallCE Copostgresgment[foreman-ssidenttom [88%] [...................................................................... Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_setup' returned 1: Error downloading packages:
/Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[tfm-rubygem-foreman_setup]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_setup' returned 1: Error downloading packages:
</snip>
operating system:
Red Hat Enterprise Linux Server release 7.2
Version-Release for foreman installer:
foreman-installer-1.12.3-1.el7.noarch
Steps to Reproduce:
1.Enable the RHEL Optional repos:
2.Check the repository is enabled with yum repolist
3.Enable the EPEL (Extra Packages for Enterprise Linux) and the Foreman repos:
4.Install the installer with below command:
~~
#yum -y install foreman-installer
~~
Actual results:
foreman-installer
Installing +localRESallCE Copostgresgment[foreman-ssidenttom [88%] [...................................................................... Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_setup' returned 1: Error downloading packages:
/Stage[main]/Foreman::Plugin::Setup/Foreman::Plugin[setup]/Package[tfm-rubygem-foreman_setup]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_setup' returned 1: Error downloading packages:
Installing Done [100%] [..........................................................................................]
Something went wrong! Check the log for ERROR-level output
Expected results:
- installer should run without any errors.
- tfm-rubygem-foreman_setup package must be installed
Additional info:
- Checked for tfm-rubygem-foreman_setup package was installed on affected system.
Updated by Dominic Cleal over 8 years ago
What's the full output from yum install tfm-rubygem-foreman_setup
and yum repolist
?
Updated by Poornima Kshirsagar over 8 years ago
Dominic Cleal wrote:
What's the full output from
yum install tfm-rubygem-foreman_setup
andyum repolist
?
Hi Dominic
Here is the output of yum repolist:
yum repolist
Loaded plugins: search-disabled-repos
repo id repo name status
foreman/x86_64 Foreman 1.13 384
foreman-plugins/x86_64 Foreman plugins 1.13 272
rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs) 11,390
rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 297
rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 8,902
rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 11,399
rhel-7-server-rt-beta-rpms/x86_64 Red Hat Enterprise Linux for Real Time Beta (RHEL 7 Server) (RPMs) 15
rhel-7-server-rt-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) 137
rhel-ha-for-rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) - Extended Update Support (RPMs) 225
rhel-ha-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) 225
rhel-rs-for-rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) - Extended Update Support (RPMs) 280
rhel-rs-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) (RPMs) 280
repolist: 33,806
Updated by Poornima Kshirsagar over 8 years ago
see below command return none
~~
- rpm -qa | grep tfm-rubygem-foreman_setup
~~
tfm-rubygem-foreman_setup isn't installed do you want me to run install explicitly ?
Updated by Poornima Kshirsagar over 8 years ago
Dominic Cleal wrote:
What's the full output fromyum install tfm-rubygem-foreman_setup
andyum repolist
?
Hi Dominic
Here is the output of yum repolist:
repo id repo name status
!centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 4,205
!centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 323
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 10,681
!foreman/x86_64 Foreman 1.12 443
!foreman-plugins/x86_64 Foreman plugins 1.12 257
!puppetlabs-pc1/x86_64 Puppet Labs PC1 Repository el 7 - x86_64 94
!rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs) 11,390
!rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 8,902
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 11,399
!rhel-7-server-rt-beta-rpms/x86_64 Red Hat Enterprise Linux for Real Time Beta (RHEL 7 Server) (RPMs) 15
!rhel-7-server-rt-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) 137
!rhel-ha-for-rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) - Extended Update Support (RPMs) 225
!rhel-ha-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) 225
!rhel-rs-for-rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) - Extended Update Support (RPMs) 280
!rhel-rs-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) (RPMs) 280
repolist: 48,856
Updated by Dominic Cleal over 8 years ago
Poornima Kshirsagar wrote:
ideally install tfm-rubygem-foreman_setup should be installed ,
see below command return none
~~
- rpm -qa | grep tfm-rubygem-foreman_setup
~~
tfm-rubygem-foreman_setup isn't installed do you want me to run install explicitly ?
Yes, please include the full output from yum install tfm-rubygem-foreman_setup
Updated by Poornima Kshirsagar over 8 years ago
Dominic Cleal wrote:
Poornima Kshirsagar wrote:
ideally install tfm-rubygem-foreman_setup should be installed ,
see below command return none
~~
- rpm -qa | grep tfm-rubygem-foreman_setup
~~
tfm-rubygem-foreman_setup isn't installed do you want me to run install explicitly ?Yes, please include the full output from
yum install tfm-rubygem-foreman_setup
- yum install tfm-rubygem-foreman_setup
Loaded plugins: search-disabled-repos
centos-sclo-rh | 2.9 kB 00:00
centos-sclo-sclo | 2.9 kB 00:00
epel/x86_64/metalink | 12 kB 00:00
epel | 4.3 kB 00:00
foreman | 2.9 kB 00:00
foreman-plugins | 2.9 kB 00:00
puppetlabs-pc1 | 2.5 kB 00:00
(1/2): puppetlabs-pc1/x86_64/primary_db | 85 kB 00:00
(2/2): foreman/x86_64/primary_db | 154 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package tfm-rubygem-foreman_setup.noarch 0:4.0.0-1.fm1_12.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================
Installing:
tfm-rubygem-foreman_setup noarch 4.0.0-1.fm1_12.el7 foreman-plugins 58 k
Transaction Summary
=============================================================================================================================================================================
Install 1 Package
Total download size: 58 k
Installed size: 218 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
tfm-rubygem-foreman_setup-4.0.0-1.fm1_12.el7.noarch.rpm | 58 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : tfm-rubygem-foreman_setup-4.0.0-1.fm1_12.el7.noarch 1/1
Verifying : tfm-rubygem-foreman_setup-4.0.0-1.fm1_12.el7.noarch 1/1
Installed:
tfm-rubygem-foreman_setup.noarch 0:4.0.0-1.fm1_12.el7
Complete!
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Ready For Testing
That appears to have succeeded, so re-running the installer should now work.
It's likely that the installer originally encountered a transient error (e.g. network-related) or something in the configuration has since been fixed.
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Rejected