Bug 1597206

Summary: [free-stg]image prune policy doesn't take effect
Product: OpenShift Online Reporter: HugoNgai <yuwei>
Component: WebsiteAssignee: Abhishek Gupta <abhgupta>
Status: NEW --- QA Contact: yasun
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: abhgupta, yasun
Target Milestone: ---Keywords: OnlineStarter
Target Release: ---Flags: yasun: needinfo? (abhgupta)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

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