Bug 1806865
| Summary: | No expected option "--prune-registry" for the image pruner CronJob | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wenjing Zheng <wzheng> |
| Component: | Image Registry | Assignee: | Corey Daley <cdaley> |
| Status: | CLOSED ERRATA | QA Contact: | Wenjing Zheng <wzheng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.4 | CC: | aos-bugs |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| 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: | 2020-05-04 11:39:48 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: | |||
Verified on 4.4.0-0.nightly-2020-02-26-185356:
Args:
adm
prune
images
--certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt
--keep-tag-revisions=3
--keep-younger-than=60m
--prune-registry=true
--confirm=true
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/RHBA-2020:0581 |
Description of problem: No expected option "--prune-registry" for the image pruner CronJob: $ oc describe cronjob.batch/image-pruner Name: image-pruner Namespace: openshift-image-registry Labels: <none> Annotations: imageregistry.operator.openshift.io/checksum: sha256:81f7919c18823bfd1f1747bbe45d057b122dc99428da7e82d87588a4f2693c48 Schedule: 0 0 * * * Concurrency Policy: Forbid Suspend: False Successful Job History Limit: 3 Failed Job History Limit: 3 Starting Deadline Seconds: 60s Selector: <unset> Parallelism: <unset> Completions: <unset> Pod Template: Labels: <none> Service Account: pruner Containers: image-pruner: Image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a0722ffbd0d2f9a735b48294fff0da48bde21725fa8caf60e337e120e1ac0539 Port: <none> Host Port: <none> Command: oc Args: adm prune images --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt --keep-tag-revisions=3 --keep-younger-than=60m --confirm=true Version-Release number of selected component (if applicable): 4.4.0-0.nightly-2020-02-24-020331 How reproducible: Always Steps to Reproduce: 1.$ oc describe cronjob.batch/image-pruner 2. 3. Actual results: No option "--prune-registry". Expected results: There should be according to https://github.com/openshift/enhancements/blob/master/enhancements/image-registry/automate-pruning.md#implementation-detailsnotesconstraints Additional info: