330 Commits

Author SHA1 Message Date
Emilien Macchi
57ca8964b1 cinder: deploy cinderv3 on ipv6/ssl
Add missing endpoints for deploying all Cinder services in IPv6 & SSL.

Change-Id: I0ff6c89299a353ff5eb842522c2e94a58c0e9cdc
2016-05-04 13:33:00 -04:00
Emilien Macchi
55342cdad4 Puppetfile: bump apache module to latest release
Manually run the generate_puppetfile.sh script that bumps
puppetlabs-apache to the latest tag.

Change-Id: Iba42e5aae13fcc66179e9b80aafdc5069d23c5c8
2016-04-28 09:26:47 -05:00
Emilien Macchi
b23ee13fe1 keystone: avoid race condition with eventlet on Ubuntu.
Change-Id: I0f2ecd7629935d06232f8c1e1952732b197224ef
Depends-On: I6b07a70f0729639f12ebc19f9d3cd405d8be214b
2016-04-22 09:43:56 -04:00
Jenkins
0ec65eb155 Merge "run_tests: add more debug when Puppet fails" 2016-04-22 12:18:29 +00:00
Jenkins
a724751360 Merge "scenario002: test ironic on Ubuntu again" 2016-04-21 20:31:02 +00:00
Emilien Macchi
b26275eae6 run_tests: add more debug when Puppet fails
Add more debug when Puppet fails during first and second run.
It will help people debugging CI to figure why job failed.

Change-Id: I9ef32afaa594a65be6ed49f40bd8fba735fe2c70
2016-04-21 09:52:23 -04:00
Jenkins
100306b7d4 Merge "Change source for puppet-corosync" 2016-04-21 11:34:39 +00:00
Emilien Macchi
68c853c07a scenario002: test ironic on Ubuntu again
Re-enable Ironic testing on Ubuntu.

Depends-On: I34014d3c44876091f698023c6b896f3d55b7756d
Change-Id: I646568f4750e70e47d9b8aa7bf452b08be068a83
2016-04-20 22:28:51 -04:00
Jenkins
9eee0a2505 Merge "functions: add defaults for ZUUL_BRANCH & ZUUL_REF" 2016-04-20 16:41:04 +00:00
Jenkins
58d75c6d56 Merge "centos: deploy cinder in SSL" 2016-04-20 16:32:43 +00:00
Emilien Macchi
73ab80410f Change source for puppet-corosync
puppet-corosync moved from puppet-community/puppet-corosync to
voxpupuli/puppet-corosync.

Change-Id: Ic80252471b1fdcea9dd6a52489ce84484184a13b
2016-04-20 11:44:09 -04:00
Emilien Macchi
48ab117d2e functions: add defaults for ZUUL_BRANCH & ZUUL_REF
When running periodic jobs, ZUUL_BRANCH & ZUUL_REF are empty because we
don't have any reference or branch set for the jobs.
To not make zuul failing when cloning Puppet modules, let's set defaults
values:

ZUUL_BRANCH default to master (we are running tests against master now)
If we need to test stable branches, we'll revisit later but it would be
a bigger change (job names, etc).

ZUUL_REF default to None.

Change-Id: I34b298230bc174a3fdd431095043543c4c223296
2016-04-20 09:42:31 -04:00
Emilien Macchi
7442a3ab20 centos: deploy cinder in SSL
On CentOS7, where SSL is already enabled for some services, deploy
Cinder API in SSL with Apache.

Change-Id: I91e2ac167995fcb0fdf094d8d4e6d5622608d3c3
2016-04-19 15:01:37 -04:00
Emilien Macchi
c0fe8c85ee scenario001: test telemetry on Ubuntu again
Re-enable tests on Ubuntu for Telemetry (Ceilometer & Aodh).

Change-Id: I7b1d710de9d98b8695b851e8e07aa4fcda092034
2016-04-19 14:21:09 -04:00
Jenkins
86b6b1f3c0 Merge "Add a function for generating action headers" 2016-04-18 18:03:37 +00:00
Emilien Macchi
e3b56a0be3 deploy cinder api in WSGI with Apache
Deploy Cinder API in WSGI with Apache instead of eventlet.

Change-Id: I6e6fb66cf79c43e063a2f4b3fea1017dd4ccd661
Depends-On: Ia1d3cfaa5ce6e4719b6c008bcc4f75d3c1db3487
2016-04-16 01:49:06 +00:00
Jenkins
a2220ae34a Merge "Enable Sahara integration job on Ubuntu" 2016-04-15 14:58:08 +00:00
Denis Egorenko
f2f4b462fa Enable Sahara integration job on Ubuntu
Sahara package in Ubuntu is fixed now, so let's enable Sahara back.

Change-Id: I134c58b8eac87c35fb04bfbe1f5e8c5c3aa57b71
2016-04-15 11:42:10 +00:00
Alex Schultz
20730feff0 Add a function for generating action headers
In order to help be able to determine what part of the script a failure
occurs in, this change adds a print header function and updates the
shell scripts to print some header information for various actions.

Change-Id: I8e622c4d1c9c03aa3dbcb27712a346ce3284003f
2016-04-14 14:57:22 -06:00
Emilien Macchi
046de82d33 Do not pre-install dependencies from OpenStack Infra
Add an empty other-requirements.txt file to prevent the
openstack gate environment to pre-install dependencies for
us; these are installed by our Puppet modules or run_tests.sh script.

Change-Id: I96c733b03933cce04b0beee8952a2c49f83bb5b5
2016-04-14 16:29:52 -04:00
Jenkins
8e695406b5 Merge "Puppetfile: add puppet-ovn module" 2016-04-14 15:04:40 +00:00
Jenkins
7aa11a00cc Merge "repos/centos: deploy Ceph with SIG and get rid of EPEL" 2016-04-14 11:03:40 +00:00
Jenkins
1cfd3cbb63 Merge "catch SElinux alerts in permissive mode" 2016-04-14 03:06:14 +00:00
Emilien Macchi
f85115ee54 Puppetfile: add puppet-ovn module
puppet-ovn is part of Puppet OpenStack project, and we'll start testing
it in puppet-openstack-integration.

Change-Id: If7329f5758819160b305c90241f56d3dea566496
2016-04-13 21:15:21 -04:00
Jenkins
44dcd8e607 Merge "run_tests: install selinux tools" 2016-04-14 01:03:37 +00:00
Jenkins
0c17484e91 Merge "Generate Self-Signed Cert with SubjectAltNames" 2016-04-14 00:03:43 +00:00
Emilien Macchi
4d6b918cef run_tests: stop mistral testing
Stop to run mistral tests for now, they fail too often.
We'll enable it as soon as we find what's wrong.

Change-Id: I041b6d35708c10df6bbddf672f56deb56ff86ab7
2016-04-13 17:33:46 -04:00
Jenkins
21611c1d94 Merge "scenario003: deploy and test mistral" 2016-04-13 15:54:39 +00:00
Jenkins
3c0e05391c Merge "rabbitmq: use $::package_provider fact" 2016-04-13 14:44:48 +00:00
Emilien Macchi
cb015ed05b repos/centos: deploy Ceph with SIG and get rid of EPEL
This patch will change the way we deployed Ceph on CentOS nodes.

* Use CentOS SIG by default
https://wiki.centos.org/SpecialInterestGroup/Storage/

* Stop deploying EPEL, which is conflicting with RDO packaging.

All our CI needs should be in RDO and SIG. Let's stop deploying EPEL at
all.

Depends-On: Ic42c19b2b5b4bc499565c69c3053395173c29a8e
Change-Id: I8d435a77c41c38354b20a40ab30dbc595cb6412c
2016-04-13 10:18:22 -04:00
Emilien Macchi
e645272ef3 Generate Self-Signed Cert with SubjectAltNames
A new version of python urllib send us ugly warnings because our SSL
certificates don't have SubjectAltNames.

I re-generated some SSL certs with it, for both ipv4 & ipv6 deployments.

Change-Id: Ibed9f23869de9d2871c3d25e9bd24df809aa4c16
2016-04-13 08:24:20 -04:00
Jenkins
94fd74cd2d Merge "Add explicit dependencies to pass puppet4" 2016-04-13 01:39:14 +00:00
Jenkins
2d05784f7b Merge "run_tests: strip locale archive to en_* locales" 2016-04-13 01:36:38 +00:00
Jenkins
878b0e23d2 Merge "run_tests: uninstall epel-release" 2016-04-13 01:08:18 +00: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
Jenkins
9a910fc177 Merge "run puppet with trace & tests options" 2016-04-13 00:03:37 +00:00
Emilien Macchi
e22fe0ed9b rabbitmq: use $::package_provider fact
Switch package_provider to use $::package_provider fact present in
puppetlabs-stdlib.

It will avoid any collision later.

Change-Id: I2df1bff1b911c22eed8a2f6b9c0ab38edda43156
2016-04-12 19:38:39 -04:00
Emilien Macchi
982f18c282 catch SElinux alerts in permissive mode
Run the tests in permissive mode but run sealert at the end to see if we
have some SElinux alerts that we need to fix.

We want to run catch_selinux_alerts function before exiting the script
(with failure or success) so we can detect alerts:
* right after first Puppet run
* after second Puppet run
* after Tempest run

If an AVC is detected, fails so we can report the bugs in
openstack-selinux and bring useful feedback.

Change-Id: Iaef45c88232505600cbb80f82b195aafcc615474
2016-04-12 16:59:20 -04:00
Cody Herriges
c8441ddd96 Add explicit dependencies to pass puppet4
This commit will add explicit dependencies in some resources in the
  provision profile.

  Without this change the CI does not pass on Puppet 4 because of the
  change in default run order.

Depends-On: Ifc3f40ae1cb71c215b8a0bf6cd5f6d05101a6168
Change-Id: Iedfa6f78936676ba54ebb888734a3b381a2378e7
2016-04-12 12:31:23 -07:00
Emilien Macchi
a3117a6449 run_tests: install selinux tools
SElinux tools will be useful for us to provide SElinux alerts reports
during our CI jobs.

Change-Id: Icce81078d91bbed12b9dbba3c53416476d594a09
2016-04-12 14:58:29 -04:00
Emilien Macchi
ad757c001f run puppet with trace & tests options
This is an attempt to reduce the console log size.

Change-Id: I24ac9ee5365405ca18670890035ac96e79dc9180
2016-04-12 14:34:52 -04:00
Jenkins
354c7619e3 Merge "Set correct firewall_driver for Neutron ML2" 2016-04-12 17:11:39 +00:00
Emilien Macchi
0681b75c39 run_tests: strip locale archive to en_* locales
This is a workaround until https://review.openstack.org/#/c/304399/ will
be merged and a new image will be built and uploaded to OpenStack Infra
Clouds.

Until then, we'll carry this code so we can move forward with Puppet4
testing and deploy Facter correctly.

Change-Id: I823087aed543c3cf43d247f7adf5f32c5c0fc31e
2016-04-12 11:46:03 -04:00
Emilien Macchi
625da96a42 run_tests: uninstall epel-release
epel-release is installed by OpenStack Infra when building images.
The problem is RDO + EPEL does not work find, there are some
dependencies issues.

This patch makes sure EPEL is not installed when we start our CI jobs.
The next steps will be to run puppet-openstack-integration with EPEL
disabled in ceph::repo, and patch ceph::repo to use centos ceph repos [1]

[1] https://bugs.launchpad.net/puppet-ceph/+bug/1562998

This patch is part of the efforts to stop using EPEL at all.

Change-Id: I506754e2c5021ee728675a8771f2e24b8576f7d5
2016-04-12 09:40:30 -04:00
Jenkins
b479de9aae Merge "swift: use ipv6 binding on centos7 nodes" 2016-04-12 01:14:18 +00:00
Jenkins
9f04914e84 Merge "run_tests: list tempest plugins at the end of the job" 2016-04-11 18:13:20 +00: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
Emilien Macchi
fc57de57d0 repos: bump RDO to latest Mitaka
GA is next week, this patch is a promotion to latest repos.

Change-Id: I646e4dc55edd590427a8fe65c40932aec1197a80
2016-04-10 14:24:18 -04:00
Emilien Macchi
3b02e5afc8 swift: use ipv6 binding on centos7 nodes
If IPv6 is enabled (on centos7 now), deploy Swift using this binding.
Note: adding notes in TODO to also deploy memcached in IPv6 later.

Change-Id: I8c8e8e8870212765f8b8a0d639194e040963d6e0
2016-04-09 00:02:11 -04:00
Emilien Macchi
dba4b6ed26 run_tests: list tempest plugins at the end of the job
For debug purpose, it will be useful to have the list of tempest plugins
that we have.

Change-Id: Ib60dd99506f273f6759475ed49a57af78a6d0213
2016-04-08 15:20:54 -04:00