summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/heal_libs.py
Commit message (Collapse)AuthorAgeFilesLines
* Check if volume type is 'distribute' before checking if self-heal-daemons ↵ShwethaHP2018-01-301-0/+14
| | | | | | | are online Change-Id: I25424dd182c347a0570713ada8d2de611840fef3 Signed-off-by: ShwethaHP <spandura@redhat.com>
* Adding function bring_self_heal_daemon_process_offline to heal_libsVijay Avuthu2018-01-291-0/+44
| | | | | | | | | Description: Bring the self-heal daemon process offline for the nodes Change-Id: I55301fb86a97147920991aa4455e8e5d80b1c5c3 Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
* Fixing None issue when running multiple volumesVijay Avuthu2018-01-281-2/+3
| | | | | Change-Id: I7a8465a60c8e5d8f84a647ae65dbabcab2184516 Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
* Fixing Plumbum spawn issue with pgrepVijay Avuthu2018-01-281-1/+1
| | | | | Change-Id: If303d22f52d31e99676a6e97fbe0b9cb7d5a1234 Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
* Adding AFR self heal daemon test casesVijay Avuthu2018-01-231-0/+149
| | | | | | | | | | | Gave meaningful names to functions Returning -1 if there is no process running Replace numbers with words Rewording the msg "More than 1 or 0 self heal daemon" Review Comments incorporated Change-Id: If424a6f78536279c178ee45d62099fd8f63421dd Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
* Adding functions for:ShwethaHP2018-01-111-0/+36
| | | | | | | | | 1. Waiting for all bricks to be online 2. Waiting for all self-heal-daemons to be online 3. Waiting for all volume processes to be online Change-Id: I01a8711838227eb167e69710ecbd3abd0fecb9e6 Signed-off-by: ShwethaHP <spandura@redhat.com>
* 1) bring_bricks_online: Wait for bricks to be online for 30 secondsShwethaHP2017-08-281-1/+1
| | | | | | | | | after bringing them online. 2) log all the xml output/error to DEBUG log level. Change-Id: If6bb758ac728f299292def9d72c0ef166a1569ae Signed-off-by: ShwethaHP <spandura@redhat.com>
* Clean up pyflakes and pep8 errorsNigel Babu2016-12-121-2/+1
| | | | | Change-Id: Ibdd092118d3bb912716c46fd278ef3c680a6e742 Signed-off-by: Nigel Babu <nigelb@redhat.com>
* Adding libs for brick ops, volume helpers, mount helpers, gluster baseShwetha Panduranga2016-10-171-0/+272
class, heal related helpers, samba helpers, and windows ops helpers Change-Id: I0ad8fc7548c88e89d2ba6441166b9a38af76cea0 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>