summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add devel/authorized_keys to .gitignoreHEADmasterSachin Prabhu2021-04-231-0/+1
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Setup CentOS7 Samba build environmentSachin Prabhu2021-04-233-0/+99
| | | | | | | | | Setup samba build environments on CentOS 7 storage* vms. This is useful when having to rebuild samba to test build failures on the system setup. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add devel ansible playbooksSachin Prabhu2021-04-234-0/+75
| | | | | | | | | | These ansible playbooks are useful when manual access to the test vms are required. These aren't run as part of the automated testing. The first ansible playbook is fix_ssh.yml which modifies configuration to allow for root login and and copies over authorized_keys file. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Move Fedora setup instruction to docsSachin Prabhu2021-04-231-0/+0
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add instruction on setting up ssh connectionsSachin Prabhu2021-04-231-0/+46
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Fix make cleanSachin Prabhu2021-04-221-5/+5
| | | | | | | | | The last update to add make clean introduced errors. We cannot clean the Vagrantfile before calling vagrant destroy. This fixes the regressions introduced by that update. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add make clean to MakefileSachin Prabhu2021-04-162-0/+13
| | | | | | Allow users to remove temporary files with make clean Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add Vagrant file and distro-vars.yml to .gitignoreSachin Prabhu2021-04-161-0/+2
| | | | | | These files are autogenerated by the ansible scripts. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add instructions to run the CentOS8 version of vmsSachin Prabhu2021-04-151-0/+6
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Enable glusterfs repo for CentOS 8Sachin Prabhu2021-04-151-0/+6
| | | | | | | This is required for additional dependencies required by the nightly glusterfs build. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Force update of installed Py modulesSachin Prabhu2021-04-152-0/+2
| | | | | | | pip does not download the latest version when installing Py modules using pip. We force the update using the --ignore-installed argument. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Restart systemd on CentOS8Sachin Prabhu2021-04-151-0/+3
| | | | | | | | | | | The command systemctl list-units on CentOS 8 fails with Failed to list units: Access denied To avoid this problem, restart systemd. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for client.prepSachin Prabhu2021-04-151-0/+17
| | | | | | | Also add make since the CentOS8 images used by vagrant does not include make. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for samba-glusterfs.setupSachin Prabhu2021-04-151-0/+16
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for ctdb.setupSachin Prabhu2021-04-151-0/+13
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for glusterfs.setupSachin Prabhu2021-04-151-0/+5
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for node.prepSachin Prabhu2021-04-151-0/+17
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for common.prepSachin Prabhu2021-04-151-0/+15
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 specific actions for setup.prepSachin Prabhu2021-04-151-0/+46
| | | | | | | | | | 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>
* Add CentOS8 specific actions for host.updateSachin Prabhu2021-04-151-0/+5
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 distro variable valuesSachin Prabhu2021-04-151-0/+2
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add instructions for setting up a Fedora environmentSachin Prabhu2021-04-141-0/+50
| | | | | | Instructions for a freshly installed Fedora 33 environment. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific tasks for client.prepSachin Prabhu2021-03-232-16/+19
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for samba-glusterfs.setupSachin Prabhu2021-03-232-15/+19
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for ctdb.setupSachin Prabhu2021-03-232-14/+17
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for glusterfs.setupSachin Prabhu2021-03-232-6/+9
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for node.prepSachin Prabhu2021-03-232-18/+21
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for common.prepSachin Prabhu2021-03-232-35/+34
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for setup.prepSachin Prabhu2021-03-233-35/+40
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for hosts.updateSachin Prabhu2021-03-233-5/+12
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Generate distro-vars.yml and use itSachin Prabhu2021-03-234-0/+12
| | | | | | | | | | | 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>
* Generate VagrantfileSachin Prabhu2021-03-233-1/+7
| | | | | | | 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>
* Add local.defaultsSachin Prabhu2021-03-232-0/+14
| | | | | | Use this role to setup defaults in case runtime variables are not set. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Install glusterfs-geo-replication which is needed for the nightly buildsSachin Prabhu2020-12-111-0/+6
| | | | | | | | | | | | 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>
* Disable intervention of gluster-ansible-features in setting up CTDBAnoop C S2020-10-211-0/+9
|
* Add new dispersed volumesSachin Prabhu2020-08-243-3/+27
| | | | | | This allows us to run our tests on dispersed volumes. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Replace variable samba_share with a listSachin Prabhu2020-08-243-12/+16
| | | | | | | 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>
* Split out permission fixing of shares when setting up sambaSachin Prabhu2020-08-242-17/+20
| | | | | | | | 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>
* Move replicated volume creation to its own taskSachin Prabhu2020-08-244-33/+46
| | | | | | | Use the gluster module in ansible instead of the gluster-cluster ansible script. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Move smb share configuration out of smb.conf templateSachin Prabhu2020-08-243-9/+35
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Enable gluster service and open up gluster portsSachin Prabhu2020-08-241-0/+6
| | | | | | At this moment this is done by the gluster-cluster ansible scripts. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Rename ctdb cluster vars to be fs agnosticSachin Prabhu2020-08-242-6/+10
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Rename gluster_cluster_hosts to cluster_hostsSachin Prabhu2020-08-244-4/+6
| | | | | | Moving off the gluster-cluster ansible scripts variable names. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Use variable samba_share in the log file createdSachin Prabhu2020-08-241-1/+1
| | | | | | | Use the variable samba_share instead of building the name using gluster_cluster_volume variable. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add new lvs to the storage nodesSachin Prabhu2020-08-241-6/+16
| | | | | | In preparation to add more gluster volumes to the server. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add a third diskSachin Prabhu2020-08-241-1/+1
| | | | | | | 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>
* Install iso8601 python 3 moduleSachin Prabhu2020-07-231-0/+1
| | | | | | This is needed for the selftest python scripts used by smbtorture tests. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Remove temporary pip2 sectionSachin Prabhu2020-07-231-6/+0
| | | | | | | 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>
* Add separate sections for pip2 and pip3Sachin Prabhu2020-07-211-2/+10
| | | | | | | | | | | | | | | | 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>
* Avoid adding volume share to smb.conf using 'user.smb' optionAnoop C S2020-06-194-8/+11
|