| Summary: | oo-install append superfluous mongo port when setting MONGO_HOST_PORT. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0.0 | CC: | libra-onpremise-devel |
| 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: | 2014-05-15 14:40:55 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: | |
|
Description
Johnny Liu
2013-11-20 09:14:46 UTC
This was a bug in openshift.sh which should now be fixed. Please give it another try. Verified this bug with oo-install-ose-20131220-1511, and PASS.
In /tmp/openshift-deploy.log, could see the following logic:
+ datastore_replicants=db.my-ose.com.cn:27017
++ for repl in '${datastore_replicants//,/ }'
++ [[ db.my-ose.com.cn:27017 =~ : ]]
++ printf ,%s db.my-ose.com.cn:27017
+ datastore_replicants=,db.my-ose.com.cn:27017
+ datastore_replicants=db.my-ose.com.cn:27017
# grep MONGO_HOST_PORT /etc/openshift/broker.conf
# Eg: MONGO_HOST_PORT="<host1:port1>,<host2:port2>..."
MONGO_HOST_PORT="db.my-ose.com.cn:27017"
|