This hasn't been a clean backport: reconnection strategies evolved in the intervening time causing conflicts in the main code and failing tests (which relied on a previous interface). I've made the necessary adjustments in the patch (which will link up here soon after I've got local unit tests passing) but I would recommend that the patch and the resulting packaged stuff get a somewhat more than normal review.
I haven't got access to a replicaset to test this but it is possible to test that the reconnection functionality works in a relatively straightforward fashion:
* do an installation (packstack --allinone is what I did)
* authenticate (`. keystonerc_admin `)
* confirm meters with `ceilometer meter-list`
* stop mongod `sudo service stop mongod`
* try meters again, get failure
* start mongod `sudo service start mongod`
* try meters again, get some
The reason for doing this, even in a non-replicaset setup, is that the backport completely replaces previous reconnection logic, so doing this confirms that the new stuff has the basic expected functionality.
Added some DocText, but note this is still ON_QA, for now, and though my own testing has shown that "it works" confirmation is pending.
Verified using replicaset with 3 members.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.