| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
We use pip to upgrade the jinja2 library to the latest version. This is
required when re-running the scripts to install the test machines.
bug: https://github.com/gluster/samba-integration/issues/60
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
For debugging network connectivity issues, we printed the contents
of /etc/resolv.conf. This is not needed any more. Removing it.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
| |
Can be used by to manually re-run tests.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
Fetch tests from the samba-integration-tests repo and run on the client.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
This is needed to be able to read the yaml file by the testing
utilities.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
These packages are also used by the client node to install the
smbtorture commands.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
| |
site.yml is used to create both client and cluster machines.
The previous patch introduced a regression which meant the client vms
are not setup.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
| |
Add targets to build
a) clients
b) the entire the cluster and the clients
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
| |
By accident an ssh command using /root/.vagrant.d/insecure_private_key
was commited into the tree. Fix this by using the pre-created
ssh-config-host.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
|
| |
This allows callers to follow the status as the commands are executed on
setup.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
This contains information about the test setup which can be used by the
testing infrastructure to run its tests.
Signed-off-by: Sachin Prabhu
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Write /root/test-info.yml with information about the cluster. This will
be used by the tests to be executed on the client.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
To prep client machines.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
This vm will be used to run the client tests on the cluster.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
This makes it easier to reuse the ip address list for other purposes.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Anoop C S <anoopcs@redhat.com>
|
|
|
|
| |
Signed-off-by: Anoop C S <anoopcs@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that we have following directories created as part of CTDB packages
from nighlty builds we no longer need to have them explicitly created.
/etc/ctdb/events/legacy
/var/lib/ctdb/state
/var/lib/ctdb/persistent/
/var/lib/ctdb/volatile/
Signed-off-by: Anoop C S <anoopcs@redhat.com>
|
|
|
|
| |
Signed-off-by: Anoop C S <anoopcs@redhat.com>
|
|
|
|
|
|
| |
Have it include roles gluster.infra and gluster.cluster.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
These actions are also used in preping a client. So we split these
actions out into common.prep which can also be used by the client.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
| |
Present the setup scripts with completely updated hosts.
Updating in parallel will also speed up the install process.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
|
|
|
|
|
| |
On a Centos 5 machine, vagrant ssh-config generates an ssh-config with
the file for IdentityFile enclosed in quotes. The current regex doesn't
take care of trailing ".
We do not need an elaborate regex for the ansible lininfile call and
replace the existing one with a simpler one.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
| |
Typo to have the second "state" field.
"state: enabled" implies "state: present" and the service is to be
started.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
This will carry the public ips required for the ctdb setup.
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
| |
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
| |
Use opportunity to clean up typo
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This is an attempt to unblock the issue with peer-probe in the centos-ci
due to lack of name resolution from libvirt/dnsmasq.
For now, the hosts file is hard-coded. If this works, we should generate it.
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Intermittently, there is failure to bring up the vms in centos-ci
with the error message of:
> Call to virDomainCreateWithFlags failed: the CPU is incompatible with
> host CPU: Host CPU does not provide required features: svm
Using cpu_mode='host-passthrough' solves the problem by disabling cpu
emulation and using host cpu in passthrough mode.
Check out:
https://bugzilla.redhat.com/show_bug.cgi?id=1467599
https://bugzilla.redhat.com/show_bug.cgi?id=1386223#c10
vagrant-libvirt/vagrant-libvirt#667
Fix taken from
https://github.com/heketi/heketi/pull/1008
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
|