| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
A difference to CentOS7, we install individual gluster-ansible packages.
The gluster-ansible package doesn't exist for CentOS 8
We also install make which doesn't exist in the CentOS 8 image used by
Vagrant.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The distro-vars.yml will be used to set variables for a specific distro.
This includes
vagrant_image, which is used to specify the image to be used by Vagrant and
distro_specific actions, which indicate the yaml file to include for
distribution specific actions.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Convert the Vagrantfile to a jinja template.
This allows us to specify which image to use by the vagrant executable.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
Use this role to setup defaults in case runtime variables are not set.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
There appears to be a bug in the nightly glusterfs builds where glusterd
would not start without the executable /usr/libexec/glusterfs/gsyncd
provided by glusterfs-geo-replication. This package isn't automatically
installed.
More information at
https://github.com/gluster/samba-integration/issues/123
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
| |
|
|
|
|
|
|
| |
This allows us to run our tests on dispersed volumes.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Replace samba_share with a dict samba_shares. This allows us to have
multiple samba shares exporting multiple cluster volumes.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
| |
We cannot loop within a block of commands. So we move the functions
required to set permissions to a new yml file and use include_task
instead.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Use the gluster module in ansible instead of the gluster-cluster
ansible script.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
At this moment this is done by the gluster-cluster ansible scripts.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
Moving off the gluster-cluster ansible scripts variable names.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Use the variable samba_share instead of building the name using
gluster_cluster_volume variable.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
In preparation to add more gluster volumes to the server.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Add a third disk vdd. This will be used to spread the bricks over three
disks on each node.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
This is needed for the selftest python scripts used by smbtorture tests.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
We have now moved over to python3 and no longer need the section to
install python modules using pip2.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CentOS 7 has python versions 2.7 and 3.8 installed. When using pip to
install these modules, the module location depends on the version we are
installing for. We use the default python location for all our
python scripts used in the test module but the newer selftest modules
requires python 3. This is making it difficult to maintain using the
right version of modules without running OS specific calls.
To avoid these versioning issues, we plan on moving our scripts to
python 3 and while we transition, we temporarily use pip for both python
2 and python 3. We intend on removing the section for python 2 in the
near future.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
| |
|
|
|
|
|
|
|
| |
This feature isn't currently used. It is better handled by the test
runner instead.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Various combinations of test mount points were generated for the clients
with the expectation that they will be useful when testing. Since then,
we have created a test runner to run tests. These mounts are better
handled from the test runner instead.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
| |
|
| |
|
|
|
|
|
|
| |
Failure in running tests should result in human readable output.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Allow users to pass variable test_repo_pr in EXTRA_VARS to test specific
prs in the test repo.
example:
EXTRA_VARS="test_repo_pr=59" make client.test
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
At the moment we run the tests in the same playbook as setting up of the
client machines. With this patch we separate out these two distinct
processes.
This will also allow easier development of tests as it reduces the time
required to run the tests on an existing environment.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Makes it easier for the user to confirm that the correct set of tests
are being used for the tests.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
To allow users to override variables used in the ansible playbooks. This
at the moment is only used for test_repo and test_repo_branch to allow
users to specify the repo and branch to used to run their test.
Extra variables specified in the form
EXTRA_VARS="test_repo=https://github.com/spuiuk/samba-integration.git test_repo_branch=tests-consistency_check" make setup.site
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
Allows users to easily override to use a different test repo and branch.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
Found by Anoop CS.
Signed-off-by: Michael Adam <obnox@samba.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We should not be calling make test from client.test.prep. This should
have been removed when the original client.test was split into
client.test.prep and client.test.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|