summaryrefslogtreecommitdiffstats
path: root/vagrant
Commit message (Collapse)AuthorAgeFilesLines
...
* node.test: test inter-node ssh connectivityMichael Adam2020-03-251-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* node.prep: add role for preparing the nodes from setupMichael Adam2020-03-251-0/+4
| | | | | | This initially just copies the ssh config into place Signed-off-by: Michael Adam <obnox@samba.org>
* setup.prep: copy the ssh config to the setup vmMichael Adam2020-03-251-0/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Create ssh config and modify it for use on the VMsMichael Adam2020-03-251-0/+20
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add a local test for the setup machineMichael Adam2020-03-253-0/+21
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Give the setup machine an IP/IF on the cluster netMichael Adam2020-03-251-0/+3
| | | | | | This is needed to unblock gluster-ansible in the centos-ci. Signed-off-by: Michael Adam <obnox@samba.org>
* Add setup.test target to ansible/MakefileMichael Adam2020-03-251-0/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add output of `hostname` to node.test playbookMichael Adam2020-03-251-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add separate setup.prep.copy target to only start prep from copyingMichael Adam2020-03-251-0/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Enhance setup.test to cat the /etc/resolv.conf fileMichael Adam2020-03-251-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Expand node connectivity test on setup machineMichael Adam2020-03-252-2/+18
| | | | | | Test if the nodes can ping each other Signed-off-by: Michael Adam <obnox@samba.org>
* Break up setup.test and setup.run moreMichael Adam2020-03-253-6/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* vagrant: don't use `qemu_use_session`.Michael Adam2020-03-251-1/+14
| | | | | | | | | | | | | | | | centos-ci complains about it and fails. fedora needs it though. As a workaround, out this into ~/.vagrant.d/Vagrantfile: ``` Vagrant.configure("2") do |config| config.vm.provider :libvirt do |libvirt| libvirt.qemu_use_session = false end end ``` Signed-off-by: Michael Adam <obnox@samba.org>
* Ensure permissions on ssh key fileMichael Adam2020-03-251-0/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Make the network subnet to use configurableMichael Adam2020-03-251-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* vagrant: don't configure a storage pool by defaultMichael Adam2020-03-251-2/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add vagrant/ansible/MakefileMichael Adam2020-03-251-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Move the creation of the cluster to the setup machineMichael Adam2020-03-258-2/+25
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Introduce vagrant/Makefile with targets local and setup.prepMichael Adam2020-03-251-0/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Prepare setup machineMichael Adam2020-03-254-0/+59
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add playbook/roles for local preparations.Michael Adam2020-03-253-0/+40
| | | | | | | - vagrant up/provision - prepare inventory for using ansible on the setup machine Signed-off-by: Michael Adam <obnox@samba.org>
* Make storage pool for libvirt configurableMichael Adam2020-03-251-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Create two groups for the ansible inventoryMichael Adam2020-03-251-0/+4
| | | | | | admin and cluster Signed-off-by: Michael Adam <obnox@samba.org>
* Parametrize CPUS and RAM values for the nodes VMsMichael Adam2020-03-251-4/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add environment.sh to be sourced.Michael Adam2020-03-251-0/+3
| | | | | | | For now this sets the ANSIBLE_INVENTORY variable so that ansible commands can be run against the vagrant env. Signed-off-by: Michael Adam <obnox@samba.org>
* Add a setup VM.Michael Adam2020-03-252-0/+15
| | | | | | | | This also adds a no-op playbook run after setting up the setup vm. The effect of this is to let this generate the ansible inventory for running ansible outside of vagrant. Signed-off-by: Michael Adam <obnox@samba.org>
* Don't run provision for now.Michael Adam2020-03-251-7/+0
| | | | | | | Preparing to run provisioning from a setup machine instead of from the host. Signed-off-by: Michael Adam <obnox@samba.org>
* node.setup: use artifacts.ci.centos.org as source of the Gluster repoNiels de Vos2020-03-241-1/+1
| | | | | | | | | artifacts.ci.centos.org is the official name to use for the artifacts that are built through a CI job. It seems ci.centos.org/artifacts uses some form of redirection that does not work from within the CI environment. Signed-off-by: Niels de Vos <ndevos@redhat.com>
* Use gluster.cluster to create volumeAnoop C S2020-02-282-1/+23
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* Use gluster.infra to setup bricksAnoop C S2020-02-283-0/+26
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* Use GlusterFS nightly rpmsAnoop C S2020-02-283-10/+21
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* Add ansible playbook for provisioning nodesAnoop C S2020-02-283-0/+21
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* Add VagrantfileAnoop C S2020-02-281-0/+38
Signed-off-by: Anoop C S <anoopcs@redhat.com>