Bug 1597206 - [free-stg]image prune policy doesn't take effect [NEEDINFO]
Summary: [free-stg]image prune policy doesn't take effect
Keywords:
Status: NEW
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: yasun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-02 08:57 UTC by HugoNgai
Modified: 2023-05-15 19:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
yasun: needinfo? (abhgupta)


Attachments (Terms of Use)

Description HugoNgai 2018-07-02 08:57:26 UTC
Description of problem:
image prune policy doesn't take effect

Version-Release number of selected component (if applicable):
oc v3.10.0-0.66.0
kubernetes v1.10.0+b81c8f8

How reproducible:
Always

Steps to Reproduce:
1.Make a bc
$ oc new-build centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-
world.git --name=mytest
2.Make 7builds in sum
3.Check the images
  $oc describe is mytest

Actual results:
  No image was pruned.

Expected results:
  Should only keep 5 most recent revisions of the "latest" istag. The oldest
one should be pruned and not shown.

Additional info:

Comment 1 yasun 2018-07-04 06:55:28 UTC
I prepared the data yesterday morning, and checked the results several times when I was still in the office, and found the prune was finally worked today, ONLY 5 most recent revisions is kept.  

@abhgupta For the prune job is a cron job configured on the machine, do you know the clear time


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