7815 Commits

Author SHA1 Message Date
Alex Schultz
e34cfb63d9 Cleanup hosts name on initial install
When we initially install our heat hosts configuration, we need to make
sure the short hostname for the host is not currently defined within the
hosts file as it will conflict with our definitions later in the file.

We only do this on initial installation as we don't want to touch the
file after the initial deployment outside of the matching host entries.
This also is restricted to just the short hostname which is consumed via
the configuration management for determining bootstrap configurations as
well as used by some services during startup (rabbitmq)

Change-Id: If55cf8f90ee7be4acd40fda1f72bb1f31d218b57
Related-Blueprint: all-in-one
2018-07-09 15:02:08 -06:00
Zuul
66872cc8d9 Merge "Add subnet host_routes to output of OS::TripleO::*::Ports::Port" 2018-07-09 11:24:33 +00:00
Tom Barron
25f93efd8c Fix bootstrap_host_exec check for manila_share
The hiera check for bootstrap node was using 'manila-share'
for service name, which returns nil.  Changing the service
name to 'manila_share', the hiera lookup for
'manila_share_short_bootstrap_node_name' succeeds.

Change-Id: Id3c001f8f0ee9dc156f22a027f66516d6812f51a
2018-07-08 05:11:58 -04:00
Zuul
e259d277cb Merge "Fix openstack-manila-share resource typo" 2018-07-07 18:22:18 +00:00
Zuul
22619c5bd6 Merge "Lower reserved memory for nova-compute" 2018-07-07 06:09:37 +00:00
Tom Barron
3bf5d07a94 Fix openstack-manila-share resource typo
It was 'manila-share' instead of 'openstack-manila-share'.

TrivialFix

Change-Id: I18cb6fb7af227a30138ba05ee392e49970f19c7e
2018-07-06 15:52:48 -04:00
Zuul
5bea50a257 Merge "Double the docker puppet process counts" 2018-07-06 19:26:41 +00:00
Zuul
995fa8451a Merge "Set configure_qemu to true to get qemu port range applied" 2018-07-06 18:06:52 +00:00
Zuul
1842528f14 Merge "Store ODL logs to file" 2018-07-06 13:34:01 +00:00
Harald Jensås
f0bc5e460a Add subnet host_routes to output of OS::TripleO::*::Ports::Port
Adds the host_routes on the neutron ports subnet to the output
of the Tripleo Ports template. This will allow use of get_attr
in the role to pass routes for a subnet to NetworkConfig.

Partial: blueprint tripleo-routed-networks-templates
Change-Id: I46896153ea59ae0a6a8dff0208de2b0d168927ae
2018-07-06 12:03:08 +02:00
Zuul
7ae479f416 Merge "Undercloud specific volumes for mistral-executor container" 2018-07-06 08:14:37 +00:00
Zuul
cfdcac721e Merge "Iterate only once in network configs parameters" 2018-07-06 01:05:21 +00:00
Zuul
cf77ea0ae0 Merge "Add networking-ansible ML2 plugin support" 2018-07-05 17:44:05 +00:00
Zuul
d8efd66e4a Merge "Do not disable ipv6 on loopback interface for epmd" 2018-07-05 17:06:43 +00:00
Bogdan Dobrelya
f29e2c7a22 Double the docker puppet process counts
Deploy steps run the docker puppet steps with max of
a 3 processes. This takes like 30 min to finish the
containers configuration for a typical overcloud (in CI).

Double the numbers to allow more puppets finish threir
tasks sooner.

Change-Id: Id0b0371e7f21f56528027921732ade786525d659
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-07-05 14:01:10 +03:00
Zuul
a8393fa8a4 Merge "Handle roles w/o deprecated_nic_config_name during template cleanup" 2018-07-05 10:54:45 +00:00
Zuul
4cb377c258 Merge "Fluentd: disable log path docker transformation" 2018-07-05 10:54:41 +00:00
Zuul
c8bbe1c3a0 Merge "Handle blank lines followed by comment in nic conversion script" 2018-07-05 10:54:39 +00:00
Zuul
c07fd369d1 Merge "Add support for NodeDataLookup for Ceph deployment" 2018-07-05 07:19:41 +00:00
Zuul
9b35006156 Merge "Update scenario003 to deploy separate messaging backends" 2018-07-05 07:06:59 +00:00
Zuul
5a557a2d50 Merge "Disable pid file usage in the swift_rsync container" 2018-07-05 04:36:52 +00:00
Harald Jensås
e999d673d1 Iterate only once in network configs parameters
This re-orderes the parameters section of network config
templates. By doing this we reduce the number of times we
iterate over networks in the parameters section from
three times to once.

Change-Id: Id45c67b2c2b87fff5c557666a7959bfc0e49d36c
2018-07-05 01:10:48 +02:00
Juan Badia Payno
b0a27757c4 Fluentd: disable log path docker transformation
Currently fluentd is using a path transformation to set the log
path on all the docker services. This transformation creates
/var/log/containers path from /var/log, so all the log paths are
configured wrongly as /var/log/containers/containers/

This path disables the transformation on the fluentd service.

Closes-Bug: #1780050

Change-Id: I07374da9ddbd61f9feb2a17dcbe4514f43d70457
2018-07-04 17:25:15 +02:00
Damien Ciabrini
93fb7f08b8 Do not disable ipv6 on loopback interface for epmd
Currently, as discussed in [1], the Erlang Port Mapper Daemon requires that
the loopback interface supports IPv6 in order to initialize properly.
Without that, rabbitmq-server cannot start and deployment fails at step 2.

Until the startup behaviour of epmd is amended, do not disable inet6 support
on loopback device to workaround the problem.

Closes-Bug: #1780065

[1] https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1312507/comments/15

Change-Id: I200acaeaca15e47dc2e3b2462a6254e85477ffb0
2018-07-04 05:47:19 -04:00
Zuul
56dd8bd8a5 Merge "Refactor the inventory generation" 2018-07-04 06:04:58 +00:00
Zuul
977ec208d1 Merge "Update for openshift 3.9" 2018-07-04 06:04:56 +00:00
Zuul
2061c5d8c9 Merge "Execute post_update_tasks in update playbook" 2018-07-04 05:27:46 +00:00
Zuul
287aac536e Merge "Fix non-HA rabbitmq user password updates" 2018-07-03 18:36:28 +00:00
Zuul
de62fe3844 Merge "Fix gnocchi auth mode to basic" 2018-07-03 12:37:46 +00:00
Flavio Percoco
c0cf926b65 Refactor the inventory generation
Avoid using templates and allow for easier manipulation of host groups.
This patch is a starting point for the scaleup patch that adds new
nodes (masters and workers) to the the inventory and requires a more
flexible node groups management.

Change-Id: Ib3d6c580d81dae648c5828582e24d20fc3668099
2018-07-03 14:13:42 +02:00
Martin André
4e30f51470 Update for openshift 3.9
This commit updates the openshift templates to deploy openshift 3.9
instead of 3.7.

Update the default playbook path to the one expected by
openshift-ansible 3.9.

Update the default openshift-ansible variables and move them in the
template where they belong. They can be overridden individually via the
OpenShiftGlobalVariables heat parameter.

Disable unbound on the openshift nodes in CI as it is listening on port
53 and is preventing openshift to start its own DNS service.

Co-Authored-By: Flavio Percoco <flavio@redhat.com>
Depends-On: I6f123cd71a23fb15aaa2005f7397fc98fdaf187a
Depends-On: I27ad9d168af575da8c4f5094152c94e2fa03987c
Change-Id: Ifc3d25fa590cfba1fa64ed0266c76c9342a7aa4f
2018-07-03 14:13:42 +02:00
Martin Schuppert
547552fc7b Set configure_qemu to true to get qemu port range applied
With https://review.openstack.org/#/c/561784 we change the default
migration port range to '61152-61215'.
nova::migration::qemu::configure_qemu needs to be set to true that
the config gets applied via puppet-nova.

Change-Id: Iad4b392c9fe7426f2ce10a02fadd8b1aeee34ef6
Closes-bug: 1779820
Depends-On: Idadfc7b3507977f1385e846a48a734ed0e5f0a32
2018-07-03 11:24:39 +02:00
Zuul
9f1d855627 Merge "OVN: Remove environment files which deploy OVN dbs in non HA" 2018-07-03 03:42:20 +00:00
Zuul
794b9d527e Merge "Add SELinux management to containerized undercloud" 2018-07-02 12:35:34 +00:00
Janki Chhatbar
223b9428f1 Store ODL logs to file
ODL is configured to log to console and then access the logs
via docker logs. Older logs are being deleted too fast. So
moving back to logging to file which is default setting in ODL
THT.
https://github.com/openstack/tripleo-heat-templates/blob/
master/puppet/services/opendaylight-api.yaml#L60

Change-Id: I29724cfb23e13c8293d1b7b4341cbd409ae1b7a6
Closes-Bug: 1779629
2018-07-02 10:35:25 +00:00
rabi
6d5b9ab421 Add networking-ansible ML2 plugin support
Depends-On: https://review.openstack.org/577074
Depends-On: https://review.openstack.org/576093

Change-Id: Ib0c2395fbabc654378101527ca065b5c69d3222d
2018-07-02 13:22:04 +05:30
Numan Siddique
819805d708 OVN: Remove environment files which deploy OVN dbs in non HA
In a 3 node controller deployment OVN db servers are started only on one node
and if that node goes down, we hit the down time for ovsdb-servers and neutron-server.

So it is highly recommended to deploy OVN db servers as a pacemaker HA resource.

Change-Id: Ia2f50d539bf6afbeb67610a925f9f4ea0849d735
Closes-bug: #1779123
2018-07-02 11:35:38 +05:30
Zuul
0c0b82b908 Merge "Add scenario011 to install ironic in the overcloud" 2018-06-30 22:38:07 +00:00
Zuul
bb6325c8fd Merge "Add release note about Designate" 2018-06-30 09:22:10 +00:00
Zuul
ddc6b91b5e Merge "Add default value for name_lower in network_data.yaml to update ServiceNetMap" 2018-06-30 09:22:04 +00:00
Zuul
423d3bee26 Merge "storage_vnx_pool_name is incorrect for VNX cinder driver." 2018-06-30 09:21:59 +00:00
Zuul
93f2457cda Merge "Fix incorrect Redis VIP declaration in fixed-ip-vips-v6.yaml" 2018-06-30 09:13:37 +00:00
Zuul
0e23ea901d Merge "Do not grant caps if pool name is empty" 2018-06-30 09:08:51 +00:00
Zuul
817b41aa0e Merge "Make BIND /var dir persistent" 2018-06-30 05:07:23 +00:00
Zuul
bb4e6a3488 Merge "Adds docker SFC and cleans up ODL envs" 2018-06-30 04:46:24 +00:00
Zuul
96e79ff989 Merge "Moving glance mount nfs block to puppet glance-api template" 2018-06-30 01:39:47 +00:00
Zuul
5dddc280e2 Merge "Allow custom --bip CIDR for docker options" 2018-06-30 01:32:02 +00:00
Zuul
4969224377 Merge "Prevent Neutron L3 and Metadata agents from running when using OVN DVR." 2018-06-30 01:31:58 +00:00
Zuul
ddabb32f13 Merge "use versioned keystone endpoint in OPENSTACK_KEYSTONE_URL" 2018-06-29 19:39:04 +00:00
Zuul
07822d782f Merge "Make BIND listen address configurable" 2018-06-29 09:01:24 +00:00