Bug 2049127 - [installation guide] - Upgrade section - with host os upgrade - procedure needs some major and some minor updates
Summary: [installation guide] - Upgrade section - with host os upgrade - procedure nee...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.3z4
Assignee: lysanche
QA Contact: Aditya Ramteke
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-01 15:08 UTC by Vasishta
Modified: 2023-07-20 04:25 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-20 04:25:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3086 0 None None None 2022-02-01 15:14:42 UTC

Description Vasishta 2022-02-01 15:08:28 UTC
Describe the issue:
Found multiple issues during host os upgrade when trying to upgrade from 4.3 to 5.1 (versions can be considered a generic 4.x to 5.x)

Describe the task you were trying to accomplish:
Upgrade non-containerized cluster from 4.x to 5.x with rbd-mirroring

Suggestions for improvement:
1) We need to ask users to backup all ceph folders in chapter  Backing up the files before the host OS upgrade
I found issues with not backing up /var/lib/ceph in 4.6.1. Manually upgrading Ceph Monitor nodes and their operating systems

2) As per the inputs from one who had done this procedure previously that user will have to run 
chown -R /etc/ceph
chown -R /var/log/ceph
chown -R /var/lib/ceph


on all nodes once os upgrade is complete

3) [small issue] In 4.6. Updating the host operating system description second paragraph
>>You must manually upgrade all other nodes 

the other word is not making sense

4) [RFE] Swap sections 4.4 and 4.5 as it current 4.4 is more related to 4.6

Comment 1 RHEL Program Management 2022-02-01 15:08:34 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 23 lysanche 2023-04-27 12:18:08 UTC
Hi Vasishta,

For your suggestions for improvement, could you please answer the following questions I have? This information is now in the Upgrade Guide:

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/upgrade_guide/index

1) We need to ask users to backup all ceph folders in chapter Backing up the files before the host OS upgrade
I found issues with not backing up /var/lib/ceph in 4.6.1. Manually upgrading Ceph Monitor nodes and their operating systems

Question:
What other folders should be added to steps 1-4? And I think adding a Note to ensure that all ceph folders are backed up.


2) As per the inputs from one who had done this procedure previously that user will have to run
chown -R /etc/ceph
chown -R /var/log/ceph
chown -R /var/lib/ceph

on all nodes once os upgrade is complete

Question:
Where should this be added? Perhaps as a new section 1.6.7. Changing ownership of folders?

4) [RFE] Swap sections 4.4 and 4.5 as it current 4.4 is more related to 4.6

Question:
Please confirm the order since these section numbers have changed. Is this the correct order?
1.4. Backing up the files before the host OS upgrade
1.5. Converting to a containerized deployment

Thanks very much!
Lynn

Comment 24 Vasishta 2023-05-02 09:28:12 UTC
Hi Lynn,

It has been quite a while since I worked on this scenario, Tentatively moving needinfo flag on Vaibhav.

Hi Vaibhav, Can you please help us ?
(Please redirect if you are not working on this scenario recently)

Comment 25 Vaibhav Mahajan 2023-05-08 06:39:39 UTC
@msaini could you please help Lynn with the details.

Comment 26 Manisha Saini 2023-05-15 19:09:42 UTC
Assigning this to @aramteke to provide the details.

Comment 27 Aditya Ramteke 2023-05-17 03:22:00 UTC
Hello Lynn,

> For your suggestions for improvement, could you please answer the following
> questions I have? This information is now in the Upgrade Guide:
> 
> https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-
> single/upgrade_guide/index
> 
> 1) We need to ask users to backup all ceph folders in chapter Backing up the
> files before the host OS upgrade
> I found issues with not backing up /var/lib/ceph in 4.6.1. Manually
> upgrading Ceph Monitor nodes and their operating systems
> 
> Question:
> What other folders should be added to steps 1-4? And I think adding a Note
> to ensure that all ceph folders are backed up.

We'll need to backup /etc/ceph and /var/lib/ceph folders before doing an upgrade and performing host host upgrade. 


> 2) As per the inputs from one who had done this procedure previously that
> user will have to run
> chown -R /etc/ceph
> chown -R /var/log/ceph
> chown -R /var/lib/ceph
> 
> on all nodes once os upgrade is complete
> 
> Question:
> Where should this be added? Perhaps as a new section 1.6.7. Changing
> ownership of folders?

Changing an ownership of folders can be done after we restore the backup which is 1.7. Restoring the backup files.

> 4) [RFE] Swap sections 4.4 and 4.5 as it current 4.4 is more related to 4.6
> 
> Question:
> Please confirm the order since these section numbers have changed. Is this
> the correct order?
> 1.4. Backing up the files before the host OS upgrade
> 1.5. Converting to a containerized deployment

Yes, the order should be Backing file and then converting to containerized. 

I hope that answers your question, let me know if there are more question. 

Thanks, 
Aditya

Comment 32 lysanche 2023-06-06 12:53:59 UTC
Merged and moved to RELEASE_PENDING


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