Closed rabah-beldi closed 1 year ago
Could you please help us correct this issue? We are stuck on the production platform upgrade. I am at your disposal if you need more information. Thank you in advance for your assistance.
This appears to have been fixed by https://github.com/ManageIQ/manageiq-ui-classic/pull/8734 which is in petrosian you should be able to upgrade to that to fix this issue
Ok great! thanks for this information.
Closing as this has been fixed in petrosian.
Duplicate of https://github.com/ManageIQ/manageiq/issues/22504
Hello,
Since the upgrade from Najdorf to Oparin, I have been experiencing an issue with request show, which specifically affects only the EC2/VM requests. No issues are observed with custom services.
when I click on the request in question, the following screen appears.
it's an error 500. here's the network trace:
Error in logs:
Oct 12 10:34:27 XXX production[2835]: INFO – production: Parameters: {"id"=>"9469"} Oct 12 10:34:27 XXXX production[2835]: INFO – production: Rendered /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/show.html.haml within layouts/application (Duration: 83.0ms | Allocations: 28951) Oct 12 10:34:27 XXXX production[2835]: INFO – production: Rendered layout /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/layouts/application.html.haml (Duration: 83.2ms | Allocations: 29049) Oct 12 10:34:27 XXXX production[2835]: FATAL – production: Error caught: [ActionView::Template::Error] undefined method
gsub' for nil:NilClass#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/request_dialog_details.html.haml:31:inopt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d_aapp_views_miq_requestrequest_dialog_details_html_haml1084350341333586826_426020'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/base.rb:247:in
public_send'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/base.rb:247:in_run'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/template.rb:154:in
block in render'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications.rb:205:ininstrument'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/template.rb:345:in
instrument_render_template'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/template.rb:152:inrender'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/partial_renderer.rb:285:in
block in render_partial_template'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:inblock in instrument'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications/instrumenter.rb:24:in
instrument'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:ininstrument'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/partial_renderer.rb:280:in
render_partial_template'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/partial_renderer.rb:271:inrender'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/renderer.rb:81:in
render_partial_to_object'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/renderer.rb:27:inrender_to_object'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/renderer.rb:22:in
render'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/rendering_helper.rb:38:inblock in render'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/base.rb:273:in
in_rendering_context'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/rendering_helper.rb:34:inrender'#012/opt/manageiq/manageiq-gemset/gems/jquery-rjs-0.1.1.3/lib/jquery-rjs/rendering.rb:9:in
block inblock (4 levels) in __opt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d_aapp_views_miq_requestst_prov_show_html_haml_732910857175166208_425620'#012/opt/manageiq/manageiq-gemset/gems/activerecord-6.1.7/lib/active_record/relation/delegation.rb:88:in
each'#012/opt/manageiq/manageiq-gemset/gems/activerecord-6.1.7/lib/active_record/relation/delegation.rb:88:ineach'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/_st_prov_show.html.haml:29:in
block (3 levels) in opt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d_aapp_views_miq_requestst_prov_show_html_haml_732910857175166208_425620'#012/opt/manageiq/manageiq-gemset/gems/activerecord-6.1.7/lib/active_record/relation/delegation.rb:88:ineach'#012/opt/manageiq/manageiq-gemset/gems/activerecord-6.1.7/lib/active_record/relation/delegation.rb:88:in
each'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/_st_prov_show.html.haml:23:in `block (2 levels) in opt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d_aapp_views_miq_requestst_prov_show_html_haml_732910857175166208_425620'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/helpers/application_helper.rb:1149:inblock in miq_tab_content'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/capture_helper.rb:45:in
block in capture'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/capture_helper.rb:209:inwith_output_buffer'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/capture_helper.rb:45:in
capture'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/tag_helper.rb:342:incontent_tag'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/helpers/application_helper.rb:1148:in
miq_tab_content'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/_st_prov_show.html.haml:22:inblock in __opt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d_aapp_views_miq_requestst_prov_show_html_haml_732910857175166208_425620'#012/opt/manageiq/manageiq-gemset/gems/activerecord-6.1.7/lib/active_record/relation/delegation.rb:88:in
each'#012/opt/manageiq/manageiq-gemset/gems/activerecord-6.1.7/lib/active_record/relation/delegation.rb:88:ineach'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/_st_prov_show.html.haml:20:in
each_with_index'#012/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/miq_request/_st_prov_show.html.haml:20:inopt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d_aapp_views_miq_requestst_prov_show_html_haml_732910857175166208_425620'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/base.rb:247:in
public_send'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/base.rb:247:in_run'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/template.rb:154:in
block in render'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications.rb:205:ininstrument'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/template.rb:345:in
instrument_render_template'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/template.rb:152:inrender'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/partial_renderer.rb:285:in
block in render_partial_template'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:inblock in instrument'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications/instrumenter.rb:24:in
instrument'#012/opt/manageiq/manageiq-gemset/gems/activesupport-6.1.7/lib/active_support/notifications.rb:203:ininstrument'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/partial_renderer.rb:280:in
render_partial_template'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/partial_renderer.rb:271:inrender'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/renderer.rb:81:in
render_partial_to_object'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/renderer.rb:27:inrender_to_object'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/renderer/renderer.rb:22:in
render'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/rendering_helper.rb:38:inblock in render'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/base.rb:273:in
in_rendering_context'#012/opt/manageiq/manageiq-gemset/gems/actionview-6.1.7/lib/action_view/helpers/rendering_helper.rb:34:inrender'#012/opt/manageiq/manageiq-gemset/gems/jquery-rjs-0.1.1.3/lib/jquery-rjs/rendering.rb:9:in
block inopt_manageiq_manageiq_gemset_bundler_gems_manageiq_ui_classic_ca_f_ad_d Oct 12 10:34:27 XXXX production[2835]: INFO – production: Rendered /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/layouts/exception.html.haml within layouts/application (Duration: 0.5ms | Allocations: 294) Oct 12 10:34:27 XXXX production[2835]: INFO – production: Rendered layout /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-ca2f0ad3d9a2/app/views/layouts/application.html.haml (Duration: 16.7ms | Allocations: 22220) Oct 12 10:34:27 XXXX production[2835]: INFO – production: Completed 500 Internal Server Error in 230ms (Views: 16.8ms | ActiveRecord: 27.2ms | Allocations: 183144)
no other windows are open.