Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1354102 - Cluster creation with < 3 MONs fails
Summary: Cluster creation with < 3 MONs fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: core
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2
Assignee: Nishanth Thomas
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-09 12:38 UTC by Chris Blum
Modified: 2016-07-11 12:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-11 11:11:13 UTC


Attachments (Terms of Use)

Description Chris Blum 2016-07-09 12:38:32 UTC
Description of problem:
If a user modifies /usr/share/skyring/webapp/config/config.json to include
ceph_min_monitors: 1
A cluster creation with less than 3 MONs is possible in the UI. With the current version this fails in the provisioning step with the error
Failed. error: Monitor count less than minimum required(3). ceph

This has worked with earlier versions of USM

Version-Release number of selected component (if applicable):
Latest - vagrant

How reproducible:
Always

Steps to Reproduce:
1. Modify /usr/share/skyring/webapp/config/config.json on the USM host to allow clusters with one MON
2. Add Storage servers
3. Try to create a Ceph cluster with one MON

Actual results:
The UI lets you create the cluster and starts provisioning, but fails when it detects that there is only one MON to be deployed

Expected results:
Cluster creation should continue

Additional info:
This has worked before

Comment 2 Martin Bukatovic 2016-07-11 10:26:26 UTC
(In reply to Chris Blum from comment #0)
> Description of problem:
> If a user modifies /usr/share/skyring/webapp/config/config.json to include
> ceph_min_monitors: 1
> A cluster creation with less than 3 MONs is possible in the UI. With the
> current version this fails in the provisioning step with the error
> Failed. error: Monitor count less than minimum required(3). ceph
> 
> This has worked with earlier versions of USM

As far as I know, this is not a supported configuration for both ceph and
RHSC 2.0. QE team doesn't test with a single monitor clusters.

Comment 3 Nishanth Thomas 2016-07-11 11:11:13 UTC
You must edit one more config file to enable cluster creation with single mon -->
/etc/skyring/providers.d/ceph.conf

Edit 'min_monitors_in_cluster' appropriately.

Again as Martin explained, this is not a supported configuration in production

Comment 4 Chris Blum 2016-07-11 12:27:29 UTC
Thanks for the explanation, was just wondering why this stopped working, but I agree with the "NOTABUG" resolution.


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