summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* running_on_volumes, running_on_mounts should be an optionShwethaHP2017-06-271-5/+10
| | | | | | | | | | under gluster in the config file. Currently the config file has the options under gluster tag. Hence making the appropriate changes in the runs_on to parse the options correctly. Change-Id: Iec95d1884b13c349a36c4324b571a1c0f23c930a Signed-off-by: ShwethaHP <spandura@redhat.com>
* add docker dir with Dockerfile and READMEJonathan Holloway2017-06-222-0/+40
| | | | | | | | * Dockerfile for creating a glusto-tests container. * README with some basic information for now. Change-Id: I10d467371b430489a240e979ebc3893f7cc578dd Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Adding a pointer to HOWTO from ReadmeShwethaHP2017-06-201-0/+3
| | | | | Change-Id: I898f0cfc2ffba647487c54bb929d37aad90974aa Signed-off-by: ShwethaHP <spandura@redhat.com>
* Added gdeploy configuration files ad jinja templates for nfs ganesha operationsArthy Loganathan2017-06-208-1/+107
| | | | | Change-Id: I30f8b464d2193909a0d83daff7ea695b97fb3863 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Fix to match only the given volname in showmountArthy Loganathan2017-06-201-1/+1
| | | | | Change-Id: I41290d79f016e590a936d031665259f61aa1474a Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Test scripts to test nfs ganesha volume exports, refresh config when IO is ↵Arthy Loganathan2017-06-201-0/+212
| | | | | | | in progress, enable and disable cluster Change-Id: I15adbc73d72a67bd6b4189298631c9374540f2bb Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Added nfs ganesha tests to run IO test suites from multiple clients and ↵Arthy Loganathan2017-06-203-0/+349
| | | | | | | checks nfs ganesha behaviour Change-Id: I2dc7f0fb016982b7b7fa4a87c0310e4c96376f94 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Added documentation for installing latest version of gdeployArthy Loganathan2017-06-202-0/+10
| | | | | Change-Id: Ia653f5659a6e93037e22b835a87122d00d0b1d6a Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Added library functions for nfs-ganesha featuresArthy Loganathan2017-06-202-0/+1406
| | | | | Change-Id: I2f35a218630e23c005bb995ac8513118553aeba0 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Minor changes in gluster base class wrt nfs-ganeshaArthy Loganathan2017-06-122-6/+13
| | | | | Change-Id: Iaceb22cd5b2fe920c9cdc6d110d26939e26e5ffe Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Resolving the Cyclic Imports. It cased during resolving theShwethaHP2017-06-061-1/+1
| | | | | | | merge confilts. Change-Id: Ie48d758c8883b8189ece735708fb5469ece5a0c2 Signed-off-by: ShwethaHP <spandura@redhat.com>
* Adding sanity heal tests when IO in progress.Shwetha Panduranga2017-06-013-3/+857
| | | | | | | | | 1) test heal with replace-brick when io in progress 2) test heal when bricks goes offline and comes back online when io in progress. Change-Id: Id9002c465aec8617217a12fa36846cdc1f61d7a4 Signed-off-by: Shwetha Panduranga <spandura@redhat.com> Signed-off-by: ShwethaHP <spandura@redhat.com>
* Adding a sanity case to test shrinking volume. i.e remove-brickShwetha Panduranga2017-05-313-22/+387
| | | | | | | | | Remove brick Sanity case covers testing of remove-brick of a subvolume, waiting for rebalance to complete, commiting the operation and validate IO is successful on the mount. Change-Id: I5912f62b3df5dfb5bf5339de036967f83b6a5117 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding Quota, Snapshot Components Sanity Tests.Shwetha Panduranga2017-03-082-11/+287
| | | | | | | | | 1) Quota: Enabling, Setting Limit, Disabling, Listing of Quota is tested. 2) Snapshot: Creating, Listing, Activating, Viewing the snap from mount, De-Activating of snapshots is tested. Change-Id: Ia91e86e121d5d3fcc038704031617594d3d601d4 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding a test for Gluster Basic Component Verification Sanity Suite.Shwetha Panduranga2017-03-034-131/+429
| | | | | | | - expanding the volume i.e test add-brick is successful on the volume. Change-Id: I8110eea97cf46e3ccc24156d6c67cae0cbf5a7c1 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding a Gluster Basic Features Sanity test:Shwetha Panduranga2017-03-022-11/+213
| | | | | | | | | | Test volume set option while IO is in progress. This basically tests IO to be successful after the client graph changes. (Note: This case will be run as part of Build Verification Test Suite) Change-Id: I111cf0214596fe32c872fdc73c5ccb8ab4a308be Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding steps to test to wait for glusterd to be online andShwetha Panduranga2017-02-271-6/+54
| | | | | | | validate all peers are in connected state. Change-Id: I3aa725aea35d404326610a2490b3f48e7fa46546 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding a new test to VVT:Shwetha Panduranga2017-02-276-609/+602
| | | | | | | | | | | | | | | | | | | | | 1) glusterbaseclass: - Making changes in glusterbaseclass to not necessarily have volume_type and mount_type. 2) volume_libs: - setup_volume don't have to export the volume. It just creates starts and setup's any operation on the volume. - Moved the sharing/exporting the volume to BaseClass 3) Renaming samba_ops to samba_libs to have better naming practice. 4) Adding nfs_ganesha_libs for any nfs related helper functions 5) Adding a new vvt case which creates, deteles, creates the volume. Change-Id: I238c349df7165d669d3bc7234d97845dba2f51a6 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding Gluster Basic tests like:Shwetha Panduranga2017-02-271-0/+79
| | | | | | | 1) Tests glusterd start, stop, restart services Change-Id: Ib424e24be49a7100808449e3e82706564088dcf6 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding misc-libs module to provide helpers for misc tasks.Shwetha Panduranga2017-02-214-0/+424
| | | | | Change-Id: I2dba55b945a4371877fad6e56e3147ffbb7c6456 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding io utils:Shwetha Panduranga2017-02-141-0/+286
| | | | | | | | | | | | | | | | | 1) collect_mounts_arequal: Required for most of the testcase validation. 2) log_mounts_info: Get some data of mounts before the test and after the test for debugging purposes in case of failure 3) get_mounts_stat: Recursively get stat from mounts. 4) validate_io_procs: Validates the io's which were started asynchronously on all the mounts. 5) cleanup_mounts: remove all the data from mounts. Change-Id: Idce5304a7c7656088ea73675f953afe976eb1721 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding helper functions to volume libs:Shwetha Panduranga2017-02-061-10/+100
| | | | | | | | | | | 1) To check if volume is exported as nfs/cifs share 2) A function which logs volume info and volume status. This will be used in most of the tests for validation purposes 3) Check if all process of the volume is running or not. This will be used mostly in all the cases for validation purposes. Change-Id: I0cd797e5bfe269da8630b41193ea458be3a720f9 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Modifying the contents of HOWTO to make it more clear on setting up glusto-testsShwetha Panduranga2017-02-061-62/+101
| | | | | | | management node. Change-Id: I206f9f520a0273a53419cd0e05cc3853b2c2c1ab Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Ignore the glustolibs-misc setup.py for validating pep8 standardsShwetha Panduranga2017-02-031-0/+1
| | | | | Change-Id: Ie1fdbdf66020efd65d91f25733075b3637d098e2 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Raise custom exceptions rather assert failuresNigel Babu2017-02-013-16/+46
| | | | | | | | | The setup should never raise an assert failure in a test. Only tests should fail an assert. If an essential test setup doesn't work, we should be raising custom exceptions instead. Change-Id: I6d5cce448132b71b6fde3a39fef894be8b1216d3 Signed-off-by: Nigel Babu <nigelb@redhat.com>
* Fix tox.ini so we can run lint testsNigel Babu2016-12-191-1/+2
| | | | Change-Id: I3f919ab20442eb0f6a4c1efe08bf7600f1dd18a3
* Re-Structuring the directory for more better understanding of test typesShwetha Panduranga2016-12-164-1/+67
| | | | | Change-Id: I9284eb7ddaf727eef2d107e1e886fc60ec760446 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Clean up pyflakes and pep8 errorsNigel Babu2016-12-1221-101/+82
| | | | | Change-Id: Ibdd092118d3bb912716c46fd278ef3c680a6e742 Signed-off-by: Nigel Babu <nigelb@redhat.com>
* docs: add requirements.txt for rtd autoapi genJonathan Holloway2016-12-051-0/+4
| | | | | Change-Id: I7bcf12d76cee00e3ce031c1d6ccacbd3b92a48df Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Adding a step-by-step procedure on howto create glusto-tests testrun.Shwetha Panduranga2016-12-051-0/+183
| | | | | Change-Id: I6173f73126a7217d8666eb35177cee681637a052 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Added comments to each section of example gluster config file.Shwetha Panduranga2016-12-041-9/+84
| | | | | Change-Id: Ied0c3e3382145e52a525ad15b3673949742664de Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* docs: initial sphinx setupJonathan Holloway2016-12-048-0/+964
| | | | | Change-Id: Ibeac5bba6423cbf93577d8d11cc8f3540e900a5a Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Modifying the glusterbaseclass not to update the defaul values to global config.Shwetha Panduranga2016-12-052-53/+77
| | | | | | | | | For example: if 'volname' is not in mount, then do not update the default volname in g.config['mount']. Change-Id: Ib547b51372b16a08b07c11a5dcf70feca8674075 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Start gluster nfs-server only when the mount type is 'nfs'.Shwetha Panduranga2016-12-012-9/+10
| | | | | Change-Id: Ie7a25927d9bd55a7115adfae4fd550f96f435950 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Improving the GlusterVolumeBaseClass to check for nfs and smb exports.Shwetha Panduranga2016-11-302-116/+54
| | | | | | | | | | Removing starting glusterd, peer probe from VolumeBaseClass and assuming the config/setup phase to handle the glusterd, peer probe. Changing the BVT case to baseclass 'GlusterVolumeBaseClass'. Change-Id: I930d785dfe652b826e4a1853f30a954f98d15ede Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding info about glusto-tests.Shwetha Panduranga2016-11-101-3/+97
| | | | | Change-Id: Ic68bf1c2b8782477801ebc43713e4a0076e371eb Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* set nfs.disable to off on the volume to start nfs server on that volume.Shwetha Panduranga2016-11-071-0/+7
| | | | | Change-Id: Ic63a69ec0d0cafcb71059b41625fe054167910d0 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Recursively copy the data_files to the specified location maintaining the sameShwetha Panduranga2016-10-251-7/+3
| | | | | | | directory structure. Change-Id: I1b50bb404066dc1a1562f406896b6a5bbf866a72 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Modifying file_dir_ops to handle/return failures during creation of deep dirsShwetha Panduranga2016-10-251-24/+207
| | | | | Change-Id: I16c14564f3b0a9067e420715319cf21c9459815f Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Added lib_utils.pyArthy Loganathan2016-10-251-0/+662
| | | | | Change-Id: I4cd5061d9df470aed1a620eb3f67cab236645215 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Adding a bvt testcaseShwetha Panduranga2016-10-264-39/+576
| | | | | Change-Id: Ide7e3bac46fbaf354a2a5c8baef8510b4aefec78 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Added volume_list() and get_volume_list() in volume_ops.pyArthy Loganathan2016-10-251-0/+57
| | | | | Change-Id: I66339659158efd3af466ccd83aa243011eee61d8 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Changed GlusterDemoClass to GlusterVolumeBaseClassArthy Loganathan2016-10-251-1/+1
| | | | | Change-Id: I7cb15b6fb6f3d6a2a24c9c1a6677b9d5948142ea Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Adding a script to perform fd writesShwetha Panduranga2016-10-201-0/+254
| | | | | Change-Id: I76d6d208618424f020506f1e26493a65da4a97b3 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding a sample io program which creates/renames/list files/dirs under given dirShwetha Panduranga2016-10-172-0/+502
| | | | | Change-Id: Iefeadfe3bd943b2488775bb214b98967f8ce7133 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding libs for brick ops, volume helpers, mount helpers, gluster baseShwetha Panduranga2016-10-1712-0/+4240
| | | | | | | class, heal related helpers, samba helpers, and windows ops helpers Change-Id: I0ad8fc7548c88e89d2ba6441166b9a38af76cea0 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding library functions for bitrot, quota, rebalance, tiering, snap and ↵Arthy Loganathan2016-10-056-0/+4060
| | | | | | | volume ops Change-Id: Iadb0772fc338f5dffd485b2526babaffb3494be6 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* glustolibs: add initial treeJonathan Holloway2016-09-297-0/+105
| | | | | Change-Id: I08900d87fcd9a11b4f157d235facb766905d5ae2 Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* readme: add library names (initial repo test)Jonathan Holloway2016-09-261-0/+3
| | | | | Change-Id: I0c5c38a65451eaddeb93c00c2c0ccfd18931424b Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Initial commitNigel Babu2016-09-271-0/+2
Change-Id: I79b58f0be2319e22462dae03a266f1d18b413ff4