15 Commits

Author SHA1 Message Date
Slawek Kaplonski
b357f56600 Set correct min version of tox to be installed
Depending on the branch of the OpenStack (requirements repo) different
min version of tox should be installed. This patch lowers min version of
tox for stable/2023.2 to the tox>=4.5.1 and for stable/2023.1 and
stable/zed to tox>=3.28.
This change is the same as done in [1] and [2] for the tobiko ansible
roles.

[1] https://review.opendev.org/c/x/tobiko/+/912718
[2] https://review.opendev.org/c/x/tobiko/+/913742

Closes-Bug: #2058378
Change-Id: I807c2735e1789cfa8b8008156f980b3c208ea6ca
2024-03-20 12:03:59 +01:00
Eduardo Olivares
f878ef48b5 Upgrade tox version to 4.13
sphinx version also updated

Depends-On: I2c61e753e55340b19ab941fd532de0cab875d51c
Change-Id: I80ae1fc69d5e8e2a31ac52c02a1604225eefba3c
2024-03-05 13:12:39 +01:00
Eduardo Olivares
958b33820c Replace ubuntu-focal by ubuntu-jammy
nova compute requires libvirt 7.0.0 or newer, which means no job can
be executed on Ubuntu 20.04

Besides, devstack drops support for focal on this patch:
https://review.opendev.org/c/openstack/devstack/+/885468

Change-Id: I6fa5b70558e886b17c63dab61fad3c7a2728d148
2023-09-12 16:58:08 +02:00
Slawek Kaplonski
310eddd59b Always create keystone admin endpoint when tobiko is used
Tobiko requires keystone admin endpoint to be created. It was disabled
to be created by default in Devstack by [1].
This patch forces this option to be enabled when tobiko is going to be
installed by devstack.

[1] b538b3267c

Change-Id: I62a25e3de2db8b0aab42eac34bc881822177db15
2023-04-03 09:58:16 +02:00
Federico Ressi
ad9a93e675 Fix configure_libguestfs_tools
Change-Id: Ib67347441942ce910c87581afe5e8aa81a8b0630
2021-11-19 12:29:05 +00:00
Slawek Kaplonski
d51ef7eaa3 [Ubuntu] Configure permissions to vmlinuz image
To be able to use customize-image tool in Tobiko, libguestfs needs
to have access to the vmlinuz image file.
This, at least on Ubuntu based system isn't conigured as it should be
(at least it wasn't in my case).
So this patch adds small function which will ensure vmlinuz permissions
are set correctly and customize-image tool can be used later during the
Tobiko runs.

Change-Id: I65f9f2017f27de7e9f2e1ed4129282cc090484f7
2021-11-15 08:20:39 +00:00
Federico Ressi
a030e9795f Allow virt-customize to work on Ubuntu hosts as regular user
Ensure /boot/vmlinuz file can be read from regular users

Change-Id: I40628231b9d74e9786509675a97242df717910c8
2021-05-20 04:14:48 +00:00
Federico Ressi
e35407b2b4 Set triple.undercloud_ssh_hostname to empty
Depends-On: https://review.opendev.org/c/x/tobiko/+/778672
Change-Id: I692c221a9375467365956cd068422ea66dff3650
2021-03-04 16:10:41 +01:00
Federico Ressi
47a45a8728 DHCP is no more required for external networks
Change-Id: I1c8de2114a9702649a50dff9123233b407026f9e
2021-02-12 18:39:28 +00:00
Federico Ressi
91e056af44 Add support to external network option
Change-Id: I95d1d89cbbacfb1abab6aa9d8ee088c9d6669760
2020-11-29 20:31:19 +00:00
Federico Ressi
a2a8b4467d Ensure local SSH key can login localhost
Change-Id: I03f7b9ec68c55f4819698775524ce4df6875d511
2020-11-20 06:22:11 +01:00
Federico Ressi
3b7f6972b2 Write unbound nameservers to tobiko.conf
Change-Id: Ic4602e580202e8d1fa2005c932f2b7ba1e44e0e3
2020-11-16 11:08:53 +01:00
Federico Ressi
341a3db161 Generate SSH key pair when it is missing
Depends-On: https://review.opendev.org/760088/
Change-Id: Ie17cd336d9273912192e9f3477e1775b4569ad7a
2020-10-29 01:09:04 +00:00
Federico Ressi
a83149e39e Run test cases at the end of provisioning
Change-Id: I63f2d5041b391ff052f8846a8793f51fb00fb6df
2020-09-30 13:49:03 +02:00
Federico Ressi
1af98dca8e Add intial files
Change-Id: I4f80853cacd16b8500376cd429e866a389ce8408
2020-09-29 11:25:40 +00:00