Bug 1732745 - CatalogSource local-storage-manifests missing publisher field.
Summary: CatalogSource local-storage-manifests missing publisher field.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.0
Assignee: Hemant Kumar
QA Contact: Liang Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-24 09:11 UTC by Liang Xia
Modified: 2019-10-16 06:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:31:18 UTC

Description Liang Xia 2019-07-24 09:11:04 UTC
Description of problem:
CatalogSource local-storage-manifests missing publisher field.


Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-07-21-222447
quay.io/gnufied/local-registry:v4.2.0


How reproducible:
Always


Steps to Reproduce:
1. Deploy local-storage operator.
2. Check catalogsource.


Actual results:
$ oc get catalogsources.operators.coreos.com 
NAME                       TYPE   PUBLISHER   AGE
local-storage-manifests    grpc               32m


Expected results:
We have proper values for CatalogSource local-storage-manifests


Additional info:
$ oc get catalogsources.operators.coreos.com  local-storage-manifests -o yaml
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1alpha1","kind":"CatalogSource","metadata":{"annotations":{},"name":"local-storage-manifests","namespace":"my-local-storage"},"spec":{"image":"quay.io/gnufied/local-registry:v4.2.0","sourceType":"grpc"}}
  creationTimestamp: "2019-07-24T07:54:11Z"
  generation: 1
  name: local-storage-manifests
  namespace: my-local-storage
  resourceVersion: "845438"
  selfLink: /apis/operators.coreos.com/v1alpha1/namespaces/my-local-storage/catalogsources/local-storage-manifests
  uid: 3918f5fd-ade8-11e9-8aab-000d3a916281
spec:
  image: quay.io/gnufied/local-registry:v4.2.0
  sourceType: grpc
status:
  lastSync: "2019-07-24T07:54:22Z"
  registryService:
    createdAt: "2019-07-24T07:54:11Z"
    port: "50051"
    protocol: grpc
    serviceName: local-storage-manifests
    serviceNamespace: my-local-storage

Comment 1 Hemant Kumar 2019-07-24 18:53:39 UTC
I have opened https://github.com/openshift/local-storage-operator/pull/37 to fix the display of catalog registry created from documented example. In the long term though, this operator will be automatically available in OLM and catalog linked in - https://github.com/openshift/local-storage-operator/blob/master/examples/olm/catalog-create-subscribe.yaml is just for example purpose.

Comment 3 Liang Xia 2019-07-25 01:39:01 UTC
Now I got,

$ oc get catalogsources --all-namespaces 
NAMESPACE               NAME                      NAME                     TYPE   PUBLISHER   AGE
my-local-storage        local-storage-manifests   Local Storage Operator   grpc   redhat      0s
openshift-marketplace   certified-operators       Certified Operators      grpc   Red Hat     2d23h
openshift-marketplace   community-operators       Community Operators      grpc   Red Hat     2d23h
openshift-marketplace   redhat-operators          Red Hat Operators        grpc   Red Hat     2d23h


I believe the PUBLISHER should be "Red Hat".
Opened PR https://github.com/openshift/local-storage-operator/pull/38 to fix the company name.

Comment 4 Liang Xia 2019-07-25 02:26:37 UTC
Now I got,

$ oc get catalogsources --all-namespaces 
NAMESPACE               NAME                      NAME                     TYPE   PUBLISHER   AGE
my-local-storage        local-storage-manifests   Local Storage Operator   grpc   Red Hat     35s
openshift-marketplace   certified-operators       Certified Operators      grpc   Red Hat     3d
openshift-marketplace   community-operators       Community Operators      grpc   Red Hat     3d
openshift-marketplace   redhat-operators          Red Hat Operators        grpc   Red Hat     3d


The issue is fixed.


Note:
Two columns show NAME is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1702552

Comment 5 errata-xmlrpc 2019-10-16 06:31:08 UTC
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-2019:2922


Note You need to log in before you can comment on or make changes to this bug.