133 Commits

Author SHA1 Message Date
Jenkins
963d1b3db6 Merge "Add containerized manila-share to CI" 2017-07-26 06:19:09 +00:00
Jenkins
5b3df63f64 Merge "CI/scenarios : Add scenario007 for OVN services" 2017-07-25 00:53:46 +00:00
Jenkins
86621ff34a Merge "Add support for nova live/cold-migration with containers" 2017-07-24 15:22:39 +00:00
Jenkins
84e6bff8a6 Merge "Refactor iscsi initiator-name reset into separate service" 2017-07-24 04:36:35 +00:00
Numan Siddique
1cb49fd84e CI/scenarios : Add scenario007 for OVN services
Depends-On: Ide11569d81f5f28bafccc168b624be505174fc53
Change-Id: Ie3f09dc70a582f3d14de093043e232820f837bc3
2017-07-23 14:11:26 +00:00
Oliver Walsh
4a7f3398f1 Add support for nova live/cold-migration with containers
Updates hieradata for changes in https://review.openstack.org/471950.
Creates a new service - NovaMigrationTarget. On baremetal this just configures
live/cold-migration. On docker is includes a container running a second sshd
services on an alternative port.
Configures /var/lib/nova/.ssh/config and mounts in nova-compute and libvirtd
containers.

Change-Id: Ic4b810ff71085b73ccd08c66a3739f94e6c0c427
Implements: blueprint tripleo-cold-migration
Depends-On: I6c04cebd1cf066c79c5b4335011733d32ac208dc
Depends-On: I063a84a8e6da64ae3b09125cfa42e48df69adc12
2017-07-23 02:26:55 +01:00
Ben Nemec
8fb3da3c60 Make EnablePackageInstall and Debug descriptions consistent
Change-Id: I3ea7c0c7ea049043668e68c6e637fd2aaf992622
Partial-Bug: 1700664
2017-07-21 18:38:58 +00:00
Victoria Martinez de la Cruz
2fddc77c33 Add containerized manila-share to CI
Manila Share THT has been merged, so it should be added
to the containerized multinode environment in CI.

Change-Id: I6bb28e1f5e57b427aafb152d41ec40c807eaa7fa
2017-07-19 16:10:12 -03:00
Oliver Walsh
8e5bb308cf Refactor iscsi initiator-name reset into separate service
This currently assumes nova-compute and iscsid run in the same context which
isn't true for a containerized deployment

Change-Id: I11232fc412adcc18087928c281ba82546388376e
Depends-On: I91f1ce7625c351745dbadd84b565d55598ea5b59
Depends-On: I0cbb1081ad00b2202c9d913e0e1759c2b95612a5
2017-07-17 13:56:15 +01:00
Emilien Macchi
28f926f96e CI/scenarios: set NotificationDriver to 'noop'
So we don't waste RabbitMQ resources since nothing will actually consume
the messages sent on the queue.

Note: we don't change scenario001, since it's a Telemetry scenario and
the services require notifications enabled.

Change-Id: I7d1d80da4eda7c0385461fe62b1d3038022973c6
2017-07-14 17:13:04 +00:00
Jenkins
356e454573 Merge "Implement scenario006 with Ironic in overcloud" 2017-07-12 21:15:25 +00:00
Ben Nemec
766de0cacb Disable network validation in multinode jobs
Sometimes the infracloud gateway refuses to ping even though
everything else is working fine.  Since we have coverage of this
functionality in the OVB jobs it should be safe to turn it off
here so it stops spuriously failing our jobs.

We can't just set the resource to OS::Heat::None because there
are other resources with dependencies on it.  Instead, this adds
a noop version of the validation software config that always
returns true.

Change-Id: I8361bc8be442b45c3ef6bdccdc53598fcb1d9540
Partial-Bug: 1680167
2017-07-08 14:49:42 +00:00
Emilien Macchi
79e437954e Rename CongressApi to Congress (docker)
Before it was Congress, let's stay consistent and stop using CongressApi
in Docker service, because we release.

Change-Id: Id939b3d70e185da4279f3860812fa5dce27d64dd
2017-07-07 14:13:07 +00:00
Jenkins
12377bc7d0 Merge "scenario001: containerize services for CI" 2017-06-30 13:43:35 +00:00
Jenkins
7551840221 Merge "Add README to ci/environments directory" 2017-06-30 03:00:31 +00:00
Emilien Macchi
0426d45c3b scenario001: containerize services for CI
Change-Id: I4308032891f0f9f5e93159f4a7ca29dada5850be
2017-06-29 14:02:09 +02:00
Ben Nemec
df1d691066 Add README to ci/environments directory
Let's be clear that the contents of this directory are for ci use
only and should not be used in production.

Change-Id: I3b448b9922c207b29cbdae36ee876368bda23dac
2017-06-27 14:47:55 -05:00
Sagi Shnaidman
7c1ecd0d8d Add Ceph configuration with PoolDefaultSize 1
Add Ceph pool size configuration for CI where PoolDefaultSize is 1

Change-Id: I626d1398e31c3fcb9f100a8b185d71ba5909034a
2017-06-27 22:41:56 +03:00
Jenkins
7ad4da51a2 Merge "scenario004: containerize services for CI" 2017-06-23 22:28:04 +00:00
Jenkins
a763d9993c Merge "scenario002: containerize services for CI" 2017-06-23 17:31:29 +00:00
Emilien Macchi
4b91ae6afb scenario004: containerize services for CI
Change-Id: I025ed07ce97132bce3fa7a15d170fc62e17e07a4
2017-06-23 15:58:03 +02:00
Emilien Macchi
fc7a6ea39d scenario002: containerize services for CI
Change-Id: I9f9a9dcf1666b5b0475bc8fae5b785747480b7d6
2017-06-23 12:34:47 +02:00
Derek Higgins
78ea1bb0f7 Implement scenario006 with Ironic in overcloud
Add a scenario to test containerized baremetal to the tenant.

Change-Id: I760a42c4f71bc2659c609e0014da50a7ab959c1a
2017-06-23 10:51:50 +01:00
Emilien Macchi
d6260f3bec scenario003: containerize services for CI
Change-Id: I152f5c97d2545aa595e193218653a4b7e56c0cb6
2017-06-22 11:52:00 -04:00
Ben Nemec
0b4635e009 Test Horizon by default in multinode jobs
Horizon is a pretty core service for the overcloud, so we should
test it in the gate jobs.  The TripleoFirewall service is also
included so the Horizon ports get opened correctly.

Change-Id: I844b6eee547f9b4aa8e0935ab2e1e458f7a9e960
2017-06-20 11:41:43 -05:00
Jiri Stransky
651633f60b Remove deprecated multinode-container-upgrade.yaml
This has been renamed to multinode-containers.yaml to reflect that the
scenario isn't upgrade-specific.

Change-Id: I151792700475643a4088d98eb5e1bd7248e260cd
Depends-On: Ib04e2ccb330d73df464ad97a20908f20426a4249
2017-06-12 14:30:30 +00:00
Jenkins
e797c0321b Merge "Container-specific variants of scenarios 001-004" 2017-06-06 20:12:32 +00:00
Jenkins
b344f5994f Merge "Containerized nova-compute working with Deployed Server" 2017-05-31 10:05:58 +00:00
Jiri Stransky
8b1bcf00cd Containerized nova-compute working with Deployed Server
When using the Deployed Server feature, we rely on Puppet to install
packages. But nova-compute/libvirt puppet is running in a container, so
it cannot install anything on the host. We rely on virtlogd on the host,
so we need to install it there some way. This patch uses host_prep_tasks
for that, conditionally based on the EnablePackageInstall stack
parameter value.

Also multinode-container-upgrade.yaml env is copied as
multinode-containers.yaml, to remove the naming confusion, as the
environment file can be used for more than just upgrades. The old env
file will be removed once we make the upgrade job use the new one (catch
22 type of issue).

Change-Id: Ia9b3071daa15bc30792110e5f34cd859cc205fb8
2017-05-29 13:42:34 +02:00
Jiri Stransky
f48c10c08b Container-specific variants of scenarios 001-004
Add container-specific variants of scenarios. These variants are
supposed to be temporary, as their only purpose is to allow us CIing the
scenarios with containers while we don't have pacemaker containerized
yet. Once we can deploy and upgrade containerized deployment with
pacemaker, these should be deleted and normal scenarios should be used.

Alternative approach would be to edit the scenarios on the fly within
the CI job, to remove the pacemaker parts, which would be more DRY, but
perhaps more surprising when trying to debug issues.

Change-Id: I36ef3f4edf83ed06a75bc82940152e60f9a0941f
2017-05-26 15:07:55 +02:00
Pradeep Kilambi
483a38611b Include mongodb in scenario002 job
Since we disable mongodb by default, zaqar needs it in sceanio002 job.
Lets explicitly include it so it doesnt fail with:

Error while evaluating a Function Call, Could not find data item mongodb_node_ips
in any Hiera data file and no default supplied at
 /etc/puppet/modules/tripleo/manifests/profile/base/zaqar.pp

Change-Id: I8f66def467d0c0175ad76f2ba5256b6a431934a8
2017-05-25 12:05:01 +00:00
Jenkins
aeb11f384f Merge "Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default" 2017-05-23 15:58:48 +00:00
Keith Schincke
cdfe035663 Remove osd_pool_default_min_size to allow Ceph cluster to do the right thing by default
The default value is 0 which has the minimum number be caluclated based on the replica count
from osd_pool_defaut_size. The default replica count is 3 and the calculated min_size is 2.
If the replica count is 1 then the min_size is 1. ie: min_size = replica - (replica/2)
Add CephPoolDefaultSize parameter to ceph-mon.yaml. This parameter defaults to 3 but can
be overriden. See puppet-ceph-devel.yaml for an example

Change-Id: Ie9bdd9b16bcb9f11107ece614b010e87d3ae98a9
2017-05-22 14:38:52 -04:00
Carlos Camacho
3c211523c8 Add Neutron L2 Gateway service to scenario 004
This submission installs the Neutron L2 Gateway service
in the scenario 004.

This is only to check that the service is installed correctly
no sanity check is running yet.

Change-Id: I421802e9aa1a9f192860a6d72b4bb7c729666c3a
2017-05-22 09:22:44 +02:00
Jenkins
ede56b7a8e Merge "Update the template_version alias for all the templates to pike." 2017-05-20 00:07:38 +00:00
Carlos Camacho
0a0e2ee629 Update the template_version alias for all the templates to pike.
Master is now the development branch for pike
changing the release alias name.

Change-Id: I938e4a983e361aefcaa0bd9a4226c296c5823127
2017-05-19 09:58:07 +02:00
Jan Provaznik
28308e85b5 Make sure that manila share is created after share type
The pingtest template creates both default share type and
a share which should use this type. Explicit reference of
the share type should assure that the share is always created
when share type exists.

Change-Id: I756e6a8e477de8d0e46302dda26265ae482dd2e5
Closes-Bug: #1691853
2017-05-19 09:28:00 +02:00
Steven Hardy
22433c54af Fix absolute paths in scenario001-multinode.yaml
All paths should be relative as we should not rely on the package
location - this can easily be overridden via --templates, and this
is exactly what we do for the upgrades job, where this will break
because we'll include the wrong (newer) version of these services
when deploying the older pre-upgrade overcloud.

Change-Id: Id8aea09305c0857253c44477945e34377cca64ca
2017-05-15 10:29:39 -04:00
Jenkins
53a70d6aa7 Merge "multinode-container-upgrade.yaml usable for mixed upgrade" 2017-05-15 10:28:52 +00:00
Pradeep Kilambi
66b39c2c21 Deprecate Ceilometer Expirer
We dont need expirer unless we have collector and standard
storage enabled. Lets turn it off by default and make it
an optional service. In upgrade scenario, we will kill the
process and stop the expirer, unless explicitly enabled.

Change-Id: Icffb7d1bb2cf7bd61026be7d2dcfbd70cd3bcbda
2017-05-11 11:44:48 -04:00
Jiri Stransky
951d66abe4 multinode-container-upgrade.yaml usable for mixed upgrade
We need Docker service mapping defined and set to OS::Heat::None so that
we can reuse multinode-container-upgrade.yaml service list both for
initial deployment and for the upgrade. The upgrade will not be broken
by this as its env files are being passed later on the command line, and
they'll take priority and effectively enable the Docker service on
upgrade.

Another change we need for mixed upgrade is to add the TripleoPackages
service, which will take care of updating RPMs on the bare metal and
prevent docker installation from failing with outdated
puppet-tripleo ("Could not find class ::tripleo::profile::base::docker").

Related-Bug: #1685795
Closes-Bug: #1689772
Change-Id: Idb6917f22d0e9f74f8853972c6a08bffb01be410
2017-05-10 11:12:04 +02:00
Jenkins
00cce5aa15 Merge "Deprecate ceilometer collector" 2017-05-02 19:02:19 +00:00
Saravanan KR
41c7e39da7 Upgrade failure when service parameter is changed for PankoApi
scenario001 env in ocata has mapped PankoApi locally and it
has been removed master scenario001 env file. In tripleo.sh
upgrade command, both old (ocata) and new (master) env files
are included, because of which new service file is not used,
as it has been removed. This change is to add the PankoApi
mapping back to scenario001 env file for now. Actual fix
will be remove old env file from upgrade command of tripleo.sh.

Partial-Bug: #1685759
Change-Id: I4a8ee38d990a1980eea6ec63f2780357d040ded4
2017-04-26 12:08:53 +05:30
Pradeep Kilambi
2cb2d8d77b Deprecate ceilometer collector
Ceilometer collector is deprecated in Pike release.
Do not deploy by default. Instead use the pipeline
yaml to configure the publisher directly.

Closes-bug: #1676961

Change-Id: Ic71360c6307086d5393cd37d38ab921de186a2e0
2017-04-25 16:38:01 -04:00
Jenkins
386ac7791b Merge "Disable Manila CephFS snapshots by default" 2017-04-25 06:14:13 +00:00
Carlos Camacho
258c6ce52d Merge pre|post puppet resources into pre|post config.
The [Pre|Post]Puppet resources were renamed in
https://review.openstack.org/#/c/365763.
This was intended for having a pre/post deployment
steps using an agnostic name instead of
being attached to a technology.

The renaming was unintentionally reverted in
https://review.openstack.org/#/c/393644/ and
https://review.openstack.org/#/c/434451.

This submission merge both resources into one,
and remove the old pre|post hooks.

Closes-bug: #1669756
Change-Id: Ic9d97f172efd2db74255363679b60f1d2dc4e064
2017-04-24 12:56:49 +02:00
Jenkins
8514fb649a Merge "scenario001/pingtest: enable Gnocchi resource again" 2017-04-21 15:14:57 +00:00
Luke Hinds
5e14f95a4a SSHD Service extensions
This change implements a MOTD message and provides a hash of
sshd config options which are sourced to the puppet-ssh module
as a hash.

The SSHD puppet service is enabled by default, as it is
required for Idb56acd1e1ecb5a5fd4d942969be428cc9cbe293.
Also added the service to the CI roles.

Change-Id: Ie2e01d93082509b8ede37297067eab03bb1ab06e
Depends-On: I1d09530d69e42c0c36311789166554a889e46556
Closes-Bug: #1668543
Co-Authored-By: Oliver Walsh <owalsh@redhat.com>
2017-04-19 18:03:02 +01:00
Emilien Macchi
152df0164f scenario001/pingtest: enable Gnocchi resource again
We disabled it because it stopped working. Let's see how it works now.

Change-Id: If1efb86cb1d6ada357d4562408a566ac702fb6be
Closes-Bug: #1646506
2017-04-18 13:36:24 +00:00
Jenkins
b66c7bde4b Merge "Non-ha multinode environment for container upgrade job" 2017-04-18 12:25:50 +00:00