Commit Graph

10 Commits

Author SHA1 Message Date
Eduardo Olivares
4ad11e3710 Download ubuntu images prior to pytest execution
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
2023-02-03 08:20:04 +00:00
Eduardo Olivares
643b180873 [BGP] undercloud_ssh_key_filename added to infrared plugin options
The undercloud_ssh_key_filename was a configurable parameter, but the
infrared plugin and the tobiko-configure role did not support it
This patch adds support to configure a value for this parameter using
the infrared tobiko plugin

Change-Id: I79929044034d6e457a4673195613cc69c24afa3e
2022-11-24 12:37:00 +01:00
Federico Ressi
66744be59c Remove quota handling from tobiko-configure role
Change-Id: Ic9948410664542d80b0b445ded03ccdd64201818
2021-07-20 19:51:40 +00:00
Eduardo Olivares
ce7e827c60 undercloud_ssh_hostname should include FQDN suffix
Change-Id: I00e6af739caaf458674a6f1ca134b14f7b683ed4
2021-03-22 15:31:24 +01:00
Eduardo Olivares
e21d209587 Set undercloud_ssh_hostname on tobiko.conf
Tobiko IR tasks failed on some downstream environments when the
undercloud hostname was not undercloud-0

When this happens, the tobiko IR command can be executed with
--undercloud-host or --underclout-ssh-host options

RHOSENTDFG-1695

Change-Id: Ife055b62682044bdc446e6447ef9da562fe4bb73
Co-Author: Eduardo Olivares Toledo <eolivare@redhat.com>
2021-03-09 13:40:29 +00:00
Federico Ressi
077dc49e40 Move CI tasks from roles to infrared_plugin/roles
- create plugin roles folder with tasks required
  only by the plugin
- remove unused roles from tobiko roles folder
- link tobiko roles one by one to plugin roles folder

Change-Id: If74642f04b451cffc61c55560cd5004db14475ae
2020-05-14 09:23:47 +00:00
Federico Ressi
c9716ccac2 Update pre-run roles
Change-Id: Iaf9f31c46dbf11f3c57c084def50c0a3ab88f3f5
2020-04-14 13:57:09 +02:00
Federico Ressi
8e469b87a5 Separate roles in pre-run, run and post-run phases
Change-Id: Ibe539dd1a7be74be01310876ba04efba666f8bc1
2020-04-06 10:42:35 +02:00
Federico Ressi
384f4e9133 Help debugging tobiko-configure role with better output
Change-Id: I40b73e0dfc2b64393794648ee849489b55c185e7
2020-03-23 10:10:18 +01:00
Federico Ressi
a4ab99ba89 Spliting infrared plugin into roles
Create a set of roles to be composed into a new infrared plugin. The
final goal for these roles is to be used for either downstream and
upstream CI

Change-Id: I48d5f500c2e694c3f94ee497a0df1d92b6c411b3
2020-03-17 11:07:08 +00:00