Bug 1590361

Summary: [Docs] CNS with OpenShift: After upgrade, add instructions for detecting outdated CNS images and updating them
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Thom Carlin <tcarlin>
Component: doc-Container_Native_Storage_with_OpenShiftAssignee: storage-doc
Status: CLOSED WONTFIX QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: unspecified    
Version: cns-3.9CC: asriram, jarrpa, jmulligan, khartsoe, pprakash, rcyriac, rhs-bugs, storage-doc, suprasad, tcarlin
Target Milestone: ---Keywords: ZStream
Target Release: ---   
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: 2021-11-18 18:02:04 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:
Bug Depends On:    
Bug Blocks: 1724792    

Description Thom Carlin 2018-06-12 13:31:38 UTC
Description of problem:

After a system update/upgrade, the CNS images may be outdated.  We need to add instructions for determining older images and updating them

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

3.9

How reproducible:

100%

Steps to Reproduce:
1. For target cluster, upgrade from older to newer version
2. Check CNS images

Actual results:

CNS images are the older versions

Expected results:

CNS images are the newer versions

Additional info:

May want to add (for more information) Red Hat Container Catalog links
Identified images:
* rhgs3/rhgs-gluster-blockprov-rhel7 https://access.redhat.com/containers/?tab=overview#/registry.access.redhat.com/rhgs3/rhgs-gluster-block-prov-rhel7
* rhgs3/rhgs-s3-server-rhel7 https://access.redhat.com/containers/?tab=overview#/registry.access.redhat.com/rhgs3/rhgs-s3-server-rhel7
* rhgs3/rhgs-server-rhel7 https://access.redhat.com/containers/?tab=overview#/registry.access.redhat.com/rhgs3/rhgs-server-rhel7
* rhgs3/rhgs-volmanager-rhel7 https://access.redhat.com/containers/?tab=overview#/registry.access.redhat.com/rhgs3/rhgs-volmanager-rhel7

Initial steps:
* oc get pods -o yaml | egrep 'image: '
* oc get dc -o yaml | egrep 'image: '
* oc get ds -o yaml | egrep 'image: '

Updating:
* Edit dc and ds for new tag:
   * For OpenShift 3.9, use tag: v3.9
   * Also ensure the image name is fully qualified (e.g. registry.access.redhat.com/rhgs3/rhgs-gluster-block-prov-rhel7 instead of rhgs3/rhgs-gluster-block-prov-rhel7)

Verify:
* oc get pods -o yaml | egrep 'image: '
* oc get dc -o yaml | egrep 'image: '
* oc get ds -o yaml | egrep 'image: '
and verify tags are correct

Comment 2 Thom Carlin 2018-06-12 13:36:14 UTC
Tags corrected by devs to v3.9.0

Comment 3 Jose A. Rivera 2018-06-12 13:37:26 UTC
Fair enough. Moving this to 3.11 since we are right in the thick of the 3.10 release.