| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding additional checks to verify the glusterd logs
for `Responded to` and `Received ACC` while performing
a glusterd restart.
Replacing reboot with network interface down to validate
the peer probe scenarios.
Adding lib to bring down network interface.
Change-Id: Ifb01d53f67835224d828f531e7df960c6cb0a0ba
Signed-off-by: Pranav <prprakas@redhat.com>
|
|
|
|
|
|
|
|
|
| |
The method kills the given set of processes running on the specified
node. It takes process ids or process names and uses the kill command
to terminate the process and returns status as boolean value
Change-Id: Ic6c316dac6b3496d34614c568115b0fa0f40d07d
Signed-off-by: Pranav <prprakas@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
Currently the code supports both service and systemctl
commands but it fails on the latest platforms with
the below error on the latest platforms:
```
service glusterd reload
Redirecting to /bin/systemctl reload glusterd.service
Failed to reload glusterd.service: Job type reload is
not applicable for unit glusterd.service.
```
This is because the latest platforms uses systemctl
instead of service to reload the daemon processes:
```
systemctl daemon-reload
```
Solution:
The present code doesn't work properly as the check
is specific to only one platform, hence it fails.
The solution for this is to just check for older
platforms and run service command. For all other
platforms run systemctl command.
Change-Id: I19b24652b96c4794553d3659eaf0301395929bca
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
|
|
|
|
|
|
|
|
| |
Reboot cases are failing with timeout value,
therfore increasing the timeout value in function.
Change-Id: I262120e87d36b2d5cc7244b37d5f6e051c964f0f
Signed-off-by: Sri Vignesh <sselvan@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do following updates:
- Use 'list' object type in comparisons instead of 'str'. Because
it is differently treated in py2 and py3. Example:
# In py2 isinstance(u'foo', str) is False
# In py3 isinstance(u'foo', str) is True
- Add comma separators in the setup.py for it's classifiers.
Before it was mistakenly made as one long line.
- Fix pep8 errors.
- Place 'misc_libs.py' module's imports in alphabetical order.
- Update bunch of docstrings of 'misc_libs.py' module's functions
to make them look similar.
Change-Id: I2ea2d70746c49c9130a31fb97dec76ad38a50f62
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
|
|
|
|
|
|
|
|
| |
Dict attribute called "iteritems()" is not supported in the py3.
So, replace it's usage with another similar attr called "items()".
Change-Id: I130b7f67f0a2d5da5ed6c3d792f5ff024ba148f4
Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
|
|
|
|
|
| |
Change-Id: I3fb826bd0ecbe46bee4b9f8594b23f16921adbec
Signed-off-by: Arjun Sharma <arjsharm@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After changing the type of unit file from INFO
to DEBUG. Performing daemon reload. Earlier using
running commands continuosly to generated debug
messages instead of running continuosly, restarted
glusterd in one of the nodes so that while handshake
the logs will be in Debug mode. After validating
reverting back the unit file to INFO and daemon
reload
Change-Id: I8c99407eff2ea98a836f37fc2d89bb99f7eeccb7
Signed-off-by: Bala Konda Reddy M <bmekala@redhat.com>
|
|
|
|
| |
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
|
|
|
|
|
|
|
| |
that nodes are online even if nodes are still offline
Change-Id: I57da740fbc8eef2e41d5dfe3bb82a8d487630893
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
|
|
| |
cache
Change-Id: Ia6a2d73da1c3ea2a123da55c6bcd063b1e7404a4
Signed-off-by: Ambarish Soman <asoman@redhat.com>
|
|
|
|
|
| |
Change-Id: I72e9023125f654f3a04e96243a94218461c934da
Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
|
|
|
|
|
| |
Change-Id: I59d3dc6da29eeefb9b1025cf9cf2b2540ea33d4e
Signed-off-by: Akarsha Rai <akrai@redhat.com>
|
|
|
|
|
| |
Change-Id: I591c9ca5da52e76b3300c243a5121d27ac89a8f1
Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
|
|
|
|
|
| |
Change-Id: Ib7dcf883d9aacd89c652d8cee9e66d5bc44169b0
Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Description :
Function to check whether given nodes are online or not
Change-Id: I92a40ac1a6bcdbdfb845413902dd0a798c68ed5c
Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
|
|
Change-Id: I2dba55b945a4371877fad6e56e3147ffbb7c6456
Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
|