Bug 1029422

Summary: oo-install should support user set up activemq replicants and datastore replicants.
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: NodeAssignee: Luke Meyer <lmeyer>
Status: CLOSED DEFERRED QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0.0CC: bleanhar, libra-onpremise-devel, mmasters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-19 14:15:02 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:

Description Johnny Liu 2013-11-12 11:28:06 UTC
Description of problem:
Currently openshift.sh support user export CONF_ACTIVEMQ_REPLICANTS and CONF_DATASTORE_REPLICANTS to set up activemq and datastore replicants, but oo-install tools still not support yet, it should be enabled.

Version-Release number of selected component (if applicable):
oo-install-ose-2.0b-20131111-2053

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Johnny Liu 2013-11-13 11:14:46 UTC
Looks like datastore replicants can not be set up totally automatically, while activemq replicants could. So change the summary.

Comment 3 Miciah Dashiel Butler Masters 2013-11-13 15:34:40 UTC
CONF_DATASTORE_REPLICANTS should totally automate configuration of datastore replicants.  Is there a bug report for its failure to do so?

Comment 4 Brenton Leanhardt 2013-11-13 15:42:23 UTC
I think the bug is that currently oo-install's OSE workflow never asks the user if they would like to set that value.  This could simply be something we don't support for now given that oo-install main focus for OSE is configuring demos environments right now.

Comment 5 Miciah Dashiel Butler Masters 2013-11-13 15:44:13 UTC
Does oo-install's OSE workflow ask the user if they would like to set the value for ActiveMQ replicants then?

Comment 6 Brenton Leanhardt 2013-11-13 15:48:04 UTC
To my knowledge all of the default values in openshift.sh are assumed.

Comment 7 Johnny Liu 2013-11-14 02:11:11 UTC
(In reply to Miciah Dashiel Butler Masters from comment #3)
> CONF_DATASTORE_REPLICANTS should totally automate configuration of datastore
> replicants.  Is there a bug report for its failure to do so?

Check openshift.sh, you will see the following codes:
configure_datastore()
{
  <--snp-->
  if ! [[ ${datastore_replicants} =~ , ]]
  then
    # This mongod will _not_ be part of a replicated setup.
    configure_datastore_add_users
  fi

}

That means user need do "configure_datastore_add_users" manually when datastore replicants is set if my understanding is right.

Comment 8 Johnny Liu 2013-11-14 02:14:16 UTC
(In reply to Miciah Dashiel Butler Masters from comment #5)
> Does oo-install's OSE workflow ask the user if they would like to set the
> value for ActiveMQ replicants then?

No, oo-install's OSE workflow does not ask user currently, that is the point of this bug.

Comment 9 Miciah Dashiel Butler Masters 2013-11-14 02:23:38 UTC
Ah, yes, one must run (for example) `openshift.sh datastore_replicants=datastore01.example.com,datastore02.example.com,datastore03.example.com actions=configure_datastore_add_replicants,configure_datastore_add_users` on one of the replicants after they are all installed and running.

Comment 10 Luke Meyer 2013-11-19 14:15:02 UTC
This feature is captured in a Trello card:

https://trello.com/c/f4T9Amo5