From ff39526599465a2f815d95f582ff0f245b9cc0bd Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Mon, 31 Aug 2020 09:34:51 -0400 Subject: [PATCH] Merge pull request #20497 from agrare/smart_proxy_worker_not_running_in_podified MiqSmartProxyWorker not running in Podified (cherry picked from commit ff7f15bccf2c2c08843bc206bc2a63b5de06b96d) --- app/models/miq_smart_proxy_worker.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/models/miq_smart_proxy_worker.rb b/app/models/miq_smart_proxy_worker.rb index cac00ca3279..fd5e8121ddc 100644 --- a/app/models/miq_smart_proxy_worker.rb +++ b/app/models/miq_smart_proxy_worker.rb @@ -1,9 +1,15 @@ class MiqSmartProxyWorker < MiqQueueWorkerBase + include MiqWorker::ReplicaPerWorker + require_nested :Runner self.required_roles = ["smartproxy"] self.default_queue_name = "smartproxy" + def self.supports_container? + true + end + def self.kill_priority MiqWorkerType::KILL_PRIORITY_SMART_PROXY_WORKERS end