Hide Forgot
Description of problem: Installed satellite6.3 snap8 and install was completed successfully. I didn't see any error with installer on console. However on login, I got following error: : We're sorry, but something went wrong. and production.log filled with this exception: 2016-12-08 06:34:59 d2fd673f [app] [I] Started GET "/users/login" for 10.10.61.198 at 2016-12-08 06:34:59 -0500 2016-12-08 06:34:59 d2fd673f [app] [I] Processing by UsersController#login as HTML 2016-12-08 06:34:59 d2fd673f [app] [I] Rendered users/login.html.erb within layouts/login (4.9ms) 2016-12-08 06:34:59 d2fd673f [app] [I] Rendered layouts/base.html.erb (2.0ms) 2016-12-08 06:34:59 d2fd673f [app] [W] Action failed | Webpack::Rails::Manifest::ManifestLoadError: Could not load compiled manifest from /usr/share/foreman/public/webpack/manifest.json - have you run `rake webpack:compile`? (original error No such file or directory @ rb_sysopen - /usr/share/foreman/public/webpack/manifest.json) | /opt/theforeman/tfm/root/usr/share/gems/gems/webpack-rails-0.9.8/lib/webpack/rails/manifest.rb:78:in `rescue in load_static_manifest' | /opt/theforeman/tfm/root/usr/share/gems/gems/webpack-rails-0.9.8/lib/webpack/rails/manifest.rb:76:in `load_static_manifest' | /opt/theforeman/tfm/root/usr/share/gems/gems/webpack-rails-0.9.8/lib/webpack/rails/manifest.rb:59:in `load_manifest' | /opt/theforeman/tfm/root/usr/share/gems/gems/webpack-rails-0.9.8/lib/webpack/rails/manifest.rb:51:in `manifest' | /opt/theforeman/tfm/root/usr/share/gems/gems/webpack-rails-0.9.8/lib/webpack/rails/manifest.rb:29:in `asset_paths' | /opt/theforeman/tfm/root/usr/share/gems/gems/webpack-rails-0.9.8/lib/webpack/rails/helper.rb:18:in `webpack_asset_paths' | /usr/share/foreman/app/views/layouts/base.html.erb:15:in `_6b3b5578f144325e698a88acf2500a12' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/template.rb:145:in `block in render' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/template.rb:333:in `instrument' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/template.rb:143:in `render' | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.0.2/lib/deface/action_view_extensions.rb:41:in `render' | /opt/rh/rh-ror42/root/usr/share/gems/gems/actionview-4.2.6/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' Version-Release number of selected component (if applicable): sat6.3 snap8 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: UI throwing error Expected results: UI should be loaded after successful login Additional info:
Created attachment 1229447 [details] foreman-debug
I see this earlier in the log: 2016-12-08 13:34:53 [app] [W] unknown class ExternalUsergroups, ignoring | NameError: uninitialized constant ExternalUsergroups | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.12/lib/foreman_hooks.rb:90:in `load_missing_constant_with_hooks' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `const_get' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `block in constantize' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `each' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `inject' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `constantize' | /opt/rh/rh-ror42/root/usr/share/gems/gems/activesupport-4.2.6/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
This looks like an issue during packaging, seems like `rake webpack:compile` isn't executed. Was there any error message in the package building logs? https://github.com/theforeman/foreman-packaging/commit/8ef00cf3f99ec3ff75f1bc6230a531b02822764d or something similar should be pulled into foreman-packaging. @bkearney - that doesn't seem related.
Was performing multiple user, usergroup with IDM and AD tests, I have not encountered this issue while looking at the logs. VERIFIED with sat630-snap13.0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. > > For information on the advisory, and where to find the updated files, follow the link below. > > If the solution does not work for you, open a new bug report. > > https://access.redhat.com/errata/RHSA-2018:0336