Project

General

Profile

Actions

Bug #38118

open

FIPS-enabled deployment fails with Rails 7

Added by Evgeni Golov 15 days ago. Updated 14 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

# foreman-installer --scenario katello --tuning development
2024-12-20 08:37:17 [NOTICE] [root] Loading installer configuration. This will take some time.
2024-12-20 08:37:20 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2024-12-20 08:37:20 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2024-12-20 08:37:21 [NOTICE] [checks] System checks passed
2024-12-20 08:38:44 [NOTICE] [configure] Starting system configuration.
2024-12-20 08:40:13 [NOTICE] [configure] 250 configuration steps out of 1330 steps complete.
2024-12-20 08:40:21 [NOTICE] [configure] 500 configuration steps out of 1332 steps complete.
2024-12-20 08:40:45 [NOTICE] [configure] 750 configuration steps out of 1337 steps complete.
2024-12-20 08:40:48 [NOTICE] [configure] 1000 configuration steps out of 1360 steps complete.
2024-12-20 08:41:08 [ERROR ] [configure] '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2024-12-20 08:41:08 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns: change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2024-12-20 08:41:18 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2024-12-20 08:41:18 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
2024-12-20 08:42:29 [NOTICE] [configure] 1250 configuration steps out of 1360 steps complete.
2024-12-20 08:42:55 [NOTICE] [configure] System configuration has finished.

Error 1: Puppet Exec resource 'foreman-rake-db:migrate' failed. Logs:
  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]
    Adding autorequire relationship with User[foreman]
    Starting to evaluate the resource (1108 of 1360)
    Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
    '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
    Evaluated in 24.95 seconds
  Exec[foreman-rake-db:migrate](provider=posix)
    Executing check '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
    Executing '/usr/sbin/foreman-rake db:migrate'
    Executing check '/usr/sbin/foreman-rake db:abort_if_pending_migrations'
    Executing '/usr/sbin/foreman-rake db:migrate'
  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/unless
    rake aborted!
    OpenSSL::Digest::DigestError: Digest initialization failed: initialization error
    /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/digest.rb:18:in `hexdigest'
    /usr/share/gems/gems/angular-rails-templates-1.2.2/lib/angular-rails-templates/engine.rb:44:in `block in <class:Engine>'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `instance_exec'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:61:in `block in run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:60:in `run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:372:in `initialize!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `public_send'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `method_missing'
    /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    /usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:348:in `require_environment!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:506:in `block in run_tasks_blocks'
    /usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
    Tasks: TOP => db:abort_if_pending_migrations => db:load_config => environment
    (See full trace by running task with --trace)
    rake aborted!
    OpenSSL::Digest::DigestError: Digest initialization failed: initialization error
    /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/digest.rb:18:in `hexdigest'
    /usr/share/gems/gems/angular-rails-templates-1.2.2/lib/angular-rails-templates/engine.rb:44:in `block in <class:Engine>'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `instance_exec'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:61:in `block in run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:60:in `run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:372:in `initialize!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `public_send'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `method_missing'
    /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    /usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:348:in `require_environment!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:506:in `block in run_tasks_blocks'
    /usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
    Tasks: TOP => db:abort_if_pending_migrations => db:load_config => environment
    (See full trace by running task with --trace)
  /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]/returns
    rake aborted!
    OpenSSL::Digest::DigestError: Digest initialization failed: initialization error
    /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/digest.rb:18:in `hexdigest'
    /usr/share/gems/gems/angular-rails-templates-1.2.2/lib/angular-rails-templates/engine.rb:44:in `block in <class:Engine>'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `instance_exec'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:61:in `block in run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:60:in `run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:372:in `initialize!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `public_send'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `method_missing'
    /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    /usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:348:in `require_environment!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:506:in `block in run_tasks_blocks'
    /usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
    Tasks: TOP => db:migrate => db:load_config => environment
    (See full trace by running task with --trace)
    change from 'notrun' to ['0'] failed: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]
    rake aborted!
    OpenSSL::Digest::DigestError: Digest initialization failed: initialization error
    /usr/share/gems/gems/activesupport-7.0.8.7/lib/active_support/digest.rb:18:in `hexdigest'
    /usr/share/gems/gems/angular-rails-templates-1.2.2/lib/angular-rails-templates/engine.rb:44:in `block in <class:Engine>'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `instance_exec'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:32:in `run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `block in run'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in `benchmark'
    /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in `run'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:61:in `block in run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/initializable.rb:60:in `run_initializers'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:372:in `initialize!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `public_send'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/railtie.rb:226:in `method_missing'
    /usr/share/foreman/config/environment.rb:5:in `<top (required)>'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
    /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
    /usr/share/gems/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in `require'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:348:in `require_environment!'
    /usr/share/gems/gems/railties-7.0.8.7/lib/rails/application.rb:506:in `block in run_tasks_blocks'
    /usr/share/gems/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
    Tasks: TOP => db:migrate => db:load_config => environment
    (See full trace by running task with --trace)

1 error was detected during installation.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
Actions

Also available in: Atom PDF