Commit Graph

19 Commits

Author SHA1 Message Date
Emilien Macchi
6bcc7756fc Drop usage of deprecated verbose option
Change-Id: Ia4ba77e4ea6e2afe591772cb33cd4ca0080ef6a6
2016-05-19 15:05:17 +00:00
Emilien Macchi
1c8c0d7c03 Align the stars to bump CI to latest Newton
1) scenario001: disable ceilometer tests on Ubuntu
Because we need this backport in UCA:
https://review.openstack.org/#/c/318503/
And we won't have it before... who knows?
Let's disable the tests for Ceilometer on Ubuntu until UCA provides a
packaging update.
Let's also disable Telemetry at all on Ubuntu, since Ceilometer can't be
tested until UCA does the backport.

2) add RDO Newton dependencies repository, so we have paramiko >= 2.0
and have a more stable gate.

3) Update RDO trunk URL to have a very recent URL.

4) Update nova endpoints to match with what is required upstream (2.1)

5) Un-pin Tempest, so we keep testing master (our desire in our master
gate but we pin it in stable branches).

Change-Id: I10dc1beeca3ec47fd4c3a866aa3e1d3bc9d0aa81
2016-05-19 17:04:38 +02: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
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
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
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
Emilien Macchi
cde1db6f2d nova: drop nova::cert
nova::cert was deploying Nova Cert service for X509 certificates,
required when running Nova EC2 API that does not exist anymore in
Mitaka [1].

Let's drop this class, since we don't run EC2 API anymore.

http://docs.openstack.org/developer/nova/man/nova-cert.html

Change-Id: I5b37b5b3871196bdc93495efd94221cd1ac632d4
2016-03-07 20:40:28 +00:00
Emilien Macchi
a0c3df6eae scenario002: deploy RabbitMQ with IPv6 binding
* Configure RabbitMQ to bind on IPv6 (scenario002 only).
* Configure OpenStack service to connect with an IPv6 on
  RabbitMQ (scenario002 only).

Change-Id: I0e4ab4b03d7b1c7bb47c55a751bc04f29292a621
2016-03-01 14:32:47 -05:00
Emilien Macchi
4a81d1da98 refactorize SSL configuration
Add config.pp file so we can enable common features (ssl, ipv6, ...)
more easily.
Also move the logic into config.pp so we avoid dupplicated code.

Change-Id: Ib7993ad1fbabfc22dc4ee22f72671303190e39e2
2016-03-01 14:32:08 -05:00
Emilien Macchi
2be3e3f9d2 scenario002: deploy RabbitMQ with SSL
* Manage Puppet OpenStack CI CA and create a common certificate,
  auto-signed.
* Configure RabbitMQ to activate SSL on scenario002
* Configure OpenStack services that run on scenario002 to connect to
  RabbitMQ using SSL protocol.

Change-Id: Ic435078472ba4e0e0eaf04a64e5bcb7aabba7b3d
2016-02-29 14:37:56 -05:00
Emilien Macchi
3ef1888741 ubuntu/nova: configure notifications using keystone v3
We had to do an exception on Ubuntu because packaging was not updated
and ready to use keystone v3 for nova notifications.

Now packaging is updated, we can drop the exception and be consistent
between both distros.

Depends-On: Ic170d932df53bb1d7bd3b0eda116ad36d0b929c6
Change-Id: I1dfe6494e8048544aca65fb1ca8b0016ea041cc8
2016-02-25 14:56:43 +00:00
Jenkins
1cfb185bd4 Merge "scenario001: deploy Cinder and Nova with RBD backend" 2016-02-23 20:32:58 +00: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
89c74fce55 nova: specify glance url proto
If we don't specify the proto, nova-api sends a nice warning about that:

No protocol specified in for api_server 'http://localhost:9292'please
update [glance] api_servers with fully qualified url including
scheme (http / https).

Change-Id: Iee5c3a7312954259d75c1125c07ac79bd9bbb1b4
2016-02-22 18:19:11 -05:00
David Moreau Simard
9f02f8b965 Bump RDO packaging and update nova.conf on RedHat systems
This is a stash between 2 patches, that need to land together:

1/ Bump RDO packaging to a very recent Mitaka repo URL so we can have
latest Nova & Gnocchi, that contains some importants changes.
Related-Bug: #1542069
Depends-On: Icf4a4b38fbba4fd2e4a20c7c3ffeacf1cc86085e

2/ Update nova.pp with new parameters for Neutron / Nova communications
Related-Bug: #1542486
Depends-On: I1a99a050ba70399f045930e26e52719bb53a75b3

Change-Id: Idc14417cc09ee4ec58b343e57d67b0bd2efeecf2
2016-02-08 14:41:56 -05:00
David Moreau Simard
f954c0070c Nova now requires an api database to be created
This enables the creation of the nova_api database that is now
mandatory since https://review.openstack.org/#/c/245828/

Related-Bug: #1539793
Change-Id: I65b840f1245579dd84623aa87018f0f22baba210
2016-02-05 11:40:52 -05:00
Emilien Macchi
ebab2cc919 Update nova::network::neutron parameters and drop ec2 param
neutron_admin_password is deprecated, we need to use neutron_password
Also neutron_admin_auth_url, let's use default value.

Also drop ec2 params

Change-Id: I5def769b9394282c5c85fb3fa92dfa52d8d80ae8
2016-01-11 15:30:41 -05:00
Emilien Macchi
1bc3782155 Use pymysql for database driver
PyMySQL is the new database driver when running MySQL.
This patch updates our manifests to run it, since our modules already
support it.

Change-Id: I758c5c3bc7295f57102098cbe0d2d0f3b0f2692e
Depends-On: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
2016-01-08 13:40:13 -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