Bug 1831667 - [installation-guide] - Upgrade section - provide steps to upgrade for users installed using cockpit-installer
Summary: [installation-guide] - Upgrade section - provide steps to upgrade for users i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 4.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 4.1
Assignee: John Brier
QA Contact: Sunil Angadi
URL:
Whiteboard:
Depends On:
Blocks: 1809603
TreeView+ depends on / blocked
 
Reported: 2020-05-05 13:03 UTC by Vasishta
Modified: 2020-06-11 12:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-11 12:11:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Vasishta 2020-05-05 13:03:16 UTC
Description of problem:
For users installed ceph cluster using cockpit-installer and wants to upgrade their clusters to 4.1, we need to provide couple of steps before they follow existing steps - 

QE tried these following steps before existing steps and worked fine for us -

1) Copy inventory from default location to ceph-ansible folder

2) If user used non-root user as cockpit-installer user (ansible user) then change ssh-key permissions so that ansible-playbook can be run as non-root user

Comment 1 John Brier 2020-05-19 11:45:29 UTC
(In reply to Vasishta from comment #0)
> Description of problem:
> For users installed ceph cluster using cockpit-installer and wants to
> upgrade their clusters to 4.1, we need to provide couple of steps before
> they follow existing steps - 
> 
> QE tried these following steps before existing steps and worked fine for us -
> 
> 1) Copy inventory from default location to ceph-ansible folder
> 
> 2) If user used non-root user as cockpit-installer user (ansible user) then
> change ssh-key permissions so that ansible-playbook can be run as non-root
> user

Thanks Vasishta.

So these steps need to be added here, right?

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/installation_guide/index?lb_target=preview#preparing-for-an-upgrade_install

For 1, I know I saw where this was in the past but I can't remember. Can you tell me where the default location of the inventory file is when installed using cockpit and where to put it in ceph-ansible? Is it /etc/ansible/hosts? and where do you put it and what do you name it in /usr/share/ceph-ansible?

For 2, can you show me specifically what this step should look like? The way the cockpit chapter is, you use the ansible user ("admin") to create the SSH keys and log in to cockpit. So in the upgrade section we also use the ansible user (admin) to run the playbooks... so why do ssh key permissions need to change?


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