Bug 1672488

Summary: Containerized cluster deployment article : container and service naming convention needs modification
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: DocumentationAssignee: Bara Ancincova <bancinco>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.5CC: asriram, jbrier, kdreyer, ymane
Target Milestone: z4   
Target Release: 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-04-15 16:32:15 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: 1687793    

Description Vasishta 2019-02-05 05:58:46 UTC
Description of problem:

In the article "Deploying Red Hat Ceph Storage 2 as a Container Image", container and service naming convention and example needs modification 

1) Under section "Verifying That Ceph Nodes Work Properly", step 2,

"docker exec ceph-[id] ceph health" should be changed as "docker exec ceph-mon-<hostname> ceph health" and example should be "docker exec ceph-mon-ceph-monitor01 ceph health" (referring hostname in to previousstep)

Ref -
$ sudo docker ps
CONTAINER ID        IMAGE                                                     COMMAND             CREATED             STATUS              PORTS               NAMES
90789c741b12        registry.access.redhat.com/rhceph/rhceph-2-rhel7:latest   "/entrypoint.sh"    24 hours ago        Up 24 hours                             ceph-mon-magna045


2) In subsection "Ceph Object Gateway nodes:", step 2
mere "rados lspools" wouldn't suffice in containerized scenario, it should be suffixed with docker exec ceph-mon-<hostname>" as ceph packages are not installed on host by ceph-ansible in containerized scenario.

This issue is applicable for step 4 also

3) In section "Starting, Stopping, and Restarting Ceph Daemons that Run in a Container" and "Viewing Log Files of Ceph Daemons", it has been mentioned that rgw service name will be in format "ceph-[daemon]@[ID]" where [ID] is         The short host name where the ceph-mon or ceph-rgw daemons are running


But with latest ceph-ansible, 
$ ssh magna100 sudo systemctl list-units |grep ceph

ceph-radosgw.service                                                                     loaded active running   Ceph RGW

i,e - ceph-radosgw@rgw.<short-hostname>

We might consider keeping older one also for customers those who already had an rgw service before.

Comment 1 John Brier 2019-02-06 19:56:39 UTC
Thanks for the report Vasishta! We'll take a look.

Comment 4 Bara Ancincova 2019-04-15 16:32:15 UTC
The article has been updated on the Customer Portal:

https://access.redhat.com/articles/2429471