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 1512415

Summary: [Doc]: Upgrade of 2.4 to 3.0 require following doc updates
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ramakrishnan Periyasamy <rperiyas>
Component: DocumentationAssignee: Bara Ancincova <bancinco>
Status: CLOSED CURRENTRELEASE QA Contact: Ramakrishnan Periyasamy <rperiyas>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.0CC: asriram, bancinco, hnallurv, kdreyer, rperiyas, tpetr
Target Milestone: rc   
Target Release: 3.0   
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: 2017-12-26 03:41:47 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: 1496210    

Description Ramakrishnan Periyasamy 2017-11-13 07:33:44 UTC
Description of problem:
RGW Upgrade of 2.4 to 3.0 failed for "radosgw_interface" param.

In 2.4 we never used to specify "radosgw_interface" but in 3.0 ceph-ansible expects "radosgw_interface" param because of this ceph-ansible failed.

For Installing cluster this change is added in "Table 3.1. General Ansible Settings" which needs to be added in upgrade part of the document also.

==========================================
Ansible failure during upgrade:
TASK [ceph-common : make sure monitor_interface, monitor_address or monitor_address_block is defined] ***
task path: /usr/share/ceph-ansible/roles/ceph-common/tasks/checks/check_mandatory_vars.yml:67
skipping: [magna006] => {
    "changed": false,
    "skip_reason": "Conditional result was False",
    "skipped": true
}

TASK [ceph-common : make sure radosgw_interface, radosgw_address or radosgw_address_block is defined] ***
task path: /usr/share/ceph-ansible/roles/ceph-common/tasks/checks/check_mandatory_vars.yml:76
fatal: [magna006]: FAILED! => {
    "changed": false,
    "failed": true,
    "msg": "you must set radosgw_interface, radosgw_address or radosgw_address_block"
}
===========================================

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

How reproducible:
NA

Steps to Reproduce:
NA

Actual results:
NA

Expected results:
NA

Additional info:
NA

Comment 3 Ramakrishnan Periyasamy 2017-11-13 11:06:23 UTC
There is one more update required in upgrade doc.

"subscription-manager repos --enable=rhel-7-server-extras-rpms" needs to be enabled.

Comment 4 Ramakrishnan Periyasamy 2017-11-13 15:27:09 UTC
These changes needs to be addressed in upgrade of cluster from 2.4 to 3.0

1. "subscription-manager repos --enable=rhel-7-server-extras-rpms" repo needs to be enabled before upgrading "ceph-ansible" (in pre-requisite section)

2. This bug is having a dependency on bz:1512581 since there is a bit of confusion in upgrade process.

As per our existing upgrade doc if we need to proceed the upgrade for rgw then we need to add "radosgw_interface: interface" to existing all.yml file before proceeding to step 4, if we do this then we can avoid the rgw issue mentioned in bug description part (which i tried and it worked).

3. User should be careful while executing step 5 which may lead overwrite of old custom param's updated by them for their environment.

Comment 10 Ramakrishnan Periyasamy 2017-11-14 10:07:57 UTC
Thanks for the quick update.

RHEL and Ubuntu documents look good, moving this bug to verified state.

Comment 16 Ken Dreyer (Red Hat) 2018-05-23 16:26:55 UTC
*** Bug 1512581 has been marked as a duplicate of this bug. ***