Problem:
foreman-installer error
Expected outcome:
no error
Foreman and Proxy versions:
foreman-installer-3.1.1-1.el7.noarch
Foreman and Proxy plugin versions:
foreman-installer-3.1.1-1.el7.noarch
Distribution and version:
uname -a
Linux puppet.xyz.com 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
Other relevant data:
foreman-installer
Traceback (most recent call last):
13: from /usr/sbin/foreman-installer:8:in <main>' 12: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:50:in
run’
11: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in run' 10: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in
new’
9: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:115:in initialize' 8: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:325:in
run_migrations’
7: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:35:in run' 6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:35:in
each’
5: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:38:in block in run' 4: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migration_context.rb:10:in
execute’
3: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migration_context.rb:10:in instance_eval' 2: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:25:in
block (2 levels) in load_migrations’
1: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:25:in instance_eval' /etc/foreman-installer/scenarios.d/foreman.migrations/20200909151007_manage_acls_on_debian.rb:1:in
block (2 levels) in load_migrations’: undefined method `’ for nil:NilClass (NoMethodError)
yum reinstall foreman-installer
Loaded plugins: langpacks, versionlock
Excluding 1 update due to versionlock (use “yum versionlock status” to show it)
Resolving Dependencies
→ Running transaction check
—> Package foreman-installer.noarch 1:3.1.1-1.el7 will be reinstalled
→ Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================================================================================
Package Arch Version Repository Size
Reinstalling:
foreman-installer noarch 1:3.1.1-1.el7 foreman 1.4 M
Transaction Summary
Reinstall 1 Package
Total download size: 1.4 M
Installed size: 6.6 M
Is this ok [y/d/N]: y
Downloading packages:
foreman-installer-3.1.1-1.el7.noarch.rpm | 1.4 MB 00:01:34
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:foreman-installer-3.1.1-1.el7.noarch 1/1
/etc/foreman-installer/scenarios.d/foreman.migrations/20200909151007_manage_acls_on_debian.rb:1:in block (2 levels) in load_migrations': undefined method
’ for nil:NilClass (NoMethodError)
from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:25:in instance_eval' from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:25:in
block (2 levels) in load_migrations’
from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migration_context.rb:10:in instance_eval' from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migration_context.rb:10:in
execute’
from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:38:in block in run' from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:35:in
each’
from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/migrations.rb:35:in run' from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/configuration.rb:325:in
run_migrations’
from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:115:in initialize' from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in
new’
from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in run' from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/kafo_configure.rb:50:in
run’
from /sbin/foreman-installer:8:in `’
warning: %post(foreman-installer-1:3.1.1-1.el7.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package 1:foreman-installer-3.1.1-1.el7.noarch
Verifying : 1:foreman-installer-3.1.1-1.el7.noarch 1/1
Installed:
foreman-installer.noarch 1:3.1.1-1.el7
Complete!
mv 20200909151007_manage_acls_on_debian.rb 20200909151007_manage_acls_on_debian.rb.orig
| RUBYLIB=/opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.4.0/lib/kafo/…/…//modules: /opt/puppetlabs/bin/puppet apply --config=/tmp/kafo_installation20220214-29554-p2u06q/puppet.conf
2022-02-14 17:51:07 [ERROR ] [root] /opt/puppetlabs/puppet/bin/ruby: /lib64/libcrypt.so.1: version XCRYPT_2.0' not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7) /opt/puppetlabs/puppet/bin/ruby: /lib64/libc.so.6: version
GLIBC_2.28’ not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7)
/opt/puppetlabs/puppet/bin/ruby: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7) /opt/puppetlabs/puppet/bin/ruby: /lib64/libc.so.6: version
GLIBC_2.27’ not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7)
/opt/puppetlabs/puppet/bin/ruby: /lib64/libcrypt.so.1: version XCRYPT_2.0' not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7) /opt/puppetlabs/puppet/bin/ruby: /lib64/libc.so.6: version
GLIBC_2.28’ not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7)
/opt/puppetlabs/puppet/bin/ruby: /lib64/libc.so.6: version GLIBC_2.25' not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7) /opt/puppetlabs/puppet/bin/ruby: /lib64/libc.so.6: version
GLIBC_2.27’ not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.7)
2022-02-14 17:51:07 [ERROR ] [root] Could not get default values, cannot continue