Description of problem: Setting retirement date for Service or requesting "retire now" via Centralized Administration generates error: ERROR -- : [InterRegionApiMethodRelay::InterRegionApiMethodRelayError]: Got unexpected API result object Hash Method:[block in method_missing] ERROR -- : /var/www/miq/vmdb/app/models/mixins/inter_region_api_method_relay.rb:84:in `exec_api_call' /var/www/miq/vmdb/app/models/mixins/inter_region_api_method_relay.rb:32:in `block (2 levels) in api_relay_method' /var/www/miq/vmdb/app/models/mixins/retirement_mixin.rb:16:in `block in retire' /var/www/miq/vmdb/app/models/mixins/retirement_mixin.rb:14:in `each' /var/www/miq/vmdb/app/models/mixins/retirement_mixin.rb:14:in `retire' /var/www/miq/vmdb/app/models/mixins/process_tasks_mixin.rb:61:in `invoke_tasks_remote' /var/www/miq/vmdb/app/models/mixins/process_tasks_mixin.rb:35:in `invoke_tasks' Notes: - issue exists on both 5.9 and 5.10 but in 5.10 only setting retirement date produces error in log - regardless error in the log file on global region, actual operations on remote region were completed successfully
https://github.com/ManageIQ/manageiq/pull/18210
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1e89ce1fef3682ce8eb23e93ec7868db42ff3836 commit 1e89ce1fef3682ce8eb23e93ec7868db42ff3836 Author: Yuri Rudman <yrudman> AuthorDate: Thu Nov 15 17:04:18 2018 -0500 Commit: Yuri Rudman <yrudman> CommitDate: Thu Nov 15 17:04:18 2018 -0500 accept hash object as result of inter-region api invocation Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1650335 app/models/mixins/inter_region_api_method_relay.rb | 5 + 1 file changed, 5 insertions(+)
New commit detected on ManageIQ/manageiq/hammer: https://github.com/ManageIQ/manageiq/commit/96f2924c85b7ad09eb5095f0688eb64b0e5ac1b5 commit 96f2924c85b7ad09eb5095f0688eb64b0e5ac1b5 Author: Nick Carboni <ncarboni> AuthorDate: Fri Nov 16 15:16:59 2018 -0500 Commit: Nick Carboni <ncarboni> CommitDate: Fri Nov 16 15:16:59 2018 -0500 Merge pull request #18210 from yrudman/accept-hash-object-as-result-of-inter-region-api-invocation Accept Hash object as result of inter region api invocation (cherry picked from commit 0f8599059c5cb192be92e3dc7fbb10382874ba56) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1650335 app/models/mixins/inter_region_api_method_relay.rb | 5 + spec/models/mixins/inter_region_api_method_relay_spec.rb | 5 + 2 files changed, 10 insertions(+)
Verified on 5.10.0.27.