Bug 1672488 - Containerized cluster deployment article : container and service naming convention needs modification
Summary: Containerized cluster deployment article : container and service naming conv...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: z4
: 2.*
Assignee: Bara Ancincova
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1687793
TreeView+ depends on / blocked
 
Reported: 2019-02-05 05:58 UTC by Vasishta
Modified: 2019-04-15 16:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-15 16:32:15 UTC
Embargoed:


Attachments (Terms of Use)

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


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