69 Commits

Author SHA1 Message Date
Jenkins
8728c06bf4 Merge "Add upgrade support for Horizon" 2017-02-28 15:18:41 +00:00
Emilien Macchi
db02313b28 Add upgrade support for Horizon
Change-Id: I91c3c93c1571288daa78b6d24b0aa9824a2bb5c4
2017-02-28 09:18:05 +01:00
Juan Antonio Osorio Robles
9a4b972737 Configure SSL connection for MySQL client via client config file
This uses the mysql client configuration file to configure if SSL should
be used for the connection if SSL in the internal network is enabled.

Change-Id: Ifd1a06e0749a05a65f6314255843f572d2209067
2017-02-28 07:48:52 +02:00
Emilien Macchi
f08124e8ca Deploy CI scenarios with Pacemaker
Pacemaker is now deployed by default and it would be great to have it
tested for all scenarios to deploy real environments used in production.

Change-Id: Iff879cd641f6207644b1b6309a6ec4129f1a255a
2017-02-27 18:54:56 +00:00
Emilien Macchi
b352d687ba multinode_major_upgrade: enable Pacemaker
To improve testing coverage in upgrade CI job, add Pacemaker.

Change-Id: I855ed15642e28cdfda5a7cbd6ff6d01b591dff7e
2017-02-25 10:53:53 -05:00
Jenkins
3cbf8154fe Merge "multinode/upgrade: add nova services to environment" 2017-02-23 17:45:56 +00:00
Jenkins
9bd95d9f04 Merge "Update ci environment for multinode jobs to support Ceph" 2017-02-22 20:32:36 +00:00
Emilien Macchi
ff22a06963 multinode/upgrade: add nova services to environment
Add Nova services to the environment that deploys the upgrade Ci job.

Change-Id: I4b98b433e5c56a35e42ba34c2f2e663a4cb79580
2017-02-22 13:54:12 +00:00
Jenkins
435d270986 Merge "Make the DB URIs host-independent for all services" 2017-02-20 18:29:47 +00:00
Michele Baldessari
90431683b5 Make the DB URIs host-independent for all services
When fixing LP#1643487 we added ?bind_address to all DB URIs.
Since this clashes with Cellsv2 due to the URIs becoming host
dependent, we need a new approach to pass bind_address to pymysql
that leaves the DB URIs host-independent.

In change Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18 we first create a
/etc/my.cnf.d/tripleo.cnf file with a [tripleo] section with the correct
bind-address option.

In this change we make sure that the DB URIs will point to the added
file and to the specific section containing the necessary bind-address
option. We do introduce a new MySQLClient profile which will hold all
this more client-specific configuration so that this change can fit
better in the composable roles work. Also, in the future it might
contain the necessary configuration for SSL for example.

Note that in case the /etc/my.cnf.d/tripleo.cnf file does not exist
(because it is created via the mysqlclient profile), things keep on
working as usual and the bind-address option simply won't be set, which
has no impact on hosts where there are no VIPs.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>

Change-Id: Ieac33efe38f32e949fd89545eb1cd8e0fe114a12
Related-Bug: #1643487
Closes-Bug: #1663181
Closes-Bug: #1664524
Depends-On: Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18
2017-02-17 17:22:42 +01:00
Emilien Macchi
4061dfe790 Switch to net-config-multinode
Because of this bug:
https://bugs.launchpad.net/tripleo/+bug/1661412

We are unable to upgrade from Newton.
Until we figure this out, let's re-enable the previous SoftwareConfig.

Change-Id: I966b96c50224656b152045c97aa23b9495618a18
2017-02-17 07:10:17 -05:00
Jenkins
d8c46fa260 Merge "Deploy Manila with CephMDS in scenario004" 2017-02-17 10:15:33 +00:00
Giulio Fidente
54438d35ad Update ci environment for multinode jobs to support Ceph
Adds the CephMon and CephOSD services on the Controller role so
that we can test Ceph if the services are enabled via registry.

Change-Id: I73ee5380b88bf7643ba425a0c833922e330ecade
2017-02-16 16:51:01 +01:00
Steven Hardy
b3fe9f7264 CI fix broken references to multinode-core.yaml
This isn't needed for the single-node upgrade test, but it is
required for the 3-nodes job (which won't work because the referenced
file doesn't currently exist).

Change-Id: I78bd5c804284219a71b13dba21fd1188ca854fca
2017-02-16 08:23:56 +00:00
Juan Antonio Osorio Robles
701b544884 Setup FreeIPA to serve DNS in the setup script
This is needed for the overcloud nodes to automatically get their domain
and to autodiscover the FreeIPA server.

Change-Id: I4c055e4b4086b02fa706380f01911f499966dfc1
2017-02-15 15:21:53 +02:00
Juan Antonio Osorio Robles
8424e2140d Declare variables for freeipa_setup.sh script
These were assumed to be always passed, but as the script gets
different cases (novajoin vs pre-defined service principals) we might
get "unbound variable" errors when used outside of CI. Exporting these
variables beforehand prevents that.

Change-Id: I195321354df167c09cfc87c5b9f86c6dc5026d75
2017-02-15 10:40:13 +02:00
Giulio Fidente
db58ec86c7 Deploy Manila with CephMDS in scenario004
Adds the Manila and CephMDS services into scenario004 and a few
resources in the pingtest to test the Manila deployment.

Also adds Pacemaker to scenario004 which is needed for ManilaShare.

Co-Authored-By: jprovazn@redhat.com
Depends-On: Ia2ece0163a3c25eb28bc0b471cd1797d52fe4e3c
Change-Id: I70515c5b9ce2668a684649ecd40421b69078ee83
Related-Bug: #1644784
2017-02-14 10:59:51 +01:00
Emilien Macchi
aa7134b4f0 Add missing TripleO services to ci/multinode
Add:
    - OS::TripleO::Services::TripleoPackages
    - OS::TripleO::Services::TripleoFirewall

to the CI environments, so we can test Firewalling and also TripleO
packages upgrades.

Change-Id: I5d39c7a332a4c376fb4d6ee9463d27f481b6a0d0
2017-02-13 10:16:40 -05:00
Jenkins
369c11edd6 Merge "FreeIPA: don't preprovision service principals if novajoin is enabled" 2017-02-13 11:18:19 +00:00
Dan Radez
f666228678 adding Congress Support
Depends-On: Ic74ccd5fa7b3b04ca810416e5160463252f17474

Implements: blueprint congress-service-integration

Change-Id: Ie60540c340c0eb71ff376aba65507a8bb3e909b6
Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-10 09:59:38 -05:00
Dan Radez
b49b443ea7 Adding Tacker Support
Depends-On: Ide0e60f3b7a3733788af4337c1c39b4a956c876f
Depends-On: I3d6bbc05644e840395f87333ec80e3b844f69903
Depends-On: Idf6abcb7fe766546cb362ad4afe54f4bccd9c994

Implements: blueprint tacker-service-integration

Change-Id: Ibddc81561f6e6ba671bd01a9251c57d3ad67ba8c
Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-09 20:23:36 +00:00
Lars Kellogg-Stedman
490c19bb38 implement a collectd composable service
The collectd composable service permits an operator to configure
collectd metrics collection as part of the overcloud install.

Depends-on: I03cfbd96778a76125d18e2ca2f48d96e292608de
Change-Id: I143565329f5128f15cc39c9b62a6b242666383ab
2017-02-07 11:54:14 +00:00
Emilien Macchi
f48c665099 net-config-multinode: make controlplane int idempotent
When doing a stack-update, it will try to create the control plane
interface again.
Add this conditional so the interface is not created if already exist.

Note: this code has been taken from tripleo-ci and is consistent with
how multinode jobs are currently tested.

Co-Authored-By: James Slagle <jslagle@redhat.com>
Co-Authored-By: Steven Hardy <shardy@redhat.com>
Co-Authored-By: Mathieu Bultel <mbultel@redhat.com>

Change-Id: I773fdf5359cead6961b595e3c8192b02406452b7
Related-Bug: #1661412
2017-02-03 09:17:59 -05:00
Jenkins
ec24ed7dd8 Merge "Moving the validation for using the template alias version for all templates" 2017-02-03 09:20:41 +00:00
Emilien Macchi
aeeed8b7e7 CI: enable debug on multinode and upgrade job
We're running TripleO CI jobs outside TripleO projects (nova, gnocchi,
etc), folks need more debug to be helpful.

Change-Id: I512ad89d9ac82ae62f9cbe7d0029fb1ac7445cc9
2017-02-02 16:10:15 -05:00
Carlos Camacho
e5d594ea2d Moving the validation for using the template alias version for all templates
Currently we are applying this validation for the services templates, this
submission moves it to run with all templates.

Also fixed those templates not using the alias name.

Change-Id: I3a2c0ce6adcc8061fdc51f73fdc6b9748c0fead9
2017-02-02 10:52:42 +01:00
Juan Antonio Osorio Robles
f6d8dc6e39 FreeIPA: don't preprovision service principals if novajoin is enabled
novajoin will do this once it's enabled in CI.

Change-Id: I9f19d833f306930704b09de0c4d425461f1f3f63
2017-02-01 19:15:41 +00:00
Mathieu Bultel
79f148b4d7 Use common directory in CI scenario for net-config
The multinode_major_upgrade scenario is using an external
directory for net-config.
Moving this to the internal directory in tht common/

Change-Id: I41692d2ddb9fbd2002fd7910933ab4edff74f33e
2017-01-31 09:09:14 +01:00
Emilien Macchi
ceebfa28c0 multinode/upgrade: set heat::rpc_response_timeout to 600
Continue the work done on https://review.openstack.org/#/c/423302/

Change-Id: I931534e0ec33e131809186f74068eb479d38a0f9
2017-01-27 14:14:53 -05:00
Emilien Macchi
1dd364fc8a Use os-net-config in multinode jobs
Full credits to James Slagle, author of this code in TripleO CI:
https://review.openstack.org/#/c/409346

This patch adds a new template for configuring networking on the
Overcloud nodes using os-net-config in multinode jobs. Previously we
were not using os-net-config at all.

Also updates the multinode.yaml environment to use this network config
template.

The IP of each subnode is used when the vxlan tunnels are configured in
OVS, given that, each node needs its own unique network configuration.
To accomodate that, the templates makes use of the network_config_hook
function to influence run-os-net-config.sh

This patch is just the first step to totally switching to os-net-config
in multinode jobs. The devstack-gate code is still in use to bootstrap
the initial networking on the undercloud and subnodes. That will be
switched over in subsequent patches.

Change-Id: I6efa71eb23109d0b3b480061135c572ab89f5981
Co-Authorized-By: James Slagle <jslagle@redhat.com>
Implements: blueprint multinode-ci-os-net-config
2017-01-27 14:26:31 +00:00
Jenkins
ef741fab9b Merge "Adds SSH Banner text into sshd_config" 2017-01-27 12:29:12 +00:00
Emilien Macchi
54667d3cd2 ci: import multinode_major_upgrade.yaml from tripleo-ci
So we can version it between releases like we do with scenarios.

Change-Id: I3e3aa5d4fa7e03d1f4483bf42fcff17386b58709
2017-01-26 08:30:10 -05:00
Luke Hinds
73f58792f9 Adds SSH Banner text into sshd_config
Allow use of ooo template to populate banner text into /etc/issue

Change-Id: If5b2da9415f10652a0a64503b2da4b63d1018640
Depends-On: Ie9f8afdfa9930428f06c9669fedb460dc1064d5e
Closes-Bug: #1640306
2017-01-26 11:04:01 +00:00
Jenkins
8ab1918f02 Merge "Add ec2-api service" 2017-01-25 20:49:56 +00:00
Emilien Macchi
ac70b82190 Import multinode + pingtest from tripleo-ci
* Import multinode-3nodes roles data
* Import multinode
* Import tenantvm_floatingip pingtest

We are importing these files from tripleo-ci because they contain some
informations that need to be versionned (TripleO services, data binding,
etc), specific to TripleO versions.

Change-Id: I9d4ab144f98e8bd46cad2c29411d1270f6469b91
2017-01-24 14:23:53 -05:00
Sven Anderson
e02c3c2962 Add ec2-api service
This change adds the ec2api service using the
tripleo::profile::base::nova::ec2api profile.

The deprecated nova-cert service is not supported, and therefore the
RegisterImage action is not supported either.

Change-Id: I2510fd4ed935d8423216fff9ce3adf2d69c9c804
Depends-On: If4b091e1ca02f43aa9c65392baf8ceea007b7cfb
2017-01-24 16:34:00 +00:00
Emilien Macchi
44ec61345d scenario002: updating volume encryption provider
https://review.openstack.org/#/c/416672 made the new luks provider required.
Let's use it.

Closes-Bug: #1658755
Change-Id: Icc7c3c933af6621959ce3e6af99c73b4afd87509
2017-01-24 09:45:02 +00:00
Juan Antonio Osorio Robles
312f357b5a Fix comment in freeipa_setup.sh script
It wrongly pointed that one can use an IP, and this is not correct. For
this case, it needs to be a CIDR. This is because we are not using DHCP
to set this address in CI, so the CIDR is required, else it will use /32
which will not route.

Change-Id: Iea070d49aeb2324564bae59082481b5485d1d360
2017-01-19 01:02:13 +02:00
Juan Antonio Osorio Robles
78215fae79 Add IP to provisioning interface for FreeIPA if requested
If a variable is set in the environment, one can assign an IP for the
provisioning interface for FreeIPA, this is set by OVB and it doesn't
use DHCP, so it's needed since we want the overcloud nodes to
communicate with the CA.

bp tls-via-certmonger

Change-Id: I44a8135118b047f154e3edbb8846751bd2e16c84
2017-01-18 20:51:20 +02:00
Jenkins
97488b8ba3 Merge "Remove Glance Registry service" 2017-01-18 00:05:11 +00:00
Emilien Macchi
26ae162564 Nova Placement API composable service
Add support to deploy Nova Placement API service in TripleO.

Change-Id: Ie41ebc362a0695c8f55419e231100c63007405ed
2017-01-17 16:23:16 +00:00
Emilien Macchi
4ccb27ab81 Remove Glance Registry service
Glance registry is not required for the v2 of the API and there are
plans to deprecate it in the glance community.

Let's remove v1 support since it has been deprecated for a while in
Glance.

Depends-On: I77db1e1789fba0fb8ac014d6d1f8f5a8ae98ae84
Co-Authored: Flavio Percoco <flaper87@gmail.com>
Change-Id: I0cd722e8c5a43fd19336e23a7fada71c257a8e2d
2017-01-16 17:04:19 -05:00
Juan Antonio Osorio Robles
aaf4dc1690 Add git to FreeIPA test server install script
This is needed to fetch the tripleo repo; since it's not available
because we're using the generic cloud image on CI.

Change-Id: I22ebe028c7b23cb5fba7d03ce89e967bca5951f8
2017-01-13 17:10:47 +02:00
Juan Antonio Osorio Robles
00b2529d63 Allow freeipa environment file to be in /tmp
Relying on home can be tricky if run on CI, since we would need to
hard-code the user. So for this case, we can use /tmp to source that
environment file from.

bp tls-via-certmonger

Change-Id: Ie6234a15af7aa493257c13bd40cbf51ab36085be
2017-01-11 00:19:18 +02:00
Jenkins
c72bc74207 Merge "Add FreeIPA server installation script" 2017-01-09 16:30:02 +00:00
Emilien Macchi
b7db1f479a scenario001: add Panko testing
Panko has been introduced in TripleO but is not tested yet.
Adding it on scenario001 with other telemetry services.

Depends-On: If2f6559a7d76b26fa9b0a3ecfa2e2101aae93e3c

Change-Id: Ic76f1cb36ee05e22cfda1fff8ad3f0ec18acf617
2017-01-06 17:57:00 +00:00
Steven Hardy
3c6ec654b4 Bump template version for all templates to "ocata"
Heat now supports release name aliases, so we can replace
the inconsistent mix of date related versions with one consistent
version that aligns with the supported version of heat for this
t-h-t branch.

This should also help new users who sometimes copy/paste old templates
and discover intrinsic functions in the t-h-t docs don't work because
their template version is too old.

Change-Id: Ib415e7290fea27447460baa280291492df197e54
2016-12-23 11:43:39 +00:00
Juan Antonio Osorio Robles
ee7456ef7d Add FreeIPA server installation script
This script is meant for CI and it deploys an instance of FreeIPA.
This instance is needed for deploying TLS everywhere and will serve as
the CA. The parameters relevant to this instance will then be passed to
the overcloud deploy command.

Change-Id: I38b880250c3b30d7fa1c9e56e82a1be8b59b7e30
2016-12-21 15:49:30 +02:00
Dan Prince
1a9c2022cd Decouple swift-proxy from ceilometer
This patch updates the swift-proxy base profile so that
we now explicitly set the rabbit_port. This allows us
to remove the use of puppet-ceilometer default settings
in the puppet-tripleo modules change ID here:
I8d9f69f5e9160543b372bd9886800f16f625fdc6

It also adds a new boolean parameter that allows the
end user to disable the swift ceilometer pipeline
by setting SwiftCeilometerPipelineEnabled to false.

This two settings allow Swift to once again be installed
on a machine without configuring Ceilometer.

Depends-On: Id1584df5e5bb90f8087ae25eecc4834179b6fc21

Change-Id: Ief5399d7ea4d26e96ce54903a69d660fa4fe3ce9
Related-bug: #1648736
2016-12-11 20:30:09 -05:00
Jenkins
ae1a0e6ec0 Merge "scenario001: deploy Cinder with RBD backend" 2016-12-02 14:34:41 +00:00