Actions
Bug #21243
closedRails 5 - Replace alias_method_chain with Module prepend
Description
After we replaced alias_method_chain in remote execution, we're hitting
this when katello around. We're releasing 1.3.5 rex with reverting
the original patch (for 1.15/1.16) but in nightlies, the katello
should get rid or alias_mathod_chain as well, as those two don't work nicely
together
2017-10-09 07:12:07 8c03e5df [app] [I] Started PUT "/api/v2/smart_proxies/1/refresh" for 192.168.121.75 at 2017-10-09 07:12:07 +0000 2017-10-09 07:12:07 8c03e5df [app] [I] Processing by Api::V2::SmartProxiesController#refresh as JSON 2017-10-09 07:12:07 8c03e5df [app] [I] Parameters: {"apiv"=>"v2", "id"=>"1", "smart_proxy"=>{}} 2017-10-09 07:12:07 8c03e5df [app] [I] Authorized user foreman_api_admin(API Admin) 2017-10-09 07:12:07 8c03e5df [app] [I] Current user: foreman_api_admin (administrator) 2017-10-09 07:12:07 8c03e5df [app] [I] Completed 500 Internal Server Error in 19ms (ActiveRecord: 1.8ms) 2017-10-09 07:12:08 8c03e5df [app] [F] | SystemStackError (stack level too deep): | katello (3.4.5.6) app/models/katello/concerns/smart_proxy_extensions.rb:80:in `refresh_with_puppet_path' | foreman_remote_execution (1.3.4) app/models/concerns/foreman_remote_execution/smart_proxy_extensions.rb:15:in `refresh' | katello (3.4.5.6) app/models/katello/concerns/smart_proxy_extensions.rb:80:in `refresh_with_puppet_path' | foreman_remote_execution (1.3.4) app/models/concerns/foreman_remote_execution/smart_proxy_extensions.rb:15:in `refresh'
Actions