Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1721617

Summary: CVO should have clean-up mechanism to limit finished updatepayload jobs
Product: OpenShift Container Platform Reporter: Jeremiah Stuever <jstuever>
Component: InstallerAssignee: Jeremiah Stuever <jstuever>
Installer sub component: openshift-installer QA Contact: liujia <jiajliu>
Status: CLOSED DEFERRED Docs Contact:
Severity: medium    
Priority: medium CC: adahiya, aos-bugs, bleanhar, crawford, erich, jiajliu, jokerman, jstuever, jupierce, mmccomas, sponnaga, wking
Version: 4.1.0Keywords: Reopened
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: 4.1.5
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1665011 Environment:
Last Closed: 2019-11-11 17:26:06 UTC Type: ---
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: 1665011    
Bug Blocks:    

Comment 1 Jeremiah Stuever 2019-06-18 17:48:32 UTC
*** Bug 1718559 has been marked as a duplicate of this bug. ***

Comment 3 Brenton Leanhardt 2019-07-08 17:46:26 UTC
This is fixed in 4.2.

Comment 4 Brenton Leanhardt 2019-07-08 17:59:11 UTC
This isn't something customers should hit outside of disconnected installs.  Should the problem happen for 4.1 customers we can reconsider the backport.  We weren't able to determine a great way to CI this on 4.1 so it didn't reach the bar for an errata release.  The workaround is simply to delete the jobs.

Comment 5 Jeremiah Stuever 2019-10-16 16:51:12 UTC
*** Bug 1762187 has been marked as a duplicate of this bug. ***

Comment 7 liujia 2019-10-24 03:31:29 UTC
Version: 4.1.0-0.nightly-2019-10-23-161901

# oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.1.0-0.nightly-2019-10-23-161901   True        False         2m18s   Cluster version is 4.1.0-0.nightly-2019-10-23-161901

update to an unavailable image
# ./oc adm upgrade --to-image registry.svc.ci.openshift.org/ocp/release@sha256:7dc8e842fdf8e18dc5f320226da230c015969e3784ed1bbe653ecb13d6b47f11 --allow-explicit-upgrade --force
Updating to release image registry.svc.ci.openshift.org/ocp/release@sha256:7dc8e842fdf8e18dc5f320226da230c015969e3784ed1bbe653ecb13d6b47f11

# ./oc adm upgrade
info: An upgrade is in progress. Working towards registry.svc.ci.openshift.org/ocp/release@sha256:7dc8e842fdf8e18dc5f320226da230c015969e3784ed1bbe653ecb13d6b47f11: downloading update

warning: Cannot display available updates:
  Reason: RemoteFailed
  Message: Unable to retrieve available updates: currently installed version 4.1.0-0.nightly-2019-10-23-161901 not found in the "stable-4.1" channel

check the update job keep increase.
[root@preserve-jliu-worker tmp]# oc get job
NAME             COMPLETIONS   DURATION   AGE
version--58s24   0/1           14m        14m
version--l5s9t   0/1           4m36s      4m36s
version--rfbh6   0/1           9m54s      9m54s
[root@preserve-jliu-worker tmp]# oc get job
NAME             COMPLETIONS   DURATION   AGE
version--58s24   0/1           21m        21m
version--9v49g   0/1           22s        22s
version--9zp4b   0/1           5m51s      5m51s
version--l5s9t   0/1           11m        11m
version--rfbh6   0/1           16m        16m
[root@preserve-jliu-worker tmp]# 
[root@preserve-jliu-worker tmp]# oc get job
NAME             COMPLETIONS   DURATION   AGE
version--58s24   0/1           32m        32m
version--9v49g   0/1           11m        11m
version--9xkw6   0/1           6m20s      6m20s
version--9zp4b   0/1           16m        16m
version--l5s9t   0/1           22m        22m
version--rfbh6   0/1           27m        27m