Bug 1837936
| Summary: | Failed to create wmco catalogsource | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | gaoshang <sgao> |
| Component: | Windows Containers | Assignee: | Pratik Mahajan <pmahajan> |
| Status: | CLOSED ERRATA | QA Contact: | gaoshang <sgao> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | aos-bugs, aravindh, gmarkley, rgudimet |
| 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: | Environment: | ||
| Last Closed: | 2020-07-13 17:40:28 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: | |||
|
Description
gaoshang
2020-05-20 08:51:32 UTC
catalog source should pull the index image in place of bundle image in step 4 ``` sed -i "s/REPLACE_IMAGE/quay.io\/sgaoshang\/wmco-bundle:1.0.0/g" deploy/olm-catalog/catalogsource.yaml ``` it needs to be `wmco-index` but is `wmco-bundle` PR is up to make readme more clear to understand (In reply to Pratik Mahajan from comment #2) > in step 4 > ``` > sed -i "s/REPLACE_IMAGE/quay.io\/sgaoshang\/wmco-bundle:1.0.0/g" > deploy/olm-catalog/catalogsource.yaml > ``` > > it needs to be `wmco-index` but is `wmco-bundle` > PR is up to make readme more clear to understand Thanks for your notice and update on readme, create wmco catalogsource succeed now. Version: # oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.5.0-0.nightly-2020-06-01-043833 True False 48m Cluster version is 4.5.0-0.nightly-2020-06-01-043833 Step 4. # oc apply -f deploy/olm-catalog/catalogsource.yaml catalogsource.operators.coreos.com/wmco created # oc describe catalogsource wmco -n openshift-marketplace Name: wmco Namespace: openshift-marketplace Labels: <none> Annotations: kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"operators.coreos.com/v1alpha1","kind":"CatalogSource","metadata":{"annotations":{},"name":"wmco","namespace":"openshift-mar... API Version: operators.coreos.com/v1alpha1 Kind: CatalogSource Metadata: Creation Timestamp: 2020-06-01T11:03:51Z Generation: 1 Managed Fields: API Version: operators.coreos.com/v1alpha1 Fields Type: FieldsV1 fieldsV1: f:metadata: f:annotations: .: f:kubectl.kubernetes.io/last-applied-configuration: f:spec: .: f:displayName: f:image: f:sourceType: f:updateStrategy: .: f:registryPoll: Manager: oc Operation: Update Time: 2020-06-01T11:03:51Z API Version: operators.coreos.com/v1alpha1 Fields Type: FieldsV1 fieldsV1: f:spec: f:icon: .: f:base64data: f:mediatype: f:updateStrategy: f:registryPoll: f:interval: f:status: .: f:connectionState: .: f:address: f:lastConnect: f:lastObservedState: f:latestImageRegistryPoll: f:registryService: .: f:createdAt: f:port: f:protocol: f:serviceName: f:serviceNamespace: Manager: catalog Operation: Update Time: 2020-06-01T11:09:11Z Resource Version: 38144 Self Link: /apis/operators.coreos.com/v1alpha1/namespaces/openshift-marketplace/catalogsources/wmco UID: ee987f86-940c-42e7-bf41-f8cd13bc11c9 Spec: Display Name: Windows Machine Config operators Image: quay.io/sgaoshang/wmco-index:1.0.0 Source Type: grpc Update Strategy: Registry Poll: Interval: 5m Status: Connection State: Address: wmco.openshift-marketplace.svc:50051 Last Connect: 2020-06-01T11:09:11Z Last Observed State: READY Latest Image Registry Poll: 2020-06-01T11:08:54Z Registry Service: Created At: 2020-06-01T11:03:51Z Port: 50051 Protocol: grpc Service Name: wmco Service Namespace: openshift-marketplace Events: <none> 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 |