Bug 1484549 - [RFE] Add config option to skip container_images
Summary: [RFE] Add config option to skip container_images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.7.4
Assignee: Adam Grare
QA Contact: Jaroslav Henner
URL:
Whiteboard:
Depends On: 1484544
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-23 20:24 UTC by Satoe Imaishi
Modified: 2022-07-09 08:58 UTC (History)
6 users (show)

Fixed In Version: 5.7.4.0
Doc Type: Enhancement
Doc Text:
Clone Of: 1484544
Environment:
Last Closed: 2017-12-18 20:29:09 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3484 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-12-19 01:24:16 UTC

Comment 2 Jaroslav Henner 2017-10-05 14:39:33 UTC
Version 5.7.4.0.20170913182424_63a1e18 

I configured

  :openshift:
    :get_container_images: false
    :refresh_interval: 15.minutes
    :store_unused_images: true
  :openshift_enterprise:
    :get_container_images: false
    :refresh_interval: 15.minutes
    :store_unused_images: true

In the web ui, re-added provider and I can see 12 Container Images after the refresh is completed. Restarting evmd and re-adding+refreshing the provider didn't help either -- the images are still being loaded.

Comment 3 Adam Grare 2017-10-05 16:40:50 UTC
Hi Jaroslav, get_container_images just skips collecting images from openshift.  We will still include images that are in-use by active containers based on information we get from kubernetes.  The biggest things that will be missing if you turn off get_container_images will be openshift labels and images which are unused.

Comment 4 Jaroslav Henner 2017-10-26 09:53:16 UTC
(In reply to Adam Grare from comment #3)
> Hi Jaroslav, get_container_images just skips collecting images from
> openshift.  We will still include images that are in-use by active
> containers based on information we get from kubernetes.  The biggest things
> that will be missing if you turn off get_container_images will be openshift
> labels and images which are unused.

In addition I configured the store_unused_images: false

 Version 5.7.4.0.20170913182424_63a1e18 

  :openshift:
    :get_container_images: false
    :refresh_interval: 1.minutes
    :store_unused_images: false
  :openshift_enterprise:
    :get_container_images: false
    :refresh_interval: 1.minutes
    :store_unused_images: false

List of images shrunk to only used ones. I think this is OK.

Comment 7 errata-xmlrpc 2017-12-18 20:29:09 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://access.redhat.com/errata/RHSA-2017:3484


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