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

Bug 1861605

Summary: there is newline for explanation of status of Operator resource
Product: OpenShift Container Platform Reporter: kuiwang
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: kuiwang
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: nhale
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.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-10-27 16:21:16 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 kuiwang 2020-07-29 02:43:11 UTC
Description of problem:
When executing "oc explain operator", its output is the following
--
[root@preserve-olm-env bin]# oc explain operator
KIND:     Operator
VERSION:  operators.coreos.com/v2alpha1

DESCRIPTION:
     Operator represents a cluster operator.

FIELDS:
   apiVersion	<string>
     APIVersion defines the versioned schema of this representation of an
     object. Servers should convert recognized schemas to the latest internal
     value, and may reject unrecognized values. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

   kind	<string>
     Kind is a string value representing the REST resource this object
     represents. Servers may infer this from the endpoint the client submits
     requests to. Cannot be updated. In CamelCase. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

   metadata	<Object>
     Standard object's metadata. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

   spec	<map[string]>
     OperatorSpec defines the desired state of Operator

   status	<Object>
     OperatorStatus describes the observed state of an operator and its
     components.
--

There is newline for "OperatorStatus describes the observed state of an operator and its
     components."

Version-Release number of selected component (if applicable):
4.6

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
There is newline for status explanation

Expected results:
the status explanation is one line.

Additional info:

Comment 4 kuiwang 2020-08-10 06:31:30 UTC
verify it on 4.6 cluster. Fail

it seem the commit does not work because the output is same with previous.

--
kuiwang@Kuis-MacBook-Pro 1861605 %  oc get pod -n openshift-operator-lifecycle-manager
NAME                                READY   STATUS    RESTARTS   AGE
catalog-operator-668b454dd8-25lq2   1/1     Running   0          93m
olm-operator-86cb7dd4d-7zcr9        1/1     Running   0          93m
packageserver-6945bcf89-95h5l       1/1     Running   0          92m
packageserver-6945bcf89-d2l5t       1/1     Running   0          92m
kuiwang@Kuis-MacBook-Pro 1861605 % oc exec olm-operator-86cb7dd4d-7zcr9 -n openshift-operator-lifecycle-manager -- olm --version
OLM version: 0.16.0
git commit: 6b95ea35ecec6eb4bd010690983bfcc03197280b


kuiwang@Kuis-MacBook-Pro 1861605 % oc explain operator
KIND:     Operator
VERSION:  operators.coreos.com/v1

DESCRIPTION:
     Operator represents a cluster operator.

FIELDS:
   apiVersion	<string>
     APIVersion defines the versioned schema of this representation of an
     object. Servers should convert recognized schemas to the latest internal
     value, and may reject unrecognized values. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

   kind	<string>
     Kind is a string value representing the REST resource this object
     represents. Servers may infer this from the endpoint the client submits
     requests to. Cannot be updated. In CamelCase. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

   metadata	<Object>
     Standard object's metadata. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

   spec	<map[string]>
     OperatorSpec defines the desired state of Operator

   status	<Object>
     OperatorStatus describes the observed state of an operator and its
     components.


--

Comment 6 kuiwang 2020-08-24 02:09:54 UTC
verify it on 4.6 cluster. LGTM

--
kuiwang@Kuis-MacBook-Pro jb % oc get pod -n openshift-operator-lifecycle-manager
NAME                                READY   STATUS    RESTARTS   AGE
catalog-operator-6b86b7f4d6-p4n5f   1/1     Running   0          24m
olm-operator-7656fb58d4-4jm82       1/1     Running   0          24m
packageserver-684bff9d6d-8zftv      1/1     Running   0          24m
packageserver-684bff9d6d-ctj72      1/1     Running   1          24m
kuiwang@Kuis-MacBook-Pro jb % oc exec olm-operator-7656fb58d4-4jm82 -n openshift-operator-lifecycle-manager -- olm --version
OLM version: 0.16.0
git commit: c3852d57c86707deb80c042c2155ad82c2d9628f
kuiwang@Kuis-MacBook-Pro jb % oc explain operator
KIND:     Operator
VERSION:  operators.coreos.com/v1

DESCRIPTION:
     Operator represents a cluster operator.

FIELDS:
   apiVersion	<string>
     APIVersion defines the versioned schema of this representation of an
     object. Servers should convert recognized schemas to the latest internal
     value, and may reject unrecognized values. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

   kind	<string>
     Kind is a string value representing the REST resource this object
     represents. Servers may infer this from the endpoint the client submits
     requests to. Cannot be updated. In CamelCase. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

   metadata	<Object>
     Standard object's metadata. More info:
     https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

   spec	<map[string]>
     OperatorSpec defines the desired state of Operator

   status	<Object>
     OperatorStatus defines the observed state of an Operator and its components


--

Comment 9 errata-xmlrpc 2020-10-27 16:21:16 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 (OpenShift Container Platform 4.6 GA Images), 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:4196