Bug 1268808 - Need corrections in cluster-size.adoc for adding Monitors to an existing working Ceph cluster
Summary: Need corrections in cluster-size.adoc for adding Monitors to an existing work...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 1.3.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 1.3.0
Assignee: Nilamdyuti
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-05 10:46 UTC by Tanay Ganguly
Modified: 2016-09-20 01:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-07 16:12:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Tanay Ganguly 2015-10-05 10:46:02 UTC
Description of problem:

Need corrections in cluster-size.adoc for adding Monitors to an existing working Ceph cluster

RHEL:
-----
If we are adding a new mon to a RHEL ceph cluster that was installed from ISO, then as per the document(https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-administration-guide/blob/v1.3/cluster-size.adoc) there are only 2 steps to be done:
  a. ceph-deploy install --repo --release=ceph-mon <additional_mon_node>
  b. ceph-deploy mon add <additional_mon_node>

Actualy, we need to execute the below step as well:
ceph-deploy install --mon <additional_mon_node> ( This steps is *only* mentioned for CDN based installation)

So, if effect the actual steps should be:
  a. ceph-deploy install --repo --release=ceph-mon <additional_mon_node>
  b. ceph-deploy mon add <additional_mon_node>
  c. ceph-deploy install --mon <additional_mon_node>

Ubuntu:
------
If we are adding a new mon to a Ubuntu ceph cluster that was installed from ISO, then as per the document(https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-administration-guide/blob/v1.3/cluster-size.adoc) there are only 2 steps to be done:
  a. ceph-deploy install --repo --release=ceph-mon <additional_mon_node>
  b. ceph-deploy mon add <additional_mon_node>

Actualy, we need to execute the below step as well:
ceph-deploy install --no-adjust-repos --mon <additional_mon_node>

So, if effect the actual steps should be:
  a. ceph-deploy install --repo --release=ceph-mon <additional_mon_node>
  b. ceph-deploy install --no-adjust-repos --mon <additional_mon_node>
  c. ceph-deploy mon add <additional_mon_node>

Version-Release number of selected component (if applicable):
ceph version 0.94.1.8

How reproducible:
100%

Steps to Reproduce:

Expected results:


Additional info:
1. The same problem is also being seen in both RHEL and Ubuntu

2. For Ubuntu, we were also able to add mon using following commands which are also found in Ubuntu's quick-ceph-deploy.adoc,
  ceph-deploy repo ceph-mon <additional_mon_node>
  ceph-deploy install --no-adjust-repos --mon <additional_mon_node>
  ceph-deploy mon add <additional_mon_node>

Comment 2 Tanay Ganguly 2015-10-05 10:48:31 UTC
Wrongly i have marked this BUG as Installer BUG.

Changing it to Documentation BUG

Comment 4 Tanay Ganguly 2015-10-06 11:54:21 UTC
Hi John,

This works for RHEL,but not for Ubuntu.
Can we also add Ubuntu section in the same document to make it more generic.

ceph-deploy repo ceph-mon <additional_mon_node>
ceph-deploy install --no-adjust-repos --mon <additional_mon_node>
ceph-deploy mon add <additional_mon_node>



Thanks,
Tanay

Comment 6 Tanay Ganguly 2015-10-07 10:10:53 UTC
Yes it works now.

Thanks Nilam

Comment 7 Nilamdyuti 2015-10-07 10:15:25 UTC
(In reply to Tanay Ganguly from comment #6)
> Yes it works now.
> 
> Thanks Nilam

You are welcome!


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