trove/trove/guestagent/strategies
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 Merge "MongoDB backup uses "nogroup" which is OS specific" 2015-09-16 11:02:08 +00:00
replication Fix promote for Redis datastore 2015-10-02 02:43:38 -07:00
restore Add Redis backup/restore functionality 2015-09-02 20:21:16 +00:00
storage Switch to the oslo_log library 2015-07-23 19:31:58 +03:00
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00