Bug 1687930
| Summary: | [DOC] RHCS Container installation guide should use 'sudo' instead of using 'root' user | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Karun Josy <kjosy> | ||||
| Component: | Documentation | Assignee: | John Brier <jbrier> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Uday kurundwade <ukurundw> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.2 | CC: | asriram, ceph-qe-bugs, edonnell, jbrier, kdreyer, kjosy, ukurundw, vereddy | ||||
| Target Milestone: | z2 | ||||||
| Target Release: | 3.2 | ||||||
| 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: | 2019-08-26 06:55:41 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: | 1685931 | ||||||
| Attachments: |
|
||||||
|
Description
Karun Josy
2019-03-12 16:40:31 UTC
Thanks for the report Karun. I see what you mean. I went through only a third of the guide but found numerous steps where one is root and the following one requires the admin user or vice versa. [1] My plan is to mention the user to run the command when it changes from previous step but not convert the guide to using sudo instead of root. Personally, when I install Ceph, on the admin node I just open two terminals, one logged in as root and one logged in as the admin user. It works fine for me. I definitely see the argument for using sudo instead but I want to maintain consistency with the rest of the guides and we don't use sudo for any of them AFAIK. Maybe in the future we can do that. 1) firewall section needs to mention to use root user for all commands. 1.4. Installing the Ceph Object Gateway in a Container Use[run] the following commands [as the ansible user] from the Ansible administration node. [as root] Create a new copy of the rgws.yml.sample file located in the group_vars directory. [as the ansible user] Run the ceph-ansible playbook. [as root] Verify that the Ceph Object Gateway pools were created properly: 1.5. Installing Metadata Servers [as root] Navigate to the /usr/share/ceph-ansible directory: [as the ansible user] Run the Ansible playbook: 1.6. Installing the Ceph iSCSI gateway in a container step 1 demonstrates cd-ing to /usr/share/ceph-ansible directory as admin user but step 2 requires root privs and doesn't mention it. step 3 command is shown as admin user step 9 [as the admin user] Run the Ansible playbook 1.6.1. Configuring the Ceph iSCSI gateway in a container [as root] Start the iSCSI gateway command-line interface: Creating (sic) [Create] the iSCSI gateways using either IPv4 or IPv6 addresses: Adding (sic) [Add] a RADOS Block Device (RBD): Creating (sic) [Create] a client: Adding (sic) disks to a clien 1.6.2. Removing the Ceph iSCSI gateway in a container need to review rest of the guide beyond 1.6.2 Created attachment 1554804 [details]
section 1.6 using root commands
|