Tobiko downloads images from their URL when their test need to upload
them to glance
In some cases this is problematic because some of those images are big
and there may be timeouts affecting the tests
With this patch, tobiko downloads the ubuntu-minimal image before the
tobiko tests are executed (during the execution of the ansible/infrared
tobiko roles), which should avoid timeouts during the test execution
The intention is to extend this patch to other images such as CentOS,
RHEL and Fedora
NOTE: this patch does not modify the tests, it just adds the role so
that the Ubuntu images are downloaded - a later patch will modify the
tests so that they stop downloading the images and find them in the
configured path instead
Change-Id: Ifff8214b7d4a3c2a78d97b171714090fd64d60dd
- Test cases are being installed on /opt/stack/tobiko
as the folder is used for DevStack plugin
- DevStack plugin generate /etc/tobiko/tobiko.conf file
- Tobiko roles use zuul user on test host
- Test cases get conf from both configuration files:
* /etc/tobiko/tobiko.conf (generated by DevStack plugin)
* /opt/stack/tobiko/tobiko.conf (generated by tobiko-configure
role)
- Tobiko roles are now in charge of managing files recollection
therefore log file is no more required to be written
into DevStack logs folder
Change-Id: If9bc702c3b97764a7ed81e074b407e2f336a6fbf
Last Nova has stopped supporting python versions smaller
than version 3.6. This is creating troubles to use
CentOS 7 with devstack because support for Python 3 and
CentOS 7 is still not merged
This has been required as below change is still not merged:
- https://review.opendev.org/688799/
Change-Id: Ia3a15b8fe2badbcb0831136a85eeddc7c65fb524
- Execute ansible linters on ansible files
- Join all linters verifications in one single job
- Fixes Ansible roles and playbook to pass verification
- Leave pep8 stand alone verification because of legacy
OpenStack standard testing interface (required by
openstack-tox-py* zuul project templates)
This is intended to reduce the amount of CI jobs
required to check and gate this project while
adding verification for ansible playbooks and roles
Change-Id: I44e03ffc8af21e798f8c7f709728a318764b328f
- copy tobiko source files to target host
- provide basic tobiko.conf file with DEFAULT section
- make sure logs dir is writable
- remove obsolete setup tobiko logs dir role
Change-Id: Icff3d8450ce4d84293783d7971f2851f69c00a87
Tobiko should now log its output to '{{ ansible_user_dir }}'
directory thus it will be fetched by Zuul after job ends and
we will be able to check tobiko logs after every CI job run in
Zuul.
Change-Id: I2f6e0edd2878e5a7ffd9697a3eaeea61a4c03674
The purpouse is being able to test L3-HA scenario tests
Co-Authored-By: Slawomir Kaplonski <skaplons@redhat.com>
Change-Id: I1710c1abf644a6d00f3e4dfc1875b33b84a10013
- add py36 environment
- separate unit tests requirements from neturon test cases
- rename zuul project file
- remote tempest from unit tests requirements
Change-Id: I7b054f679c44cde70d00d1f030853b0c6f528d4d