Project

General

Profile

Actions

Bug #36427

open

provisioning setup

Added by Eric Evans 12 months ago. Updated 9 months ago.

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

Description

Once step two is completed, the foreman-installer, it completes successfully. but when I go to the nrxt step I get an error. Hereis the output from foreman-rake;
foreman-rake errors:fetch_log request_id=8aab0eb5
Rubocop not loaded.
2023-05-23T12:33:01 [I|app|8aab0eb5] Started POST "/foreman_setup/provisioners/1/step4" for 192.168.254.251 at 2023-05-23 12:33:01 -0400
2023-05-23T12:33:01 [I|app|8aab0eb5] Processing by ForemanSetup::ProvisionersController#step4 as HTML
2023-05-23T12:33:01 [I|app|8aab0eb5] Parameters: {"authenticity_token"=>"DyE+V3rXlEuGcxKcekAOG4OjqWc3v28PT4hcUMXp/YyHp5P8exD90UZQVoaxCJ0aQLIttD6M9MVtGUhLKLi/Tg==", "id"=>"1"}
2023-05-23T12:33:03 [I|aud|8aab0eb5] Subnet (5) update event on dhcp_id , 1
2023-05-23T12:33:03 [I|aud|8aab0eb5] Subnet (5) update event on tftp_id , 1
2023-05-23T12:33:03 [I|aud|8aab0eb5] Subnet (5) update event on dns_id , 1
2023-05-23T12:33:03 [W|app|8aab0eb5] undefined method `value' for nil:NilClass
2023-05-23T12:33:03 [I|app|8aab0eb5] Backtrace for 'undefined method `value' for nil:NilClass' error (NoMethodError): undefined method `value' for nil:NilClass
8aab0eb5 | /usr/share/gems/gems/foreman_setup-8.0.1/app/controllers/foreman_setup/provisioners_controller.rb:95:in `step4'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:228:in `process_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rendering.rb:30:in `process_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
8aab0eb5 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
8aab0eb5 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
8aab0eb5 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
8aab0eb5 | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
8aab0eb5 | /usr/share/gems/gems/audited-5.0.2/lib/audited/sweeper.rb:16:in `around'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:137:in `run_callbacks'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/callbacks.rb:41:in `process_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/rescue.rb:22:in `process_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `block in instrument'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/notifications.rb:203:in `instrument'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
8aab0eb5 | /usr/share/gems/gems/activerecord-6.1.7.3/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/abstract_controller/base.rb:165:in `process'
8aab0eb5 | /usr/share/gems/gems/actionview-6.1.7.3/lib/action_view/rendering.rb:39:in `process'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:190:in `dispatch'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_controller/metal.rb:254:in `dispatch'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:33:in `serve'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:50:in `block in serve'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `each'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/journey/router.rb:32:in `serve'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/routing/route_set.rb:842:in `call'
8aab0eb5 | /usr/share/gems/gems/katello-4.7.5/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
8aab0eb5 | /usr/share/gems/gems/katello-4.7.5/lib/katello/middleware/event_daemon.rb:10:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/apipie-dsl-2.5.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
8aab0eb5 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/static_dispatcher.rb:68:in `call'
8aab0eb5 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/extractor/recorder.rb:137:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/static.rb:24:in `call'
8aab0eb5 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
8aab0eb5 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
8aab0eb5 | /usr/share/gems/gems/apipie-rails-0.8.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/tempfile_reaper.rb:15:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/etag.rb:27:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/conditional_get.rb:40:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/head.rb:12:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
8aab0eb5 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:266:in `context'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/session/abstract/id.rb:260:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/cookies.rb:697:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
8aab0eb5 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:37:in `call_app'
8aab0eb5 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/rack/logger.rb:28:in `call'
8aab0eb5 | /usr/share/gems/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
8aab0eb5 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
8aab0eb5 | /usr/share/gems/gems/katello-4.7.5/lib/katello/prevent_json_parsing.rb:12:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/method_override.rb:24:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/runtime.rb:22:in `call'
8aab0eb5 | /usr/share/gems/gems/activesupport-6.1.7.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/sendfile.rb:110:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/ssl.rb:77:in `call'
8aab0eb5 | /usr/share/gems/gems/actionpack-6.1.7.3/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
8aab0eb5 | /usr/share/gems/gems/secure_headers-6.5.0/lib/secure_headers/middleware.rb:11:in `call'
8aab0eb5 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/engine.rb:539:in `call'
8aab0eb5 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `public_send'
8aab0eb5 | /usr/share/gems/gems/railties-6.1.7.3/lib/rails/railtie.rb:207:in `method_missing'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:74:in `block in call'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `each'
8aab0eb5 | /usr/share/gems/gems/rack-2.2.4/lib/rack/urlmap.rb:58:in `call'
8aab0eb5 | /usr/share/gems/gems/puma-5.6.5/lib/puma/configuration.rb:252:in `call'
8aab0eb5 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:77:in `block in handle_request'
8aab0eb5 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
8aab0eb5 | /usr/share/gems/gems/puma-5.6.5/lib/puma/request.rb:76:in `handle_request'
8aab0eb5 | /usr/share/gems/gems/puma-5.6.5/lib/puma/server.rb:443:in `process_client'
8aab0eb5 | /usr/share/gems/gems/puma-5.6.5/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
8aab0eb5 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2023-05-23T12:33:03 [I|app|8aab0eb5] Rendered common/500.html.erb within layouts/application (Duration: 6.7ms | Allocations: 1266)
2023-05-23T12:33:03 [I|app|8aab0eb5] Rendered layouts/base.html.erb (Duration: 11.5ms | Allocations: 4183)
2023-05-23T12:33:03 [I|app|8aab0eb5] Rendered layout layouts/application.html.erb (Duration: 22.9ms | Allocations: 6618)
2023-05-23T12:33:03 [I|app|8aab0eb5] Completed 500 Internal Server Error in 1531ms (Views: 33.8ms | ActiveRecord: 118.6ms | Allocations: 87734)

Foreman version: 3.5.3
Plugins:
- foreman-tasks 7.1.1
- foreman_ansible 10.4.1
- foreman_bootdisk 21.0.3
- foreman_discovery 22.0.2
- foreman_hyperv 0.0.4
- foreman_kernel_care 1.1.1
- foreman_monitoring 3.0.0
- foreman_puppet 5.1.2
- foreman_remote_execution 8.2.0
- foreman_setup 8.0.1
- foreman_snapshot_management 2.0.3
- foreman_templates 9.3.0
- foreman_virt_who_configure 0.5.10
- katello 4.7.5
- ovirt_provision_plugin 2.0.3


Files

probision setup error.jpg View probision setup error.jpg 108 KB Eric Evans, 05/23/2023 04:46 PM
Actions #1

Updated by herrodoth . 12 months ago

  • Fixed in Releases 3.8.0 added
  • Found in Releases 3.8.0 added

I have the same problem on a new test server (f3.6 k4.8 - latest atm). Did 3-4 installs in different configs but i still get the same error. If needed i can provide also logs, just ask.

Actions #2

Updated by Griffin Sullivan 9 months ago

  • Fixed in Releases 3.9.0 added
  • Fixed in Releases deleted (3.8.0)
Actions

Also available in: Atom PDF