Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1634093

Summary: Need procedure to upgrade from RHCS dashboard 2.y/3.0 to RHCS Dashboard 3.1
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: DocumentationAssignee: ceph-docs <ceph-docs>
Status: CLOSED CURRENTRELEASE QA Contact: Madhavi Kasturi <mkasturi>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1CC: assingh, branto, ceph-eng-bugs, gmeno, jbrier, kdreyer, mhackett, mkasturi, pcuzner, rperiyas, tchandra, vumrao, zcerza
Target Milestone: z1   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1638125 (view as bug list) Environment:
Last Closed: 2018-11-08 15:49:32 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: 1638125    

Description Mike Hackett 2018-09-28 18:15:05 UTC
Description of problem:
Release notes state:

Previously, the Red Hat Ceph Storage Dashboard used collectd and Graphite for gathering and reporting on Ceph metrics. With this release, Prometheus is now used for data gathering and reporting, and provides querying capabilities. Also, Prometheus is much less resource intensive.

Ceph-metrics will require an upgrade to get to Ceph-Dashboard with Prometheus. Since all metric data will be lost during this upgrade we are looking from a plan from engineering to document this upgrade process to provide to customers.

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

Comment 17 Madhavi Kasturi 2018-10-30 07:58:18 UTC
Document - 
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html-single/installation_guide_for_red_hat_enterprise_linux/#upgrading-a-red-hat-ceph-storage-cluster

Section - If upgrading from Red Hat Ceph Storage 3.0 to 3.1 and using Red Hat Ceph Storage Dashboard, 

Issue: Followed the steps mentioned
1. If the cephmetrics-ansible package isn’t already updated, update it: 
2. Change to the /usr/share/cephmetrics-ansible/ directory. 
3. Purge the existing cephmetrics installation. 

The purging of the cluster is failing at TASK remove containers, as 3.0 cephmetrics did not have contianer deployment.

Playbook fails with error at TASK [Remove containers] 

TASK [Remove containers] ******************************************************************************************************************************************************************************************
failed: [magna012.ceph.redhat.com] (item=grafana-server) => {"changed": false, "item": "grafana-server", "msg": "Failed to import docker-py - No module named docker. Try `pip install docker-py`"}
failed: [magna012.ceph.redhat.com] (item=prometheus) => {"changed": false, "item": "prometheus", "msg": "Failed to import docker-py - No module named docker. Try `pip install docker-py`"}
	to retry, use: --limit @/usr/share/cephmetrics-ansible/purge.retry

Change: Alter the sequence of steps as follows
1. Change to the /usr/share/cephmetrics-ansible/ directory. 
2. Purge the existing cephmetrics installation. 
3. If the cephmetrics-ansible package isn’t already updated, update it: 
Change to --> Update the cephmetrics-ansible package
4. Install the updated Red Hat Ceph Storage Dashboard 

Moving this BZ to assigned.

Comment 19 John Brier 2018-11-02 23:03:07 UTC
*** Bug 1638125 has been marked as a duplicate of this bug. ***