40 Commits

Author SHA1 Message Date
Tobias Urdin
81687e2ead Convert all class usage to relative names
In Puppet 3 there was a need to use absolute
names to prevent issues. Since Puppet 4 everything
is absolute by default which makes this not needed.

We need to change this everywhere so that we can
revert the pin in [1] that now prevents us from
using the latest version of the puppet-lint check
puppet-lint-absolute_classname_check that properly
checks that we dont use absolute names.

[1] https://review.opendev.org/#/c/697742/

Change-Id: I78b74fbeb08be7234189e4d266412fb7fb7a73c0
2019-12-08 14:58:12 +01:00
Tobias Urdin
9cea44c779 Remove Neutron LBaaS
Removes from upstream Neutron in Train release and will be
removed from puppet-neutron in this [1] commit.

[1] https://review.opendev.org/#/c/658801/

Change-Id: Ica68eacc724dad6207b9f085198f921db0279ef6
2019-05-13 14:47:24 +02:00
Tobias Urdin
b743ce036c Test bgp-dragent in scenario004
Adds testing for the bgp-dragent that is
shipped by neutron-dynamic-routing in
scenario004.

Depends-On: https://review.openstack.org/#/c/586462/
Change-Id: I8998a1a0f0a8e944cd5f836b3cbe568aa99fcedb
2018-08-16 17:45:36 +02:00
Alfredo Moralejo
df32382900 Switch role name from Member to member
keystone is creating default roles for member since [1]. This
is "member" and it's not configurable so we need to switch it
in p-o-i too to avoid conflicting names errors (keystone is not
case sensitive in object names).

[1] https://review.openstack.org/#/c/572243/

Depends-On: Icd91bd27d0c0f375d2e99e9c018d3971fc49ce18
Change-Id: Id838d69e4ace9b2ea6c2a9cc6f8fd079d2115dd6
2018-06-18 13:14:27 +02:00
d1784538e6 Don't enable 'fake' driver, instead use hardware-type
Ironic removed the 'fake' drivers in [1], this
patch removes it setup in poi, instead set
fake-hardware in enabled_hardware_types.

Also add other ironic, tempest config required by
fake-hardware type.

[1] https://review.openstack.org/#/c/572454/

Depends-On: I47e886f67e51edf8f4cee3ded44496287d2298d4
Change-Id: I7ea51b6bcee0a93dda7ff54fd3388469d14a9ba8
2018-06-14 15:56:01 +05:30
Alfredo Moralejo
e40e6d934b Fix ipv6 certificate to make it compliant with IDNA
Currently we are setting "DNS.0 = ::1", but ::1 is not a valid
A-Label for IDNA so the certificate is not correct.

Additionally, we are setting wrong value for DNS.0 = 127.0.0.1
in the ipv4 certificate.

Finally, removing issuerAltName from both ipv4 and ipv6 certificates
as they are not needed for the jobs.

New versions of python-cryptography are more strict to check
certificates content and does not allow to have not compliant
DNS names so we need to fix the certificate to bump python-cryptography.

Note that horizont tempest plugin does not support ipaddress SANs based
certificate validation so I'm disablint certificate validation for
dashboard in this patch.

Depends-On: Iea7a4b85ac64572fac0f0ad871649a79fbc1c0f5

Change-Id: Ib519d222e07e26d3683b24359e2f67728cdd8029
2018-03-20 22:38:03 +01:00
ZhongShengping
df5b0067d6 Update the cirros version to "0.4.0"
Change-Id: I72cedc1f0fe49a59f6eb38269ca1264e3d37925c
2018-01-10 09:31:58 +08:00
ZhongShengping
988fa0a371 Update the cirros version to "0.3.5"
Refer to
https://docs.openstack.org/ocata/install-guide-rdo/glance-verify.html

Change-Id: I84f081c8a387dcf4b98e7decac5fcae8e1e48283
2017-10-31 15:54:03 +08:00
Arie Bregman
644c1e3a2c add neutron dns extensions to tempest manifest
Change-Id: I6c45b2b57630c430a10fb02233d2fef5f5102168
2017-09-26 11:06:26 +03:00
Ricardo Noriega
002d4d25d7 Add L2GW service to scenario004
This submission will enable L2GW on scenario004
and one of its tempest test.

Change-Id: I87fb7ca3671cf93d6b47ac393e047e1810daf375
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-07-20 15:45:40 +00:00
Ricardo Noriega
5afe2ee892 Add BGPVPN API service to scenario004
This submission will enable the BGPVPN API
on scenario004 and one of its tempest test.

Change-Id: I9d7853bedd822a9d182f1c5dcd7db85e7cd59c07
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-04-21 15:32:41 +02:00
Ihar Hrachyshka
a38b8c9dc3 Configure api_extensions to test for neutron
If we don't, the default 'all' is used, which means tempest executes all
tests irrespective of whether the setup supports all those extensions,
or not. For example, trunk service plugin is not enabled by the repo;
neither port_security ml2 extension driver is. If a test that requires
any of those features land in tempest repo, the gate will immediately
break. Actually, tempest already has some tests for port_security, but
they are not executed at the moment by the virtue of a special
port_security config option that is False by default. That may change in
the future [1].

It's good practice to explicitly configure the list of extensions that
are known to work for the setup in question.

[1] I471575bdc106e1a6d1ecdb313dbe77b4102d8f15

Change-Id: I323ff03c5798a41de4870ed99e71ed5a9456a6af
Depends-On: I31105600dfd5632ec4341b35ca3e8a13af3bb945
2017-03-16 03:20:05 +00:00
Emilien Macchi
e24b86820d tempest: run_ssh to true
We want to validate compute services with ssh connection, to catch more
issues in our CI, so enable this option which is disabled by default in
Tempest.

Depends-On: I5edc8c2a33c29c64dc2ff49300b550f145415185
Change-Id: Idd07337f936613471227f689e774db21eb2d8477
2017-03-10 18:28:50 -05:00
Emilien Macchi
acbdc277bc tempest: disable keystone v2 tests
Keystone v2.0 API is being removed soon, we need to stop testing it.

Change-Id: I745aab2ddc1a7b5dc0b07c2a8d441f0f14c5f88a
2017-03-06 16:42:51 -05:00
Eyal
94fad23968 add vitrage
Change-Id: Ibdb1e687ec348fa4147a9ca970b4f0f1c355ade9
2017-02-14 16:55:08 +02:00
Chandan Kumar
ab15e5cf14 Enable using tempest rpm in a configurable mode
* TEMPEST_FROM_SOURCE is set to true to install tempest from source.
* Added capability to use tempest rpm
* change the cirros image directory to /tmp/openstack/image
  if the image gets firstly downloaded in tempest workspace,
  Tempest init will fail to create tempest workspace.
* Create image_dir if not exists.

Change-Id: I349783ace314a3575e93e6c853a7756f0f9b85ac
2017-02-08 09:26:26 +00:00
Emilien Macchi
cdb52a34df scenario001: enable tempest plugin for Panko
Change-Id: I4ba20bffc37b45927c09e918b3118ebd948dd3ae
Depends-On: I1c2e7a228e2b56a03dc30faec7fee6025af5cf84
2017-01-25 17:19:12 +00:00
Alex Schultz
ae23f634fa Add python-gabbi for tempest on Ubuntu
The gabbi library is needed for tempest and it's not being installed by
the Ubuntu tempest package. So let's add it to try and fixup the tempest
test.

Change-Id: I711543f3706735966b52f5e56b5b9349b6d2cced
2017-01-20 16:00:44 -07:00
Emilien Macchi
817f19550a Remove testing for Glance Registry
Glance registry is not required for the v2 of the API and there are
plans to deprecate it in the glance community. Allow for it to be
disabled in tests.

Change-Id: I89f319f18f4cbda4244e96732a16df81a0f836b0
2017-01-06 11:11:47 -05:00
Daniel Pawlik
1f8c65afda Add puppet-watcher and enable it in scenario004
Change-Id: Id1f02e81d224209874c9a6230d1c85090189bae4
Depends-On: I05e9f15fa8c9a6ca1992a27120ba442b35bd0f98
2016-11-29 18:41:38 +00:00
Alexey Deryugin
ec85a6724a scenario003: enable application catalog service
- install & configure Murano services
 - enable Murano tests in Tempest

Depends-On: Iae5e04fdd320dc16eb03974f3632f58d5389b565
Change-Id: Iedad1e0871388965acefb806369dc32b6c85cbd9
2016-10-31 11:47:47 +02:00
Sven Anderson
34bc917b98 scenario002: Enable ec2api tempest tests
Depends-On: I2a60bde92e8522362fefebc34c99cbb0346c6347
Change-Id: Ibebf638af2bf4daf867b7d06856bdf7758de54d3
2016-10-14 18:34:43 +02:00
Keith Schincke
195872d0d8 Add cinder backup to scenario002
Configure cinder backup to use swift and test

Change-Id: I9b645b2e7b76e97403b95459578979ec9f53c0b4
Depends-On: I588c9864cd20c75de7caecf733603a3587c34d12
2016-10-11 17:18:36 -04:00
David Moreau-Simard
52d8fe5465 Add Designate test coverage to scenario003
This adds Designate test coverage with puppet-designate
to scenario003 with the BIND backend.

Change-Id: I06651552f6b9238a46c9d27bca4e30de9853da82
2016-09-28 10:09:15 -04:00
Emilien Macchi
2af4eacdcb scenario003: re-enable trove
Trove Tempest plugin was fixed upstream.
Also specify db_flavor_ref that is required when the flavor is different
from default value (1).

Closes-Bug: #1612398
Depends-On: Id2d6b9ae571515d90f6232a13a9beecd357703cd
Change-Id: I2153bda14b870a2746d9b20808d8e8ac01b04ee1
2016-08-24 14:10:00 +00:00
Emilien Macchi
abd6b91e05 scenario002: enable Barbican and Volume Encryption testing
Start testing Barbican for real.

Depends-On: I7a51c1a3baae5fd96b75cc73acd4c8c3e2c4ade5
Change-Id: I034a38bb7adde9f39db99b1a82715ce11e8ca63b
2016-08-05 09:28:45 +00:00
Emilien Macchi
9bfed16801 tempest: only deploy neutron fwaas and lbaas
Be more granular on what package we deploy for Tempest tests.
Our current CI only test LBaaS and FWaaS, not VPNaaS.

Change-Id: Ic53b462a3bcb9a1329ee8017f72e33f1201c64f1
Depends-On: Ied0881f93a020ba1954334e0c7549c216e6b76b1
2016-08-02 15:42:23 +00:00
Emilien Macchi
8034571ff8 scenario001: run Gnocchi tempest tests
* drop workaround to deploy Gabbi from pip, and use RDO package.
* Add gnocchi in the Puppet Tempest interface.
* Add gnocchi tests in the list of tests we want to run.

Change-Id: I51094b28c42f7c64d4357f49d0932e027cbd6310
2016-06-23 03:44:33 +00:00
Emilien Macchi
db9eb98232 repos: deploy newton repo on ubuntu xenial
First try to deploy OpenStack Newton on Ubuntu Xenial.

Depends-On: I2ad1b7ee1b9e3f23e37e4053751ca794e5107e73
Change-Id: I67d9cd9e22742659afd2fe2b1991c3ffd3e15c22
2016-06-15 19:01:27 +03:00
Emilien Macchi
83dc8eadf7 Cleanup some warnings
1) Remove usage of verbose in Trove.
2) Rename Tempest parameter.
3) Rename Swift parameter.
4) Update parameters for Heat so we use 'password' auth_plugin.
5) Remove metering_secret, replaced by telemetry_secret.

Change-Id: Id770a7b03323b72ba37317e48085d9c15f106bc1
2016-05-20 15:16:37 +02:00
Emilien Macchi
d01ed82976 scenario003: deploy and test mistral
Do not merge, testing with v3 auth

* Deploy Mistral on scenario003
* Run Tempest tests for Mistral
* Bump repo to recent RDO repo that contains a fix in Mistral to make
  Tempest tests working.

Change-Id: Ia43427cc207ee5b7b95e9610f06a568992fb58cd
2016-04-12 20:07:24 -04:00
Emilien Macchi
e911825444 scenario002: deploy & test Zaqar
puppet-zaqar is freshly new and we want to test it.

* configure mongodb replicaset (required for zaqar): 'openstack'.
* deploy zaqar on scenario002 with mongodb backend.
* configure tempest to test zaqar.
* run TestManageQueue tempest tests in tempest.

Note about TestManageQueue:
Zaqar does not maintain Tempest tests, and run their own functional
testing tools. api.messaging.test_queues tests are known to work, so
they will be the only tests run in our CI to validate Zaqar is working.

Note:
* SSL does not work out of the box, we need to add support for WSGI
  deployment with Apache, but Zaqa  does not provide WSGI app, it's in
  their roadmap.
* IPv6 binding on default wsgi does not work, so using IPv4 now.

Change-Id: I1aa563f37aa7a231b2218f79b72c73c668d968f3
2016-04-10 18:24:43 +00:00
Jenkins
e78103b02f Merge "Run Tempest plugins" 2016-04-04 23:48:29 +00:00
Emilien Macchi
9c5c8689d3 Run Tempest plugins
We want to run Tempest tests for a maximum of projects we're testing.
Tests are moving from Tempest tree to projects tree.

It takes care of installing tempest-lib which is required system wide to
run Tempest plugin tests.

To run tests from projects tree, we need to run tox with -eall-plugin
option.

This patch aims to change the way we run tox.

It also set manage_tests_packages to True so puppet-tempest will take
care of packaging dependencies required to run Tempest plugins tests in
RDO.

Depends-On: Iac9a57c2ba006bb2a660d2b54ee05bbe68125abf
Depends-On: I8f26968b5b817ffbb9f4dc4a0cb19ca0a1ef7d3d
Change-Id: I0942a7c9456d18528a2d84e143ae056973a7674f
2016-04-02 18:25:40 -04:00
Emilien Macchi
fd9c981a05 scenario003: enable SSL by default
This patch enables SSL by default on scenario003 for both Ubuntu &
CentOS7, like it's done for scenario001 and 002.

Note: we don't enable SSL for Sahara because of:
https://bugs.launchpad.net/sahara/+bug/1565082

Change-Id: I7e25b8acaeda2fc51a1a83b3a3aae0c89f332323
2016-04-01 20:32:35 -04:00
Emilien Macchi
3874255b9f scenario002: switch Keystone/Glance/Ironic/Nova to SSL
* Deploy Self-Signed Certificates for both IPv6 & IPv4 deployments.
* Disable IPv6 for RabbitMQ now, for SSL reasons, will be enabled again
  later in a next iteration.
* Deploy Ironic API under WSGI instead of eventlet.
* Switch Glance API, Ironic API and Keystone to SSL.
* Configure Tempest with SSL endpoints when needed.
* Reduce the Ironic tests because of [1].

[1] https://bugs.launchpad.net/ironic/+bug/1554237

Note #1: puppet-swift, and puppet-cinder will require some work to support SSL, so it's not
implemented in this patch.
Note #2: we don't enable SSL for Neutron because of
https://bugs.launchpad.net/neutron/+bug/1514424

Change-Id: Ib2b5289b6f5e82f43cf60dee3152b2c2ddd5a014
2016-03-14 16:34:29 -04:00
Emilien Macchi
7f52f0d9ee tempest: reduce compute/build_interval from 60 to 10
Try to reduce the time of jobs by reducing the build_interval value in
Tempest.

Change-Id: Ie6737c546e9bc1974491d45e2b932c8e400ed3db
2016-02-25 14:54:00 -05:00
Emilien Macchi
478f8208ad scenario001: deploy Cinder and Nova with RBD backend
This patch enables robust and complete testing of a compute scenario
where RBD is used for Cinder and Nova.

* Allow cinder.pp and nova.pp to configure RBD backend.
* Switch scenario001 to run Cinder and Nova with RBD backend.
* Update README with more documentation about Cinder & Nova backends.
* Configure volume_clear option to 'none' so volumes are quickly
  deleted.
* Enable rbd_default_features to 15 to increase ceph performances.
* Increase compute build_interval in Tempest to 60s, useful for
  Bootfromvolume test where instance deletion can take time with RBD
  backend.

Depends-On: I69a7d40e7d1847be06a843986ace4f0602272fe1
Depends-On: I7302b89da5a995e779ec349ab0c0f519c69a3a98
Depends-On: Ic410cb66e7620b6ca6acbea38360d8dd890000c9

Change-Id: I5c8d9cf2ff8fc361553b3eed73b697ad87170434
2016-02-23 09:09:42 -05:00
Emilien Macchi
8d5fe5e952 Deploy & Test Ironic
* Create manifest to deploy Ironic services with 'fake' driver.
* Add bits to tempest class to enable the service.
* Update README.
* Add api.baremetal tests so we actually test Ironic.

Depends-On: I93fd4740d09b0c7e926c4dba7a7602f4d295d2ea
Depends-On: I01c83a6daa3909d4d9b1cb559836b7b5e54c7c7e
Change-Id: Ice03be261e687af43e677a9f60a1cc3c79acdf8b
2016-01-07 22:44:12 -05:00
Emilien Macchi
62eb545ad9 Refactor fixtures & manifests to reduce code lines
Create manifests for each project and include them in the right
fixtures manifests, so we can reduce the code and avoid dupplicated
puppet manifests.

Change-Id: I66a98691b3014998f4c2529d2e3389ef1cbcc5f4
2016-01-02 17:43:03 -05:00