Skip to contentSkip to conversation

teuthology integration tests on OpenStack

DISCUSSION Loic Dachary 1 participant 1 message Jul 12, 2015

lore
Share & tools
lore
#0 lore raw

Hi Zack & Andrew,

It turns out the simplest way to install teuthology on OpenStack (the oneliner described at http://dachary.org/?p=3790) is also the simplest way to run integration tests. Last Friday we discussed the fact that the teuthology installation is intrusive: it modifies system files, runs a web service, reset ~/.teuthology.yaml etc. But it can conveniently be contained in a dedicated, all in one (paddles, pulpito, workers, client) virtual machine.

Assuming a jenkins slave has access to an OpenStack tenant, it could be something like:

. openrc.sh
teuthology/openstack-bootstrap.sh ovh
ssh -i $HOME/teuthology-admin teuthology grep -qq 'openstack-integration: commands succeeded' /var/log/cloud-init.log nova delete teuthology

The http://tracker.ceph.com/issues/12295 feature request was created for that purpose. At this point it is primarily about creating the jenkins slave and since I know nothing about that (rather I forgot the little I learnt a few month ago ;-), I'm hoping someone will take care of it.

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre