Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1233511 - Filter the annotations that are shown
Filter the annotations that are shown
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.0.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Jessica Forrester
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-19 01:02 EDT by Tomas Schlosser
Modified: 2017-07-24 10 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-12 15:04:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 18:50:07 EDT

  None (edit)
Description Tomas Schlosser 2015-06-19 01:02:39 EDT
There are very long values that are not very well readable from web console and also no very useful, namely:

openshift.io/encoded-deployment-config (deployment)
kubernetes.io/created-by (pod)
Comment 2 Yanping Zhang 2015-06-19 02:30:46 EDT
$oc version
oc v3.0.0.0-25-g235b0e7
kubernetes v0.17.1-804-g496be63
QE have checked on the latest build, when create app from source repo on web console, the created pod would have a label "generatedby:OpenShiftWebConsole" automatically. In the filter it would show label "generatedby" for pod, it's acceptable.
There is another lable "openshift.io/deployment-config.name" for deployments when do deploy from deploymentconfig, it's a little long, shorter would be better, so suggest this be a feature request bug.
Comment 3 Jessica Forrester 2016-11-17 13:36:01 EST
Most annotations are system information, we make them available for debugging purposes, and we don't want to hide specific annotations. However, to help deal with very long annotation values like the encoded deployment config we will add truncation support that allows for Show All and Collapse.
Comment 5 Troy Dawson 2017-01-20 18:19:28 EST
This has been merged into ocp and is in OCP v3.5.0.7 or newer.
Comment 6 Yadan Pei 2017-01-21 20:50:18 EST
Tested against v3.5.0.7

1. Create DC which has long value for annotation openshift.io/encoded-deployment-config:
$ oc create -f https://raw.githubusercontent.com/openshift/origin/pkg/api/graph/test/available-deployment.yaml
2.Go to Applications -> Deployments ->  example -> example-1, click on "Show Annotations", the long value of openshift.io/encoded-deployment-config is partially displayed on page with a "See all" option(to view complete values) and "Collapse" option(to truncate the long annotation value)

Move to VERIFIED
Comment 8 errata-xmlrpc 2017-04-12 15:04:29 EDT
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-2017:0884

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