trove/trove/guestagent
Peter Stachowski 5bc4d89863 Fix promote for Redis datastore
The 'set' command in the Python client interpretes None as the
string 'None.'  If no password is set on the master, a detach/attach
(such as is done with promote) will have the slaves try and use 'none'
as a password.  This will cause them to not be able to connect to the
master and leave them in a detached state.

The 'masterpass' is now set to an empty string if no password is set.
The restart of Redis was also moved before attaching the slave,
so that the mapped CONFIG command is recognized properly.  This is
required so that setting the master password completes successfully.

(cherry picked from commit 6c4db5d327)
Closes-Bug: #1498208
Change-Id: Ibc842b95fd191908d4fac420030f84393c696013
Depends-On: Ida0aa155b1e1ec7b8e9fa73006d3db9a88ffea02
2015-10-02 02:43:38 -07:00
..
backup Use oslo.log library instead of system logging module 2015-08-04 17:29:20 +03:00
common Mongodb Cluster Scaling 2015-09-04 08:26:40 -04:00
datastore Fix promote for Redis datastore 2015-10-02 02:43:38 -07:00
db MongoDB user management - access grant/revoke/show 2015-08-03 10:06:35 -04:00
strategies Fix promote for Redis datastore 2015-10-02 02:43:38 -07:00
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00
api.py Root enablement for Vertica clusters/instances 2015-09-04 16:02:31 -05:00
dbaas.py Percona Xtradb Cluster implementation 2015-09-04 03:25:06 -05:00
models.py Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
pkg.py Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
service.py Logging audit for trove/guestagent module 2014-07-29 11:14:36 -04:00
strategy.py Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
volume.py Switch to the oslo_log library 2015-07-23 19:31:58 +03:00