Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1484549 - [RFE] Add config option to skip container_images
[RFE] Add config option to skip container_images
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.7.0
Unspecified Unspecified
unspecified Severity medium
: GA
: 5.7.4
Assigned To: Adam Grare
Jaroslav Henner
: FutureFeature, ZStream
Depends On: 1484544
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-23 16:24 EDT by Satoe Imaishi
Modified: 2017-12-18 15:29 EST (History)
6 users (show)

See Also:
Fixed In Version: 5.7.4.0
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1484544
Environment:
Last Closed: 2017-12-18 15:29:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3484 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-12-18 20:24:16 EST

  None (edit)
Comment 2 Jaroslav Henner 2017-10-05 10:39:33 EDT
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 12:40:50 EDT
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 05:53:16 EDT
(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 15:29:09 EST
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.