| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
glustolibs-gluster libs
Change-Id: I44f559dd0477f97278b1444e7a6d292ca58b99dc
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
| |
volume type configuration is defined in the config file.
Providing an option in config file to create volume with 'force' option.
Change-Id: Ifeac20685f0949f7573257f30f05df6f79ce1dbd
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Chnages incorporated as per comment
Change-Id: I9a21e0350400198806644c07474ae6aeeeae6c58
Signed-off-by: Vijay Avuthu <vavuthu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. setup_volume
2. mount_volume
3. setup_volume_and_mount
4. cleanup_volume
5. unmount_volume
6. unmount_and_cleanup_volume
These are added as static methods to give the test developer the
flexibility to call the setup/cleanup's or any other function
from any where in the testclass which inherits GlusterBaseClass
Also, this will remove the need for GlusterVolumeBaseClass and
hence removing the hardcoding of creattion of volume, mouting
in setUpClass of GlusterVolumeBaseClass.
This will also help in writing new baseclasses for example:
Block which can have class funcitons specific to block
and inherit all the functions from GlusterBaseClass
Change-Id: I3f0709af75e5bb242d265d04ada3a747c155211d
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
| |
should be setup.py install
Change-Id: I9a0a03b8ff7ea2d4f42fd845ce84c72f72e984e1
|
|
|
|
|
| |
Change-Id: I766c9e1f905728618549a7484a70008d91959538
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
| |
Change-Id: Id1c7fe24e5cd2931556e2fa6c056a7e8a2a75a5c
Signed-off-by: Devyani Kota <devyanikota@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
21:00:43 ./glustolibs-gluster/glustolibs/gluster/lib_utils.py:67:5: E722 do not use bare except'
21:00:43 ./glustolibs-gluster/glustolibs/gluster/lib_utils.py:290:5: E722 do not use bare except'
21:00:43 ./glustolibs-io/shared_files/scripts/file_dir_ops.py:308:13: E722 do not use bare except'
21:00:43 ./glustolibs-io/shared_files/scripts/file_dir_ops.py:316:13: E722 do not use bare except'
Change-Id: Ia0babf3d5a10b19c48425e4fcbcb8e79eea5e391
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
| |
Change-Id: Ie8237836a41d39de0de84b1d4d4b49f9af74b237
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
|
| |
* Dockerfile: fix gdeploy pkgname and add code coverage tools
* README: update command examples
Change-Id: I73617fbbde6aff34fec730601dcc6baec2b921fa
Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
|
|
|
|
|
|
|
| |
specified
Change-Id: Icb47d923860bbd2c1c70d2f7c23965a5368afa52
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
|
|
| |
logging
the output
Change-Id: I6ff7e363871607c2f9d4272be7198150db59af5d
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
| |
Mounting of a volume will not always be distributed volume. Providing a option to mount a local
volume as well.
Change-Id: Iadbb596fba7e2a5fa4ba3ba53967961a70d00c8c
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) self-heal failures: With the recent changes made to gluster for the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1480423, the location of the brick process pid's changed to /var/run/gluster.
Making the corresponding changes to glusto-tests libraries.
Moving away from referring to pid file to grep for the process with the brick name.
This fixes the issue.
2) Group options not being set properly: Since we were popping the 'group' option from the 'options'
dictionary after the group options being set to set the other volume options, the option gets removed
from the g.config['gluster']['smb_volume_options'] as well.
Hence perform a deep copy of the dict before modifying the dict.
Change-Id: I293bf81913857cb0327f30aa1db5aaa9be5a318e
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
| |
Change-Id: I5ea8b6c0b58fd19c31fc96cc567c53000cd3841b
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as 'smb share',
'nfs-ganesha export' in the config yml. Reading the configs in the gluster_base_class and
setting those configs when exporting the volumes as 'smb share' or 'nfs-ganesha export'.
recommended options when exporting volume as 'smb share':
group: "metadata-cache"
cache-samba-metadata: "on"
Change-Id: I86a118c7015eaedd849a0f6e8b613605df5b6c32
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* PyYAML is already installed via pip form glusto image and
gdeploy installs PyYAML as dependency from rpm. The resulting
conflict fails the container build.
Dockerfile: changed order of install, added glusto and pylint/pep8
defaults.yml: sets glusto defaults in container image
Change-Id: I47eaa1fbe74cc619043d975034083c5766e6acd1
Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
|
|
|
|
|
|
|
| |
create hard link, read, copy and delete
Change-Id: If81480450bdaecc59896682d6febb8c6c9463aa7
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
|
|
| |
gluster_base_class.py: fix error by adding check to ensure gluster entry exists
when no gluster object defined in config file
setup.py: version up to 0.21
Change-Id: I37001673c03a32571b78bbd32489fc1992333d73
Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Providing a section in the config file to set volume options that can be
applicable to any volume type created. The glusterbase class also reads
the volume_options if provided in config file and set it on all the
volumes being created. These volume options will be overwritten if there
are any volume options specified while defining the volumes under 'volumes'
section.
Change-Id: I0003312251b4f8b151c9ba5c71d1b6a8884cc85e
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
| |
Change-Id: I2747c3770925b8d8f05e10fb7da49d105b7130e6
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
|
|
|
|
|
| |
Change-Id: If16daf6a0633c4ea30f7fb91b919d2ec42d0ff62
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
| |
Change-Id: I78bf4eda8c350b22d3a5fabb32b5a20f48ab474e
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
| |
Change-Id: Ic066b8ad452b297a2c48e912883536ce3960c0eb
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
| |
IO is in progress and subdir mounts from client and server side
Change-Id: I80b22e6602bbc18652135211ea08710392c04cb6
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
Change-Id: I898f0cfc2ffba647487c54bb929d37aad90974aa
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
| |
Change-Id: I30f8b464d2193909a0d83daff7ea695b97fb3863
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
| |
Change-Id: I41290d79f016e590a936d031665259f61aa1474a
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
| |
in progress, enable and disable cluster
Change-Id: I15adbc73d72a67bd6b4189298631c9374540f2bb
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
| |
checks nfs ganesha behaviour
Change-Id: I2dc7f0fb016982b7b7fa4a87c0310e4c96376f94
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
| |
Change-Id: Ia653f5659a6e93037e22b835a87122d00d0b1d6a
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
| |
Change-Id: I2f35a218630e23c005bb995ac8513118553aeba0
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
| |
Change-Id: Iaceb22cd5b2fe920c9cdc6d110d26939e26e5ffe
Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
|
|
|
|
|
|
|
| |
merge confilts.
Change-Id: Ie48d758c8883b8189ece735708fb5469ece5a0c2
Signed-off-by: ShwethaHP <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
- expanding the volume i.e test add-brick is successful on the volume.
Change-Id: I8110eea97cf46e3ccc24156d6c67cae0cbf5a7c1
Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
validate all peers are in connected state.
Change-Id: I3aa725aea35d404326610a2490b3f48e7fa46546
Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
1) Tests glusterd start, stop, restart services
Change-Id: Ib424e24be49a7100808449e3e82706564088dcf6
Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
|
|
|
|
|
| |
Change-Id: I2dba55b945a4371877fad6e56e3147ffbb7c6456
Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
management node.
Change-Id: I206f9f520a0273a53419cd0e05cc3853b2c2c1ab
Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
|