377 Commits

Author SHA1 Message Date
Marios Andreou
884ceb1035 Fix scenario002-standalone missing aodh/ceilo/heat/gnocchi services
As tracked by ci squad at [1] scenario2 standalone is missing some
services and has extra horizon compared to the multinode being
replaced

[1] https://tree.taiga.io/project/tripleo-ci-board/task/543

Change-Id: I034dd365f6fd20060f9ad49c4e81b3c534efbe4b
2019-01-08 19:08:48 +02:00
Zuul
ee2d5946ae Merge "Fix scenario001-standalone missing aodh/ceilo/heat/gnocchi services" 2019-01-08 14:06:01 +00:00
Zuul
3b5a32c463 Merge "Fix scenario004-standalone - remove cinder/fluentd/horizon/redis" 2019-01-07 23:05:53 +00:00
Emilien Macchi
be07f991b6 Remove MongoDB
MongoDB support was stopped in Pike, it is not used anywhere now.
Therefore, in Stein are removing it to clean things up.

Change-Id: I4ec8f35b1dd71c25cfb41cc54105ac743ef67745
2019-01-04 15:17:00 +00:00
Marios Andreou
cf70e57351 Fix scenario004-standalone - remove cinder/fluentd/horizon/redis
As tracked in [1] the scenario4 standalone is carrying some
extra services compared to the multinode it replaces.

This disables cinder, fluentd, horizon and redis for scenario4

[1] https://tree.taiga.io/project/tripleo-ci-board/task/541

Change-Id: Ia6fbe2fe7392f25cc11276e2a9e17f4e5d6df1f1
2019-01-04 14:09:44 +02:00
Marios Andreou
4c5b528f84 Fix scenario001-standalone missing aodh/ceilo/heat/gnocchi services
As tracked by ci squad in [1] we are missing some of the scenario 1
services as they are overridden by the default standalone deploy
environment which explicitly sets these are OS::Heat::None [2].

This also disables swift and horizon as they aren't in scenario001

[1] https://tree.taiga.io/project/tripleo-ci-board/task/448
[2] 18d77c1704/environments/standalone/standalone-tripleo.yaml (L60)

Change-Id: I58482996b8df5989a0ab0402abc1622f436927cd
2019-01-04 13:17:29 +02:00
Zuul
2346d52362 Merge "Flatten Zaqar service configuration" 2019-01-03 19:03:17 +00:00
Zuul
8ab215a0ad Merge "Fix the scenario007 CI job failure" 2019-01-03 08:04:24 +00:00
Harald Jensås
e644e3dda9 Add MTU to neutron networks and nic-config templates
Neutron has support[1] to set the guaranteed MTU for
networks and network segments so that this is exposed
to plug-ins. In interest of supporting the use of
plug-ins to configure network devices in the future
this change adds MTU property on neutron networks.

The new (optional) property 'mtu' in the network
defenitions in 'network_data.yaml' is used to control
the MTU settings. By default the mtu is '1500'.

We already configure the MTU on the ctlplane neutron
networks, this adds the MTU to composable networks.

Also update the nic-config sample templates to include
mtu settings. A heat value resource is added to
nic-config templates to get the required minimum
viable MTU value for bridges, bonds and member
interfaces to ensure the MTU is large enough to allow
the largest configured MTU to traverse the path.

Closes-Bug: #1790537
Change-Id: I11e38f82eb9040f77412fe8ad200fcc48031e2f8
2018-12-22 17:03:09 +01:00
Zuul
454eff05fe Merge "Flatten Ironic services configuration" 2018-12-18 02:40:05 +00:00
Jill Rouleau
971d97bf99 Correct file modes for rpmlint failures
Numerous files have incorrect modes set. Correct these so that executables
have 755 and yaml files are 644 to address rpmlint errors.

Change-Id: I8db36209b41a492f6b85e3469994de884bf556e8
2018-12-14 13:21:28 -07:00
Cédric Jeanneret
0de7bc09f3 Flatten Zaqar service configuration
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration.

With this patch the baremetal version of zaqar service has been removed.

Change-Id: I8947d2fc5e5672e701d2802cd14a3fa176877a7d
Related-Blueprint: services-yaml-flattening
2018-12-14 07:45:24 +01:00
Cédric Jeanneret
ced9f888e9 Flatten Ironic services configuration
This change combines the previous puppet and docker files into a single file
that performs the docker service installation and configuration.

With this patch the baremetal version of Ironic services have been removed.

Change-Id: Icb33158a129356d939940433c82dae25a6334baf
Related-Blueprint: services-yaml-flattening
2018-12-14 07:25:13 +01:00
Zuul
d99e6b5407 Merge "Disable pacemaker on multinode-containers (fs010)" 2018-12-10 18:13:40 +00:00
Zuul
c2c0c4f8a2 Merge "Remove CephAnsibleSkipTags from scenario1/4 standalone ci envs" 2018-12-08 09:23:47 +00:00
Marios Andreou
57c4f03c0d Remove CephAnsibleSkipTags from scenario1/4 standalone ci envs
We should not be overriding the skip tags otherwise we get the bug below

Closes-Bug: #1806853
Change-Id: I5a549eca8d2a750c751b193c24f77d3466acc2f9
2018-12-06 17:01:50 +00:00
Emilien Macchi
0a99380389 Disable pacemaker on multinode-containers (fs010)
The integration between podman and pacemaker is still work in progress.
While it's being done, let's remove pacemaker from this job, so we can
have at least one CI job running with podman on the overcloud.
We still have coverage for pacemaker in the container-upgrade jobs.

This patch will likely be reverted once we have pacemaker + podman
ready for centos7.

Change-Id: I8638386c8f394c98b047fb2ae4ff97daeeaf4475
2018-12-06 15:29:38 +00:00
Rabi Mishra
670e720030 Remove nic for storage_mgt network
We don't enable StorageMgmt network on the Compute role by default.

Change-Id: Idd0be76c8d7ad45cddc80b7c1867919acae77ea6
Depends-On: https://review.openstack.org/622960
Depends-On: https://review.openstack.org/618669
Related-Bug: #1800811
2018-12-06 08:24:40 +00:00
Quique Llorente
5b94d501f1 Add env file for standalone scenario002
For scenario002 reference there is this [1] table, it's being tested at
[2]

[1] https://github.com/openstack/tripleo-heat-templates/blob/master/README.rst#service-testing-matrix
[2] https://review.openstack.org/#/c/618709/

Change-Id: I848854f31e3fe157eb07109ad854e60a4ed0e751
Story: https://tree.taiga.io/project/tripleo-ci-board/task/384?kanban-status=1447275
2018-12-03 18:04:59 +00:00
Zuul
5ebb679074 Merge "Initial conversion of scenario001 to standalone" 2018-12-01 19:31:27 +00:00
Zuul
5998717379 Merge "Adds ci/environments/scenario004-standalone.yaml for new job" 2018-12-01 17:52:10 +00:00
Zuul
692ffe51c8 Merge "Add a new standalone scenario003 env file" 2018-12-01 12:35:26 +00:00
Harald Jensås
055e252872 Add ctlplane interface routes
For the isolated networks we use the subnets host_routes
to set and get the routes for overcloud node interfaces.

This change add's this to the ctlplane interface.

Partial: blueprint tripleo-routed-networks-templates
Change-Id: Id4cf0cc17bc331ae27f8d0ef8f285050330b7be0
2018-11-26 17:49:31 +01:00
Marios Andreou
386adcae2c Adds ci/environments/scenario004-standalone.yaml for new job
Adds environment file to be used in featureset override by the
standalone scenario4 job. Tracked by ci squad at [1]. Used by
the new job definition in [2]


[1] https://tree.taiga.io/project/tripleo-ci-board/us/339
[2] https://review.openstack.org/#/c/619520/
Change-Id: I3e971f5aa49fafaf82352011fcf3c9fc54cde21a
2018-11-26 08:06:54 +00:00
Rafael Folco
244f6216fd Add a new standalone scenario003 env file
Convert scenario003 env to standalone.

Change-Id: Id371e895c67f215f0a923c850cac8c667117e609
Story: https://tree.taiga.io/project/tripleo-ci-board/us/338
2018-11-22 18:10:06 +00:00
Alex Schultz
b63f6a3ba6 Initial conversion of scenario001 to standalone
Adds a scenario001 standalone env file to be used by the eponymous
job in https://review.openstack.org/#/c/616872/

Story: https://tree.taiga.io/project/tripleo-ci-board/task/362
Change-Id: I2f625dc43ae07839b309490c57bf69ed6ca18197
2018-11-21 13:40:31 +00:00
Zuul
c83244dd1e Merge "multinode-containers: include Podman service" 2018-11-15 09:09:27 +00:00
Alex Schultz
fb0e8f62fc Convert dynamic lookups to use colon notation
With the upgrade to puppet 5, we can no longer use dots in the hieradata
key lookups. This change updates the THT for firewall_rules,
haproxy_endpoints and haproxy_userlists to use the colon notation.

Change-Id: I6f67153e04aed191acb715fe8cfa976ee2e75878
Related-Bug: #1803024
2018-11-12 21:21:49 -07:00
Emilien Macchi
7ef597c020 multinode-containers: include Podman service
The service is disabled by default but we need it in the registry so we
can enable it later in CI:
https://review.openstack.org/#/c/612526

Change-Id: I74466e6f9148d124734aeac9e06d85f4917abdba
2018-11-12 02:04:19 +00:00
Zuul
dec6e40b30 Merge "Add scenario 012 - overlcoud baremetal+ansible-ml2" 2018-11-02 17:49:17 +00:00
Derek Higgins
ca3d5e47b0 Add scenario 012 - overlcoud baremetal+ansible-ml2
Used by a new featureset[1] that uses the neutron ansible-networking driver
to configure the switch providing networking for overcloud ironic
nodes such that tenant networks are segregated via vlan.

This scenario also sets up ssh keys so that ansible inside the neutron
container can ssh to the controller to configure OVS.

The new scenario also includes a temporary workaround to upgrade
ansible in the neutron container, this can be removed once ansible
in the container is v2.5.8+

Also remove scenario011 as the patches that used it never merged and
now the tennant networks are working in the overcloud, we'll test
with this instead.

[1] - https://review.openstack.org/#/c/579601/

Change-Id: Ife83825216ccb96a5f24918f42a757d0c48b0e9d
2018-10-24 12:38:34 +01:00
Juan Antonio Osorio Robles
64f30b5b3c Delete novajoin manual setup from freeipa setup script
This is no longer needed, as the setup is done as part of the
installation steps for novajoin.

Change-Id: Iab76b924cfa569487ff557d30d767f7ec8680669
2018-10-23 13:28:30 +03:00
Zuul
14f5234300 Merge "Set openshift_docker_insecure_registries" 2018-10-22 21:15:53 +00:00
Zuul
ad06ebce20 Merge "Remove obsolete code for handling Pacemakerized resource restarts" 2018-10-15 11:31:45 +00:00
Martin André
cbac4c4373 Set openshift_docker_insecure_registries
This variable is used in the docker_image_availability check to
determine how to query the registries for image availability. Setting
this variable allows us to enable the docker_image_availability check
in the gate.

Change-Id: Ia1da542d342228bb28ad487371fad8d3ffc62d0b
2018-10-12 16:36:20 +02:00
Martin André
81ca843ee7 Deploy openshift all in one in scenario009
Previously we were only deploying a master node. This commit adds the
worker and infra service to the deployed node and configures it as an
all-in-one node. In order to do so, we need to disable HAproxy when
deploying in all-in-one as the HAproxy instance Openshift deploys on
the infra node conflicts with the one we normally set up. They both
bind ports 80 and 443.

Also removes the useless ComputeServices parameter that only makes
sense in a multinode environment.

Change-Id: I6c7d1b3f2fa5c7b1d9cf695c9e021a4192e5d23a
Depends-On: Ibc98e699d34dc6ab9ff6dce0d41f275b6403d983
Depends-On: I0aa878db62e28340d019cd92769f477189886571
2018-10-11 11:53:20 +02:00
Jiri Stransky
7a438651af Remove obsolete code for handling Pacemakerized resource restarts
Remove scripts and templates which dealt with Pacemaker and its
resource restarts before we moved to containerized deployments. These
should all now be unused.

Many environments had this mapping:

    OS::TripleO::Tasks::ControllerPreConfig: OS::Heat::None
    OS::TripleO::Tasks::ControllerPostConfig: OS::Heat::None
    OS::TripleO::Tasks::ControllerPostPuppetRestart: ../../extraconfig/tasks/post_puppet_pacemaker_restart.yaml

The ControllerPostPuppetRestart is only ever referenced from
ControllerPostConfig, so if ControllerPostConfig is OS::Heat::None, it
doesn't matter what ControllerPostPuppetRestart is mapped to.

Change-Id: Ibca72affb3d55cf62e5dfb52fe56b3b1c8b12ee0
Closes-Bug: #1794720
2018-10-11 10:41:15 +02:00
Zuul
ec227891bd Merge "scenario010: enable Ceph RBD" 2018-10-08 20:18:08 +00:00
Zuul
474b252358 Merge "ceilometer: Use new archive policies" 2018-10-07 09:06:33 +00:00
Zuul
42a6e65632 Merge "Remove unused parameter NeutronEnableDHCPAgent" 2018-10-03 01:42:49 +00:00
Daniel Alvarez
7bf7996c79 Remove unused parameter NeutronEnableDHCPAgent
NeutronEnableDHCPAgent is no longer consumed anywhere in OpenStack so
this patch is removing all occurrences of it in the environment files.

Change-Id: I042944c3f24d22fa60d4ed13fd9a56c5b93f465f
Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
2018-10-01 12:43:01 +02:00
Ben Nemec
9a69426508 Don't configure BIND to listen on localhost
It isn't useful for much of anything in a production deployment
and it conflicts with the local DNS server in CI.

Change-Id: Ied3ecdc71bfdf9bb6439e2c9464aa01346e69226
Closes-Bug: 1795043
2018-09-28 14:24:52 -05:00
Mehdi Abaakouk
7b71a4c073 ceilometer: Use new archive policies
Ceilometer now creates it own archive policies.

This change ensures we use the new one.

Change-Id: I23d678a4b2c92ad2e913594b0b8844605fe36355
2018-09-19 15:35:43 +02:00
Zuul
3ca0536773 Merge "Enable fluentd on scenario002-multinode-containers" 2018-09-19 08:01:44 +00:00
Carlos Goncalves
a33d42abb6 scenario010: enable Ceph RBD
Enabling Ceph on scenario010 allow us to test conversion of amphora
image format from QCOW2 to RAW in octavia-undercloud role in
tripleo-common.

This patch also removes NeutronServicePlugins from being set (in line
with I3da329db28701c7e9798083982953c5c9c861c50) and unchecks Octavia
from scenario003 in the service testing matrix set previously by
mistake.

Partial-Bug: #1778303
Related-Bug: #1722758

Change-Id: I717301dc0777ecd2118253a86cd1f8353539482f
2018-09-15 18:05:52 +02:00
Flavio Percoco
e1912cd59b Move to openshift-ansible 3.10
This patch adds a new role called OpenShiftInfra which is required to
define infra nodes. We've been bundling infra nodes with compute and
master nodes and they ought to be independent.

With the new node label management introduced in openshift-ansible, it
sounds like this is a good time for us to unbundle these nodes.

Co-Authored-By: Martin André <m.andre@redhat.com>
Depends-On: I291b6ac65eaa1a015bca2ee2bc1be90b0ea0aadc
Change-Id: I4f8127a9e2d822057f3db8f0974ab1db0698985a
2018-09-04 18:05:53 +00:00
Zuul
c3788f4ba9 Merge "Enable configuration of Designate's pools.yaml" 2018-08-30 02:07:21 +00:00
Numan Siddique
97c363b4eb Fix the scenario007 CI job failure
scenario007 CI job which enables OVN, is failing with the error
'Property DockerCinderConfigImage not assigned'.

docker-ha.yaml defines the cinder pacemaker service. This patch undefines
the cinder services in scenari007 file.

Change-Id: Ic743377c075c9a6f9a84fb13e35f0c1f29ff7228
2018-08-29 16:51:37 +05:30
Juan Badia Payno
31a8ff2ecc Enable fluentd on scenario002-multinode-containers
As there are several log path that are not set properly to be used by fluentd.
Fluentd needs to be enabled on the scenarios to be able to check the path properly.

This patch only enables fluentd on scenario002-multinode-containers.

Change-Id: If253da4f0f89221dc6ddacc280c984079c6a3c7f
2018-08-28 10:27:46 +02:00
Zuul
a885599770 Merge "Always enable image prepare service for docker clouds" 2018-08-28 04:38:50 +00:00