Bug 2051640 - [RFE][ceph-ansible] : Usability : New playbooks to help users during Host OS upgrade
Summary: [RFE][ceph-ansible] : Usability : New playbooks to help users during Host OS ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 5.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 5.2
Assignee: Guillaume Abrioux
QA Contact: Vaibhav Mahajan
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2022-02-07 17:08 UTC by Vasishta
Modified: 2022-08-09 17:38 UTC (History)
12 users (show)

Fixed In Version: ceph-ansible-6.0.27.7-1.el8cp
Doc Type: Enhancement
Doc Text:
.A new Ansible playbook is now available for backup and restoring Ceph files Previously, users had to manually backup and restore files when either upgrading the OS from {os-product} 7 to {os-product} 8 or reprovisioning their machines, which was quite inconvenient especially in case of large cluster deployments. With this release, the `backup-and-restore-ceph-files.yml` playbook is added to backup and restore Ceph files, such as `/etc/ceph` and `/var/lib/ceph` that eliminates the need for the user to manually restore files.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:37:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 7141 0 None Merged [skip ci] contrib: add a playbook 2022-06-29 06:42:37 UTC
Github ceph ceph-ansible pull 7243 0 None open [skip ci] backup-and-restore: use archive/unarchive approach 2022-07-07 15:09:54 UTC
Red Hat Issue Tracker RHCEPH-3120 0 None None None 2022-02-07 17:20:31 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:38:03 UTC

Description Vasishta 2022-02-07 17:08:45 UTC
Description of problem:
Recently I worked on the RHCS upgrade (4.x to 5.x) scenario with a host OS upgrade.

The procedure involves backing up ceph files (/etc/ceph/, /var/lib/ceph, ceph-ansible config files incase of ansible node), once os upgrade is done user will have to restore the files, change ownership of restored files and might involve starting up the services.

Found it tedious to do these on a test cluster with 4-5 nodes, which makes me think that it would be more nice if we can provide some usability enhancement to users to handle their clusters in these scenarios.

How about ceph-ansible 6.x (RHCS 5.x) to have a playbook which assists user with these manual tasks ? Something like
- User to install ceph-ansible 6.x on a rhel-8 node
- runs playbook for each node on rhel 7
- ceph-ansible to take backup of required files and save it in the new node
- User upgrades his node to rhel-8 one by one
- user runs restore playbook each time a node gets upgraded to rhel-8 - which should restore all files on that particular node and assists users in starting all services on that node which were running before if required

Version-Release number of selected component (if applicable):
Latest 5.x


Steps to Reproduce:
1. Configure 4.x cluster on rhel-7
2. Try to upgrade cluster to 5.x following docs (involving host OS upgrade from rhel-7 to rhel-8)


Actual results:
User has to follow many mnual steps

Expected results:
ceph-ansible helping users in reducing backing up and restoring process

Additional info:

Comment 39 errata-xmlrpc 2022-08-09 17:37:27 UTC
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 (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement Update), 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/RHSA-2022:5997


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