Bug 1861605 - there is newline for explanation of status of Operator resource
Summary: there is newline for explanation of status of Operator resource
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.0
Assignee: Evan Cordell
QA Contact: kuiwang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-29 02:43 UTC by kuiwang
Modified: 2020-10-27 16:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:21:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework api pull 59 0 None closed Bug 1861605: Reduce length of explanation of status of Operator resource 2020-08-31 09:09:31 UTC
Github operator-framework operator-lifecycle-manager pull 1713 0 None closed Bug 1861605: Reduce length of explanation of status of Operator resource 2020-08-31 09:09:31 UTC
Github operator-framework operator-lifecycle-manager pull 1720 0 None closed Bug 1861605: Update manifests to include the bug fix 2020-08-31 09:09:30 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:21:40 UTC

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


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