Couchbase Root Password Can Go Out Of Sync Due to Cluster Stitching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Auston McReynolds |
Bug Description
if a user goes to the web console of a couchbase instance, and adds another couchbase instance as a server to create a cluster, the root password for the second server is replaced with the first server's password (they're sync'd).
this is problematic because the ping check today relies on the password in /etc/couchbase/
the solution is to retrieve the current password from config.dat for every ping check:
sudo /opt/couchbase/
snippet of config.dat in term format:
{rest_creds,
[
{creds,
{rest,
{auto_
alternatively, if this approach is deemed too expensive, perhaps the error on the ping check can be interpreted and attempt a refresh of /etc/couchbase/
Changed in trove: | |
importance: | Undecided → Medium |
status: | New → Triaged |
milestone: | none → kilo-1 |
Changed in trove: | |
assignee: | nobody → Auston McReynolds (amcrn) |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/129095
Review: https:/