Bug 1552591

Summary: [RFE][Glance] Hide old images from default image-list
Product: Red Hat OpenStack Reporter: Christian Schwede (cschwede) <cschwede>
Component: openstack-glanceAssignee: Abhishek Kekane <akekane>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: medium Docs Contact: James Smith <jamsmith>
Priority: medium    
Version: 14.0 (Rocky)CC: akekane, cyril, eglynn, fpercoco, jamsmith, mabrams, mariel, pgrist, scohen, shrjoshi, slinaber, srevivo, tshefi
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-glance-17.0.1-0.20180907132433.0291283.el7ost python-glanceclient-2.12.1-0.20180809131524.b79154c.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1640760 (view as bug list) Environment:
Last Closed: 2019-01-11 11:48:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1641597    
Bug Blocks: 1640760    

Description Christian Schwede (cschwede) 2018-03-07 12:14:06 UTC
Operators need a way to hide outdated images from users, while at the same time images should still be usable.

From the proposed spec:

"Cloud operators supply *public images* that can be used by end users to boot
servers.  An example is an image containing the CentOS 7 operating system.
Such images must be updated as security concerns, etc., are addressed.  In
Glance, however, image data is immutable, so each update results in a new
public image.  Further, operators do not want to delete the "old" public
images, as end users may require them for different use cases like server
rebuilds.  As a result, the default image-list for end users becomes very
large.  Further, the default image-list may contain multiple CentOS 7 images,
for example, making it difficult for end users to determine which image to
use."

Comment 22 errata-xmlrpc 2019-01-11 11:48:58 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/RHEA-2019:0045