Bug 1800460
Summary: | ose-operator-registry:v4.3.1-202002032140 unavailable as the base image | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> | |
Component: | OLM | Assignee: | Evan Cordell <ecordell> | |
OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | high | CC: | bandrade, kuiwang, nhale, scolange, tbuskey | |
Version: | 4.4 | |||
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1805409 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:14:10 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: | ||||
Bug Blocks: | 1805409, 1805747 |
Description
Jian Zhang
2020-02-07 07:08:38 UTC
The dockerfile used for that image does not have the entrypoint that is required for the layering that oc adm catalog performs. The linked PR fixes this. To verify it, the steps I took: - docker build -t quay.io/ecordell/registry:base . - docker push quay.io/ecordell/registry:base - (seperate shell): docker run -p 5000:5000 registry - ./oc adm --loglevel=8 catalog build --appregistry-org=redhat-operators --from=quay.io/ecordell/registry:base --to=localhost:5000/olm/base:v1 --insecure - docker run localhost:5000/olm/base:v1 - docker run localhost:5000/olm/base:v1 Unable to find image 'localhost:5000/olm/base:v1' locally v1: Pulling from olm/base c2340472a0fa: Already exists 6e55351c18ff: Already exists b2d2704dda6c: Already exists a2c10be042b9: Already exists c650d4d4cf8a: Already exists 2804688251cb: Already exists 0d2ab85019d9: Already exists 9afbae6f1d65: Already exists 70ab7e77a35d: Already exists 5f49b5ca33af: Already exists ba0de53c229d: Already exists 8b57fc6f3912: Already exists 82871cb69ec5: Pull complete Digest: sha256:41844725de56431b94775d628cc83495bdf5955cbaa091e1f5f11236734a1b8d Status: Downloaded newer image for localhost:5000/olm/base:v1 time="2020-02-20T18:06:29Z" level=warning msg="unable to set termination log path" error="open /dev/termination-log: permission denied" time="2020-02-20T18:06:29Z" level=info msg="serving registry" database=/bundles.db port=50051 When the PR merges, this process should also work for `--from=<ose operator registry image from master>` 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:2409 |