| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed the issues with UT due to refactoring of getDisksForBrick
function
Change-Id: Iae2737913d35d117f8160e3f985d9f07d9f9e333
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7675
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Bala FA <barumuga@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modifed the storage utils to add the utility functions
check the disk status
Change-Id: If4eac75451071456876a858e2bc4d2d262a9e451
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: http://review.gluster.org/7635
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
fixed pep8 issues in glusternagios/glustercli.py
tests/test_glustercli.py
Change-Id: Iea9d12543f854dca322f774f3fc255d0716107ff
Signed-off-by: n darshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/7670
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enhanced the module volumeQuotaStatus to return the list
of directories crossing the hard and soft limit along with
quota status.Now this module returns a dictionary of following
format:
{status: OK|DISABLED|SOFT_LIMIT_EXCEEDED|HARD_LIMIT_EXCEEDED,
hard_ex_dirs: ['dir1','dir2'.....],
soft_ex_dirs: ['dir3','dir4'.....]}
Change-Id: I4e8ebd622604d3d6bd28a078c73bad834d06da5d
Signed-off-by: n darshan <dnarayan@redhat.com>
Reviewed-on: http://review.gluster.org/7667
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Adding BuildRequires for the required packages.
Change-Id: I69a25f9fd6ec70d7bce778daedb8a1ac3131f454
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
Reviewed-on: http://review.gluster.org/7629
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added method to parse gluster cli output
of "gluster volume geo-rep <vol-name> status"
and provide output in the format
{volumename : {'status': STATUS,
'detail': message string}}
Temporarily parsing string output till
cli xml output is available for geo-rep
(https://bugzilla.redhat.com/show_bug.cgi?id=1090910)
Change-Id: Ie12cfcd8bb0d3bf0b3d9c13567e40d9014c47f59
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: http://review.gluster.org/7590
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Reviewed-by: Bala FA <barumuga@redhat.com>
|
|
|
|
|
|
|
|
| |
Fixed test case failures related to command execution in
test_storage.py
Change-Id: I056b03d4a41ce884e8ed03bd446ea189d556cd7d
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
|
|
|
|
|
|
|
| |
Added method to check "volume heal <vol-name> info"
Change-Id: I367eee5c63e3256f8834ea3845ed7ada6b073001
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
| |
Open tne snmpmanagers.conf file in READ-ONLY mode.
Change-Id: Ifbb487ef5da6e09b1ff0a09cfe2efb0ab10d6ab3
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
| |
Change-Id: If1f9d22c59200f707c5a86d0f89628a2d8380d55
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
|
|
|
|
|
|
|
|
|
| |
When quota is not enabled the gluster cli command
fails and was giving the wrong status.
Fixed this.
Change-Id: Ibf9709f7ccd17565473d5a258b323123f6904b82
Signed-off-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
| |
Also added the the commands for sending SNMP traps
Addressed the review comments
Change-Id: I5612aaa241eb05d606a98d604be4f70486a141b0
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
|
|
|
|
|
|
|
|
| |
Added volume quota status to glustercli
Change-Id: Iefe0766d652dab7adb5d2514410434fb5c190631
Signed-off-by: Sahina Bose <sabose@redhat.com>
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>
|
|
|
|
|
| |
Change-Id: If4a253b347ea60ce18c43cd88bd946e9b62e491f
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
|
|
|
|
|
|
|
| |
Fixed the test failure because of gluster command
Change-Id: Ica6cd01c17e6bc9a9951bfe2c488eb6a359af447
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
|
|
|
|
|
|
|
|
| |
Added test cases test_glustercli and test_storage to the
make file
Change-Id: Ia75c7abbad565ee505ccb150b1806246ba81eedb
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Corrected the command definitions which were removed
accidently
Change-Id: I1e069d178d48534b72245b025b63b5e2616bd4bd
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/22992
Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Introduced storage device utils module
Change-Id: I738b46b0750deaf91b896a8edab07b5f1a692ddb
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/22254
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduced gluster cli module to add all the gluster
related get methods
Change-Id: I440ae89ac3f93f961024a6e78870154f57b7dfbd
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/22253
Reviewed-by: Darshan Narayana Murthy <dnarayan@redhat.com>
Reviewed-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
Reviewed-by: Balamurugan Arumugam <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
Tested-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Added few command definitions
Change-Id: I90a584868f684896da49d5101ceb512a82e231dc
Signed-off-by: Nishanth Thomas <nthomas@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/22548
Reviewed-by: Kanagaraj Mayilsamy <kmayilsa@redhat.com>
Tested-by: Ramesh Nachimuthu <rnachimu@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Added command path entry for pvs command
Change-Id: I933f97fd688f67131a1109e248af4bd58d79dc81
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/21687
Reviewed-by: Balamurugan Arumugam <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The method converts a value from a given
unit to another.
Example usage: convertSize (value, 'KB', 'MB)
Change-Id: If8e004076493006234be81e656eabde7d3bf9a6a
Signed-off-by: Sahina Bose <sabose@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/32
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Nishanth Thomas <nishusemail@gmail.com>
|
|
|
|
|
|
|
|
| |
The method coverts xml object as elementTree to dictionary.
Change-Id: Ia7eca3eb52a79979d7d1ee9d4ce1c842cc86e8ed
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/22
|
|
|
|
|
|
|
|
| |
Change-Id: Ideb9975c73ebc7c7339fa4aac354a974f1e3921e
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/17
Reviewed-by: Sahina Bose <sabose@redhat.com>
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usage: rfc.sh [OPTION]... [ <REVIEWER> ]...
Options:
-a ask for Bug ID addition. This option is set by default for
non 'master' branches.
-b BRANCH use BRANCH to submitting patch. Default branch is 'master'.
-d dry run. Show what command to run.
-n do not fetch origin.
-t TOPIC use TOPIC to submitting patch.
-h display this help text and exit.
By default, BUGID is used as topic in patch submission. If TOPIC and
BUGID are used together, TOPIC gets used.
Examples:
# submit patch to master branch without reviewer
$ rfc.sh
# submit patch to master branch with reviewer
$ rfc.sh charlie@example.com
# submit patch to release-3.0 branch with topic "awesome feature" and
# reviewers charlie@example.com alice@example.com
$ rfc.sh -b release-3.0 -t "awesome feature" charlie@example.com alice@example.com
Change-Id: I6ca6f4ad70ea3a902c3415a12a12c3e46e79adef
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: https://cuckoo.blr.redhat.com:8443/12
|
|
|
|
|
| |
Change-Id: Ie8fdd046d111a4a46abe0e162985e833323bfd7d
Signed-off-by: Bala.FA <barumuga@redhat.com>
|
|
|