Backport to Darga PR https://github.com/ManageIQ/manageiq/pull/13142
I am getting the following error on 5.6.4 with a OSE 3.3 Provider: [----] E, [2017-02-02T09:56:04.923116 #4913:11cb988] ERROR -- : Q-task_id([ce5d651e-e956-11e6-9963-001a4a450103]) MIQ(MiqQueue#deliver) Message id: [952], timed out after 155.332720309 seconds. Timeout threshold [600] [----] E, [2017-02-02T09:56:04.969502 #4913:11cb988] ERROR -- : Q-task_id([ce5d651e-e956-11e6-9963-001a4a450103]) MIQ(MiqPriorityWorker::Runner) ID [71] PID [4913] GUID [f10f43f0-e953-11e6-9963-001a4a450103] Exiting worker due to timeout error Worker exiting. [----] E, [2017-02-02T09:58:49.504392 #16915:11cb988] ERROR -- : MIQ(ManageIQ::Providers::OpenshiftEnterprise::ContainerManager::Refresher#refresh) EMS: [CI OSE], id: [2] Refresh failed [----] E, [2017-02-02T09:58:49.504681 #16915:11cb988] ERROR -- : [KubeException]: Timed out reading data from server Method:[rescue in block in refresh] [----] E, [2017-02-02T09:58:49.504766 #16915:11cb988] ERROR -- : /opt/rh/cfme-gemset/gems/kubeclient-1.2.0/lib/kubeclient/common.rb:71:in `rescue in handle_exception' [----] E, [2017-02-02T09:58:49.504852 #16915:11cb988] ERROR -- : MIQ(ManageIQ::Providers::OpenshiftEnterprise::ContainerManager::Refresher#refresh) EMS: [CI OSE], id: [2] Unable to perform refresh for the following targets: [----] E, [2017-02-02T09:58:49.504975 #16915:11cb988] ERROR -- : MIQ(ManageIQ::Providers::OpenshiftEnterprise::ContainerManager::Refresher#refresh) --- ManageIQ::Providers::OpenshiftEnterprise::ContainerManager [CI OSE] id [2] [----] E, [2017-02-02T09:58:49.518154 #16915:11cb988] ERROR -- : MIQ(MiqQueue#deliver) Message id: [938], Error: [HTTP status code , Timed out reading data from server] [----] E, [2017-02-02T09:58:49.518368 #16915:11cb988] ERROR -- : [EmsRefresh::Refreshers::EmsRefresherMixin::PartialRefreshError]: HTTP status code , Timed out reading data from server Method:[rescue in deliver] [----] E, [2017-02-02T09:58:49.518557 #16915:11cb988] ERROR -- : /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:50:in `refresh' [----] E, [2017-02-02T09:59:02.641261 #5398:11cb988] ERROR -- : MIQ(ManageIQ::Providers::Kubernetes::ContainerManager::Scanning::Job#process_abort) job aborting, job timed out after 332.595563229 seconds of inactivity. Inactivity threshold [300 seconds]
Erez please look at Pavel's comment 3 and work with him to investigate the issue.
After additional scan I got the following errors: [----] E, [2017-02-02T11:08:52.192594 #4828:105598c] ERROR -- : Q-task_id([de2a0e9c-e961-11e6-ae98-001a4a43019f]) MIQ(MiqQueue#deliver) Message id: [716], Error: [undefined method `custom_attributes' for #<ManageIQ::Providers::OpenshiftEnterprise::ContainerManager:0x00000012362ec0>] [----] E, [2017-02-02T11:08:52.193210 #4828:105598c] ERROR -- : Q-task_id([de2a0e9c-e961-11e6-ae98-001a4a43019f]) [NoMethodError]: undefined method `custom_attributes' for #<ManageIQ::Providers::OpenshiftEnterprise::ContainerManager:0x00000012362ec0> Method:[rescue in deliver] [----] E, [2017-02-02T11:08:52.193322 #4828:105598c] ERROR -- : Q-task_id([de2a0e9c-e961-11e6-ae98-001a4a43019f]) /opt/rh/cfme-gemset/gems/activemodel-5.0.0.1/lib/active_model/attribute_methods.rb:433:in `method_missing' [----] E, [2017-02-02T11:14:50.274692 #4818:105598c] ERROR -- : MIQ(ManageIQ::Providers::Kubernetes::ContainerManager::Scanning::Job#process_abort) job aborting, job timed out after 355.301682714 seconds of inactivity. Inactivity threshold [300 seconds]
After using a modified job.rb file that was provided by Erez and changning the value of override_containers_scanning_image.rb to: def inspector_image 'brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/image-inspector:2.1-7' I am still failing to analyze non docker images on CFME 5.6.4 against OSE 3.4
Something was misconfigured. Verified now
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0474.html