23 Commits

Author SHA1 Message Date
Federico Ressi
b696f70b21 Use the new ansible roles for DevStack CI jobs
- 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
2020-04-27 08:17:01 +02:00
Federico Ressi
6ea9300837 Test against stable/train with DevStack and CentOS 7
Change-Id: Iac38809c717c7e0c19a19fa59ff22c428daba2b4
2020-04-20 14:29:20 +02:00
Federico Ressi
4e7af0fb85 Set nova keyfile only if value is given
Change-Id: Ib3ec8038c7c75d737bbd6fbff649afb341ff4b16
2020-04-20 14:29:20 +02:00
Federico Ressi
0df9ce7868 Find an external network when no one is provided
Esternal network ID is stored in a Heat stack to keep the same network
ID for later test case executions.

Remove logic to found for looking for an external network from
DevStack plugin.

Change-Id: Ic7fe03324f4f328488988435530e127cedfab781
2020-02-20 08:23:19 +01:00
Gregory Thiemonge
61d378ac88 Fixed devstack plugin
Fixed an issue that may break a devstack env:

++/opt/stack/tobiko/devstack/plugin.sh:configure_tobiko:17  cp
/etc/tobiko/tobiko.conf ''
cp: cannot create regular file ‘’: No such file or directory

Change-Id: If885368693683e4c5d71a4b92d674c32ff02a94a
2020-01-24 17:35:58 +01:00
Federico Ressi
b2c1698245 Ensure tobiko.log is writable.
Change-Id: Ie12cb3be8f24a9bd24bae28d4a87b9661aaab1df
2019-12-04 12:02:23 +00:00
Federico Ressi
287b650b58 Update DevStack plugin
Change-Id: Ife7c0a621e276ae0f23fa0828531098939dda588
2019-11-27 10:50:57 +01:00
Federico Ressi
aeb3fcf677 Add bindep file.
Change-Id: I355a5590f8aa4e99d21813e41fe86e74bbb37803
2019-10-12 06:35:01 +02:00
Federico Ressi
e9a0120417 Add support for clouds.yaml file in DevStack plugin
Change-Id: I03c26d3fc30ad7ce172c2c5e7cd2b316f81729dc
2019-10-01 08:34:55 +02:00
Federico Ressi
e14d962f31 Automatically create SSH key file if it doesn't exists
Change-Id: I5c62dc86804a0e53b693767cbc7d15c4899c3e72
2019-07-22 11:46:52 +02:00
Federico Ressi
00473e02bf Remove configuration of flavor in DevStack plugin
Change-Id: I30a348edfbac86ffd51de8434ed19cbe4320ab9e
2019-07-05 16:54:17 +00:00
Federico Ressi
07ea422696 Implement Glance image management (setup and cleanup)
Change-Id: Ibba2b2ea4ca2e919aca3bbdde225db8f0b79450c
2019-06-27 07:46:03 +02:00
Federico Ressi
c367511145 Update DevStack plugin after Keystone auth params improvement
This include some other imporvements, like for example tobiko.log file
configuration, and making plugin more configurable.

Change-Id: I7cc36845de419fa963548ed381f26152cc8267a8
2019-05-09 14:30:41 +00:00
pkomarov
579b0beb83 Addition of (nova ssh) key_pair_fixture with cmdline,heat template,
and a stacks fixture class to be used in test_floating_ip scenarios.

Change-Id: I87c61e16b97527688e8a02277a7c6693e887692e
2019-05-06 11:54:58 +00:00
Slawek Kaplonski
94432dd1b6 Add Tobiko credentials to devstack plugin
This patch adds new settings to Tobiko's Devstack plugin to
configure credentials used in Tobiko.

Change-Id: I4b7e6cbea437b5a4c4b7789ea7f5c04a948c7fdf
2019-04-03 13:10:06 +00:00
Federico Ressi
af272c88a3 Rename tobiko.conf options and split openstack config module
Change-Id: Idce1f040f8079783bb0e9b528ffa82450d1d6c19
2019-03-28 15:22:31 +01:00
Federico Ressi
0f82027663 Rename "identity" section as "keystone" in tobiko.conf
Move all configuration options related to Keystone
API to [keystone] section.

This change also fixes a bug for configuring user and domain names
for Keystone API V3 protocol by allowing to define them via
a separate option.

Move the code that defines those options to
'tobiko.openstack.keystone' package.

These changes are intended to re-organize code and parameters by the
functionality they perform in package and subpackages that have as less
interdependency as possible in a 'aspect oriented' approach.

Change-Id: I61953150f4e3404b34b1e37310d9f2e35741ada7
2019-03-14 10:43:53 +00:00
Slawek Kaplonski
8db7a010d3 [Devstack] Use devstack's install_python3 function
This patch switches Tobiko devstack plugin to install
python 3 with helper function provided by devstack.
It is compatible with both Ubuntu and Fedora based systems.

Change-Id: I78a00c134da0ad9042994895983ed1b31fe03513
2019-03-13 22:10:45 +01:00
Federico Ressi
de45aec61d Pass options from local.conf ot tobiko.conf
Change-Id: I4fb90736e53e0ed90370cdc150a4fe4fbc7fc947
2018-12-17 15:27:48 +00:00
Federico Ressi
162fa85868 Enable heat services
Change-Id: I7fcd7a587597af56377b3422e70c9b882bd69f70
2018-12-14 12:48:21 +00:00
Federico Ressi
b7698bdaa8 Prepare devstack environment for executing tox -e neutron command
Change-Id: Ie0eaf408afced80abe96fdc9c1a42adbbed9a7f2
2018-12-12 16:03:35 +01:00
Federico Ressi
194b5eb0b2 Read OS credentials from tobiko.conf
Change-Id: Ica0edc527397bfc04a3f5b4f081f641b544fc2a9
2018-12-11 15:49:09 +01:00
Federico Ressi
bd2f9a2910 Configure DevStack job
Change-Id: Ic0e1b37b48987a8a254d3f30adfb47f282e95ade
2018-12-10 09:25:33 +01:00