Bug #34348
closedCan't find entry point 'foreman_bootdisk:global'
Description
We use Foreman with Puppet and Vmware using foreman bootdisk for initial provisioning.
we recently upgraded from 2.3 all the way through to 3.1 as well as from Ubuntu 18.04 to 20.04
since the upgrade completed we can't appear to load pages and the error in the logs points to foreman bootdisk - i can't rule out missing packages or similar but not sure where to look
error is:
2022-01-29T14:04:41 [W|app|0260fa00] Can't find entry point 'foreman_bootdisk:global' in webpack manifest 2022-01-29T14:04:41 [I|app|0260fa00] Backtrace for 'Can't find entry point 'foreman_bootdisk:global' in webpack manifest' error (ActionView::Template::Error): Can't find entry point 'foreman_bootdisk:global' in webpack manifest 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/webpack-rails-0.9.11/lib/webpack/rails/manifest.rb:39:in `asset_paths' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/webpack-rails-0.9.11/lib/webpack/rails/helper.rb:18:in `webpack_asset_paths' 0260fa00 | /usr/share/foreman/app/helpers/reactjs_helper.rb:64:in `block (2 levels) in global_css_tags' 0260fa00 | /usr/share/foreman/app/helpers/reactjs_helper.rb:63:in `map' 0260fa00 | /usr/share/foreman/app/helpers/reactjs_helper.rb:63:in `block in global_css_tags' 0260fa00 | /usr/share/foreman/app/helpers/reactjs_helper.rb:62:in `map' 0260fa00 | /usr/share/foreman/app/helpers/reactjs_helper.rb:62:in `global_css_tags' 0260fa00 | /usr/share/foreman/app/helpers/reactjs_helper.rb:22:in `webpacked_plugins_with_global_css' 0260fa00 | /usr/share/foreman/app/views/layouts/base.html.erb:16:in `_80e387f4431a6ccc31ef27bd8800a907' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:274:in `_run' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:185:in `block in render' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:182:in `instrument' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:385:in `instrument_render_template' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/template.rb:183:in `render' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/deface-1.5.3/lib/deface/action_view_extensions.rb:43:in `render' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:58:in `block (2 levels) in render_template' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:88:in `block in instrument' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/abstract_renderer.rb:87:in `instrument' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:57:in `block in render_template' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:65:in `render_with_layout' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:56:in `render_template' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/template_renderer.rb:13:in `render' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:29:in `render_to_object' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/renderer/renderer.rb:22:in `render' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:34:in `block in render' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/base.rb:304:in `in_rendering_context' 0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/actionview-6.0.3.7/lib/action_view/helpers/rendering_helper.rb:30:in `render' 0260fa00 | /usr/share/foreman/app/views/layouts/application.html.erb:5:in `_13432265e3baa06648873a27a2cc1c41'
the actual trace is a LOT longer than that, i can pull a more detailed log if required
Updated by Anthony Somerset almost 3 years ago
End of the Error:
0260fa00 | /usr/share/foreman/vendor/ruby/2.7.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2022-01-29T14:04:41 [I|app|0260fa00] Rendering common/500.html.erb within layouts/application 2022-01-29T14:04:41 [I|app|0260fa00] Rendered common/500.html.erb within layouts/application (Duration: 3.4ms | Allocations: 5065) 2022-01-29T14:04:41 [I|app|0260fa00] Rendered layouts/_application_content.html.erb (Duration: 2.9ms | Allocations: 4720) 2022-01-29T14:04:41 [I|app|0260fa00] Rendering layouts/base.html.erb 2022-01-29T14:04:41 [I|app|0260fa00] Rendered layouts/base.html.erb (Duration: 3.6ms | Allocations: 5340) 2022-01-29T14:04:41 [I|app|0260fa00] Completed 500 Internal Server Error in 59ms (ActiveRecord: 2.6ms | Allocations: 46388) 2022-01-29T14:04:41 [F|app|0260fa00] 0260fa00 | ActionView::Template::Error (Can't find entry point 'foreman_bootdisk:global' in webpack manifest): 0260fa00 | 13: <%= stylesheet_link_tag *webpack_asset_paths('foreman-vendor', :extension => 'css') %> 0260fa00 | 14: <%= stylesheet_link_tag *webpack_asset_paths('bundle', :extension => 'css') %> 0260fa00 | 15: <%= stylesheet_link_tag 'application' %> 0260fa00 | 16: <%= webpacked_plugins_with_global_css %> 0260fa00 | 17: <%= yield(:stylesheets) %> 0260fa00 | 18: 0260fa00 | 19: <%= csrf_meta_tags %> 0260fa00 | 0260fa00 | app/helpers/reactjs_helper.rb:64:in `block (2 levels) in global_css_tags' 0260fa00 | app/helpers/reactjs_helper.rb:63:in `map' 0260fa00 | app/helpers/reactjs_helper.rb:63:in `block in global_css_tags' 0260fa00 | app/helpers/reactjs_helper.rb:62:in `map' 0260fa00 | app/helpers/reactjs_helper.rb:62:in `global_css_tags' 0260fa00 | app/helpers/reactjs_helper.rb:22:in `webpacked_plugins_with_global_css' 0260fa00 | app/views/layouts/base.html.erb:16:in `_80e387f4431a6ccc31ef27bd8800a907' 0260fa00 | app/views/layouts/application.html.erb:5:in `_13432265e3baa06648873a27a2cc1c41' 0260fa00 | app/controllers/application_controller.rb:354:in `generic_exception' 0260fa00 | lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call' 0260fa00 | lib/foreman/middleware/telemetry.rb:10:in `call' 0260fa00 | lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call' 0260fa00 | lib/foreman/middleware/logging_context_session.rb:22:in `call' 0260fa00 | lib/foreman/middleware/logging_context_request.rb:11:in `call'
Updated by Anthony Somerset almost 3 years ago
- Status changed from New to Resolved
i "think" i had a borked upgrade here as i did get appear to get disconnected partway through the 3.0 upgrade, it looks like reinstalling the ruby-foreman-bootdisk package (and then ruby-foreman-puppet for same reason) appears to have cleared this out - guessing some package post install step did not run properly and had to be redone.
i think we can close this