Bug 2129867

Summary: [cee/sd][Doc] The command-line for Bootstrapping a storage cluster using a service configuration file should also contain --ssh-private-key and --ssh-public-key options
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lijo Stephen Thomas <lithomas>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Documentation sub component: Install Guide QA Contact: Manasa <mgowri>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: rmandyam
Version: 5.2Keywords: NoDocsQEReview
Target Milestone: ---   
Target Release: Backlog   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-02 06:43:19 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:

Description Lijo Stephen Thomas 2022-09-26 13:44:11 UTC
Describe the issue:
-------------------
The command-line for Bootstrapping a storage cluster using a service configuration file should also contain --ssh-private-key and --ssh-public-key options.


Describe the task you were trying to accomplish:
------------------------------------------------

Suggestions for improvement:
----------------------------

Expected:
---------

```
Invoke the cephadm bootstrap command. Include the --ssh-private-key and --ssh-public-key options: 
Syntax
cephadm bootstrap --apply-spec CONFIGURATION_FILE_NAME --mon-ip MONITOR_IP_ADDRESS --registry-url registry.redhat.io --registry-username USER_NAME --registry-password PASSWORD --ssh-private-key PRIVATE_KEY --ssh-public-key PUBLIC_KEY
Example
[root@host01 ~]# cephadm bootstrap --apply-spec initial-config.yaml --mon-ip 10.10.128.68 --registry-url registry.redhat.io --registry-username myuser1 --registry-password mypassword1 --ssh-private-key /home/.ssh/id_rsa --ssh-public-key /home/.ssh/id_rsa.pub
```

Document URL:
-------------
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/installation_guide/index#bootstrapping-a-storage-cluster-using-a-service-configuration-file_install

Chapter/Section Number and Title:
----------------------------------
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/installation_guide/index#bootstrapping-a-storage-cluster-using-a-service-configuration-file_install

Product Version:
----------------
RHCS 5


Additional information:
-----------------------
I understand that we cannot provide all options in sample file / bootstrap command-line mentioned in this section as we already have a section for this in chapter 3.10.5, but without this option the bootstrap command will definitely fail, as this is not an optional parameter to be passed during bootstrap.

Ref:
Also such example of --ssh-private-key and --ssh-public-key options is mentioned for Bootstrapping the storage cluster as a non-root user.
- https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/installation_guide/index#bootstrapping-the-storage-cluster-as-a-non-root-user_install