ManageIQ 刷新不起作用(错误 "Not allowing worker")
ManageIQ refreshing not working (error "Not allowing worker")
我用ManageIQ制作了openshift监控实例。连接openshift成功
但是刷新openshift监控没有用。 openshift 变量在仪表板上不显示任何内容。这些是 ManageIQ 日志的 evm.log。
ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [ManageIQ::Providers::Openshift::ContainerManager::RefreshWorker] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:47.397906 #211:2b001244513c] INFO -- : MIQ(ManageIQ::Providers::Openshift::ContainerManager::EventCatcher.sync_workers) Workers are being synchronized: Current: [], Desired: ["ems_2"]
[----] E, [2017-05-27T06:15:47.398280 #211:2b001244513c] ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [ManageIQ::Providers::Openshift::ContainerManager::EventCatcher] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:47.415801 #211:2b001244513c] INFO -- : MIQ(MiqGenericWorker.sync_workers) Workers are being synchronized: Current #: [1], Desired #: [2]
[----] E, [2017-05-27T06:15:47.416125 #211:2b001244513c] ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [MiqGenericWorker] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:47.420465 #211:2b001244513c] INFO -- : MIQ(MiqReportingWorker.sync_workers) Workers are being synchronized: Current #: [0], Desired #: [2]
[----] E, [2017-05-27T06:15:47.420838 #211:2b001244513c] ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [MiqReportingWorker] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:49.532827 #479:2b001244513c] INFO -- : MIQ(MiqScheduleWorker::Runner#do_work) Number of scheduled items to be processed: 1.
[----] I, [2017-05-27T06:15:49.546516 #479:2b001244513c] INFO -- : MIQ(MiqQueue.put) Message id: [929], id: [], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: []
由于 Manage IQ 服务器上的资源不足,负责刷新的工作程序似乎根本没有启动。如果您的交换区已满 60%(从日志中可以看出),那么服务已经用完了您的所有 RAM。
您可以在此处获取每种类型服务器(Vagrant、Docker、Public 云)的基本 ManageIQ 服务器要求:http://manageiq.org/docs/get-started
我用ManageIQ制作了openshift监控实例。连接openshift成功
但是刷新openshift监控没有用。 openshift 变量在仪表板上不显示任何内容。这些是 ManageIQ 日志的 evm.log。
ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [ManageIQ::Providers::Openshift::ContainerManager::RefreshWorker] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:47.397906 #211:2b001244513c] INFO -- : MIQ(ManageIQ::Providers::Openshift::ContainerManager::EventCatcher.sync_workers) Workers are being synchronized: Current: [], Desired: ["ems_2"]
[----] E, [2017-05-27T06:15:47.398280 #211:2b001244513c] ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [ManageIQ::Providers::Openshift::ContainerManager::EventCatcher] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:47.415801 #211:2b001244513c] INFO -- : MIQ(MiqGenericWorker.sync_workers) Workers are being synchronized: Current #: [1], Desired #: [2]
[----] E, [2017-05-27T06:15:47.416125 #211:2b001244513c] ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [MiqGenericWorker] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:47.420465 #211:2b001244513c] INFO -- : MIQ(MiqReportingWorker.sync_workers) Workers are being synchronized: Current #: [0], Desired #: [2]
[----] E, [2017-05-27T06:15:47.420838 #211:2b001244513c] ERROR -- : MIQ(MiqServer#start_algorithm_used_swap_percent_lt_value) Not allowing worker [MiqReportingWorker] to start since system memory usage has exceeded 60% of swap: Total: [1073737728], Used: [846049280]
[----] I, [2017-05-27T06:15:49.532827 #479:2b001244513c] INFO -- : MIQ(MiqScheduleWorker::Runner#do_work) Number of scheduled items to be processed: 1.
[----] I, [2017-05-27T06:15:49.546516 #479:2b001244513c] INFO -- : MIQ(MiqQueue.put) Message id: [929], id: [], Zone: [default], Role: [smartstate], Server: [], Ident: [generic], Target id: [], Instance id: [], Task id: [job_dispatcher], Command: [JobProxyDispatcher.dispatch], Timeout: [600], Priority: [20], State: [ready], Deliver On: [], Data: [], Args: []
由于 Manage IQ 服务器上的资源不足,负责刷新的工作程序似乎根本没有启动。如果您的交换区已满 60%(从日志中可以看出),那么服务已经用完了您的所有 RAM。
您可以在此处获取每种类型服务器(Vagrant、Docker、Public 云)的基本 ManageIQ 服务器要求:http://manageiq.org/docs/get-started