Bug 1817486

Summary: [ceph-dashboard]- Document : We need to document upgrade path from 4.0 to 4.1 in Installation doc. changes w.r.t grafana container image path in all.yml
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Preethi <pnataraj>
Component: DocumentationAssignee: John Brier <jbrier>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi <pnataraj>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1CC: agunn, asriram, kdreyer, vereddy
Target Milestone: rc   
Target Release: 4.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-11 12:12:03 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: 1809603    

Description Preethi 2020-03-26 12:38:55 UTC
Description of problem:
We need to document upgrade path from 4.0 to 4.1 in Installation doc. changes w.r.t grafana container image path in all.yml

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


How reproducible: Need to add the upgrade path from 4.0 to 4.1 in Installation guide.


Steps to Reproduce:
1. Deploy 4.0 ceph-cluster on rhel 7.7/rhel 8.1 using ceph-ansible.
2.Launch the dashboard installed.
3. Perform upgrade to 4.1 by following the below steps


a) On the Ansible administration node, ensure the latest version of the ansible and ceph-ansible packages are installed.

yum update ceph-ansible

b) Navigate to the /usr/share/ceph-ansible/ directory:

[root@admin ~]# cd /usr/share/ceph-ansible/
As a precaution, make backup copies of the group_vars/all.yml and group_vars/osds.yml files:

[root@admin ceph-ansible]# cp group_vars/all.yml group_vars/all_old.yml
[root@admin ceph-ansible]# cp group_vars/osds.yml group_vars/osds_old.yml
[root@admin ceph-ansible]# cp group_vars/clients.yml group_vars/clients_old.yml
Copy the latest site.yml or site-docker.yml file from the sample files:

For bare-metal deployments:

[root@admin ceph-ansible]# cp site.yml.sample site.yml
For container deployments:

[root@admin ceph-ansible]# cp site-docker.yml.sample site-docker.yml


NOTE: all.yaml.sample should show the latest grafana container image path to latest
grafana_container_image ie:registry.redhat.io/rhceph/rhceph-4-dashboard-rhel8:4 before upgrading and the same path should be present in all.yml.

This changes ae made in ansible pkg version 4.0.17 onwards.
Actual results:


Expected results:


Additional info:

Comment 1 Preethi 2020-03-26 12:46:31 UTC
Perform rolling update once the above steps are completed.

Comment 7 John Brier 2020-05-14 13:42:03 UTC
I opened a new BZ to track changes required to cover minor updates (including updating the step on ceph-metrics purge.yml):

Bug 1835765