269 Commits

Author SHA1 Message Date
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
4a3ca2bf40 trove/conductor: reduce workers to 2
Depends-On: I942addf4347aaf813ef40d2ab39bac69a85a1a33
Change-Id: I6f1b010075a420f1b9896d62c5c970f384855941
2016-04-01 13:03:32 -04:00
Jenkins
250527e124 Merge "repo: bump RDO to latest" 2016-04-01 14:54:14 +00:00
Jenkins
edc070b223 Merge "run_tests: test Horizon again" 2016-04-01 13:45:12 +00:00
Emilien Macchi
e7afe2985b repo: bump RDO to latest
Change-Id: I3e460ca8543e2f145a4e6abd4fdb79bcadb8d5b8
2016-03-31 15:18:48 -04:00
Jenkins
dd5700f42d Merge "scenario003: deploy Neutron with ML2 linuxbridge" 2016-03-31 17:58:04 +00:00
Emilien Macchi
5acaa2c68c run_tests: test Horizon again
A typo was introduced recently and this patch re-enable the testing of
Horizon.

Change-Id: I7520e862f9028baac23dbe92ccda471cd716ec77
2016-03-31 13:33:49 -04:00
Jenkins
1a749d4d4a Merge "run ironic services after rabbitmq resources" 2016-03-31 11:41:34 +00:00
Jenkins
4e4dfb6eb8 Merge "Avoid secure_path" 2016-03-31 04:28:26 +00:00
Emilien Macchi
58451cd88e run ironic services after rabbitmq resources
I reported this bug in Ironic:
https://bugs.launchpad.net/ironic/+bug/1564075

In the meantime, let's workaround in our manifests.

Change-Id: I30d199d504d46357fb6c5034b5d3166fd497499f
2016-03-30 16:37:56 -04:00
Jenkins
b3839c817e Merge "scenario001: enable IPv6 on centos7" 2016-03-30 19:13:52 +00:00
Jenkins
4f31a5013e Merge "repos: bump rdo to mitaka/current-passed-ci" 2016-03-30 13:21:27 +00:00
Emilien Macchi
cfeef81765 scenario001: enable IPv6 on centos7
Allow to deploy scenario001 on IPv6 networks when running CentOS7 jobs:
* ceilometer
* aodh
* gnocchi

Change-Id: Ide911c1bf805860fe1bac0bf50da10b1f5528714
2016-03-30 02:18:50 +00:00
Emilien Macchi
dbd4fc4fca scenario001: enable SSL by default
This patch enables SSL by default on scenario001 for both Ubuntu &
CentOS7, like it's done for scenario002.

Change-Id: If7a6ae3825052420ac76b5c8899ce68f003cb903
2016-03-29 21:41:56 -04:00
Emilien Macchi
6fa266027d repos: bump rdo to mitaka/current-passed-ci
Until Mitaka is out in RDO, let's bump our CI to current-passed-ci repo,
that is the latest Mitaka packaging, validated by RDO CI.
This patch will be backported to stable/mitaka.
This patch will be modified once Mitaka is out to use official repos in
CentOS and backported.

Change-Id: I0baad8c0329aa8c7762993e7ee640b19eba25798
2016-03-29 18:16:33 -04:00
Jenkins
301f3247ae Merge "scenario002/centos7: switch RabbitMQ and OpenStack to IPv6" 2016-03-29 20:19:46 +00:00
Cody Herriges
90245d786e Avoid secure_path
This commit dynamically discovers the path to the puppet exucatable so
  we can leverage it when using sudo.

  This is to work around that the puppet application lives in a location
  outside sudo's "secure_path."

Change-Id: Ie54cdf90a8e21ea0de4df1eca31048db1ffb884b
2016-03-29 11:18:55 -07:00
Emilien Macchi
4ed8366f07 scenario002/centos7: switch RabbitMQ and OpenStack to IPv6
This is a first iteration of testing IPv6 deployment.
This patch will deploy scenario002 on centos7 by using IPv6 network.

To make it work on Ubuntu, it will require more work, that will be done
in future iterations. During my testing, I found some bugs and did not
investigate because I wanted a first scenario working on v6.

Same for scenario001 and scenario003, they'll be tested later.

Change-Id: Ib28b379645b5a3d351438e0408a9de62b9f48302
2016-03-29 13:54:17 -04:00
Emilien Macchi
55db07189f scenario003: deploy Neutron with ML2 linuxbridge
Deploy Neutron ML2 LinuxBridge on scenario003 to increase testing
coverage.

Depends-On: I6bf7ede4fa78eefdc6594b8dd70435a11d0c3365
Change-Id: Ib41c302c8dd3e6d7388b06e455cf19e1f13a221c
2016-03-29 08:45:45 -04:00
Cody Herriges
58e1dff643 Export path when puppet 4.
This commit just exports PATH when testing against Puppet 4.

  Tests pass without this in some environments but is dependent on sudo
  configurations, to get tests passing in OpenStack Infra, this is
  required.

Change-Id: I04b486fb398aaad1a3333477995ec00a76b9da0b
2016-03-28 20:23:13 -07:00
Jenkins
bf3bd105fd Merge "revert temporary workaround on centos" 2016-03-28 21:33:51 +00:00
Emilien Macchi
7e37ccfd99 revert temporary workaround on centos
https://review.openstack.org/#/c/288244/ has been merged so RabbitMQ
should not steal Keystone UID / GID anymore.

Change-Id: Iebc6ec2a9a3a3a7adb3949d9a91992056422356f
2016-03-28 00:21:26 +00:00
Sofer Athlan-Guyot
53eb3a966d Fix bug and non-idiom in bash scripts.
Those small typos and non-idiom can lead to unexpected behavior, better
fix them now.

Change-Id: I218ba0f3bba832d0929fb52c21f7e66774da494e
Closes-Bug: #1561539
2016-03-24 14:39:05 +01:00
Emilien Macchi
cf864be1bc install_modules: export PUPPET_BASE_PATH
We need to export PUPPET_BASE_PATH otherwise beaker & unit CI jobs will
fail to copy modules in the right path:
mv /modules/openstack-integration /modules/openstack_integration

Change-Id: I1c99de3f99367fb7677977fee4c5cf08afda5977
2016-03-22 21:31:34 -04:00
Jenkins
b70cfae9a9 Merge "Round 1 of Puppet 4 support" 2016-03-23 00:34:48 +00:00
Emilien Macchi
b33ddbe34d bump RDO Mitaka to March 22th
Change-Id: I7cf014a30aef588bb2eb202653ddde06dc12cf76
2016-03-22 07:58:52 -04:00
Cody Herriges
8d1005bc16 Round 1 of Puppet 4 support
This commit puts in place the ability to run
  puppet-openstack-integation against Pupept 4 by making release files
  and paths dynamic based off an environment variable, PUPPET_VERSION.

  Configurability is required because of the way Puppet 4 is installed,
  as an all-in-one package known as "PC1" or "puppet-agent" which
  includes Ruby, Facter 3, and other dependencies.

Change-Id: Id3af52f4938378a5a620765321cecd547e079660
2016-03-21 12:41:16 -07:00
Emilien Macchi
54d12b0880 Bump RDO to March 18th repo
Change-Id: I9047af52a02997a69e0ecce5b07470b6f59ee4cc
2016-03-18 08:19:12 -04:00
Emilien Macchi
2fdc2f8375 neutron: drop depreacted parameters
Change-Id: If55a1fac026e504118e4a618e3890cd585d3d0ee
2016-03-16 16:06:05 -04:00
Jenkins
8f60cad164 Merge "Add vs_port to provision template" 2016-03-16 17:02:13 +00:00
Emilien Macchi
48ceac8795 scenario003: disable sahara on ubuntu jobs
Sahara is broken in Ubuntu / Mitaka:
ConfigParser.NoSectionError: No section: 'alembic'

While Debian is fixing it and Ubuntu is synced, we need to disable
Sahara on Ubuntu so our CI keeps rolling.

Change-Id: Iea74763c25bc52fc7637d201f614f5cbea22f459
2016-03-15 15:45:04 -04:00
Jenkins
3c330c71d9 Merge "scenario002: switch Keystone/Glance/Ironic/Nova to SSL" 2016-03-15 18:49:57 +00:00
Emilien Macchi
743196d3f4 RDO: bump CI to latest Mitaka
Change-Id: I7dc191a38132db5fc2c68846c036d5b45061b398
2016-03-15 12:11:12 -04:00
Jenkins
fe8949cfbe Merge "Gnocchi now natively supports default archive policy" 2016-03-15 02:52:37 +00:00
Jenkins
9f977547c8 Merge "scenario002: re-enable swift backend for swift on ubuntu" 2016-03-14 22:43:43 +00:00
Jenkins
a05c74582a Merge "aodh: workaround to stop random failures on Aodh Listener" 2016-03-14 22:43:37 +00:00
Jenkins
91ca5f3f28 Merge "repos: bump RDO to latest Mitaka commit" 2016-03-14 22:35:53 +00:00
Emilien Macchi
eb39e53cdc scenario002: re-enable swift backend for swift on ubuntu
Change-Id: I6aed33a98579f7e070f6d653634a3b3ccc2d10cd
2016-03-14 21:22:21 +00: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
26b6cf114e aodh: workaround to stop random failures on Aodh Listener
See bug https://bugs.launchpad.net/aodh/+bug/1557154 for full context.
Until it's fixed in Aodh, we need this workaround.

Change-Id: I17f693be4c068803114d32024bf03a422ad6649c
2016-03-14 16:17:23 -04:00
Emilien Macchi
6fee388472 repos: bump RDO to latest Mitaka commit
RDO created centos7-mitaka repo so this patch moves away from trunk to
avoid installing Newton.
It also update the URL to be the latest produced by Delorean.

Change-Id: I752983138c37704bd6d0902658fdf21ce6ed2e40
2016-03-14 13:55:32 -04:00
Emilien Macchi
d3f4341f64 repos/centos: disable EPEL
EPEL is quite often down and causes CI failures.
This patch disables EPEL management on our integration & beaker jobs.

Change-Id: I7ecf1b43d8db94001fbb3a0e6841c3cb84836ccb
2016-03-14 11:59:32 -04:00
Javier Pena
4296c77392 Add vs_port to provision template
The current provision template creates an ovs bridge, but no port
is added to it, so the vs_port part of puppet-vswitch is not
exercised. Creating a dummy device and adding it to the bridge helps
testing that part.

Depends-On: I5878448a1616e127c3b39c5f1c446fea151ba202

Change-Id: Id5d41502c0c88799f55bcbc5db3c080c035d3a6e
2016-03-14 16:03:30 +01:00
Emilien Macchi
58b5c418d9 Add nova::scheduler::filter
Add nova::scheduler::filter into nova.pp so we have more configuration
coverage.

Change-Id: I4cd07368c0ea5bbfede72555a3e1cbc8cf01a9f0
2016-03-11 07:57:43 -05:00
Jenkins
4e58043c79 Merge "Deploy Nova API in WSGI with Apache" 2016-03-10 23:53:42 +00:00
Jenkins
cb087b82e5 Merge "Puppetfile: add puppet-oslo & puppet-octavia" 2016-03-10 23:53:31 +00:00
Pradeep Kilambi
52b5ac21c0 Gnocchi now natively supports default archive policy
Since https://review.openstack.org/#/c/290626/ is merged
we no longer need to do this manually.

Change-Id: Ic96ee19c111c5c5066e16d6d7467f2aea54f3b92
2016-03-10 18:52:39 -05:00
Emilien Macchi
5b5dbb538b Deploy Nova API in WSGI with Apache
Move Nova API under WSGI process with Apache.
So later, we'll be able to easily enable SSL for Nova API.

Depends-On: I3a7c6af2d81da28e41ee278f11937364536efd9e
Change-Id: I1bd2ad0510090dbcebd046fe188f51369d0e260a
2016-03-10 08:22:03 -05:00
Jenkins
904928073b Merge "Update glance::api stores parameters" 2016-03-10 12:50:13 +00:00
Emilien Macchi
ed35cac033 Puppetfile: add puppet-oslo & puppet-octavia
Change-Id: I912689c09b5988361be7d01e89945ab2924447c3
Depends-On: Ieeb5f5c94f093c163fd15ff80672b1f0e4a66ba0
2016-03-09 17:46:04 -05:00