Bug 1403354 - Cannot analyze non docker images
Summary: Cannot analyze non docker images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.4
Assignee: Erez Freiberger
QA Contact: Pavel Zagalsky
URL:
Whiteboard: container:smartstate
Depends On: 1395632
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-09 19:19 UTC by Satoe Imaishi
Modified: 2020-05-14 15:28 UTC (History)
14 users (show)

Fixed In Version: 5.6.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1395632
Environment:
Last Closed: 2017-03-09 17:05:14 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0474 0 normal SHIPPED_LIVE CFME 5.6.4 bug fixes and enhancement update 2017-03-09 22:03:14 UTC

Comment 2 Erez Freiberger 2016-12-14 08:26:51 UTC
Backport to Darga PR https://github.com/ManageIQ/manageiq/pull/13142

Comment 3 Pavel Zagalsky 2017-02-02 15:02:54 UTC
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]

Comment 4 Federico Simoncelli 2017-02-02 15:27:24 UTC
Erez please look at Pavel's comment 3 and work with him to investigate the issue.

Comment 5 Pavel Zagalsky 2017-02-02 16:41:06 UTC
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]

Comment 7 Pavel Zagalsky 2017-02-05 09:35:08 UTC
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

Comment 8 Pavel Zagalsky 2017-02-05 09:58:02 UTC
Something was misconfigured.
Verified now

Comment 10 errata-xmlrpc 2017-03-09 17:05:14 UTC
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


Note You need to log in before you can comment on or make changes to this bug.