10085 Commits

Author SHA1 Message Date
Emilien Macchi
7e73fac11a Evaluating ansible_check_mode as a boolean
Evaluating ansible_check_mode as a bare variable is deprecated in
Ansible 2.8 and its support will be removed in 2.12.

Change-Id: I4d566bf8b7b3085d693fe94b53384e667f81b092
2019-04-17 16:55:40 -04:00
Zuul
2cee65b397 Merge "Handle any network name in ServiceNetMap" 2019-04-17 16:25:33 +00:00
Zuul
115421bf5a Merge "Add CinderEtcdLocalConnect parameter" 2019-04-17 16:25:31 +00:00
Zuul
6a36050778 Merge "Add Etcd to DistributedCompute roles" 2019-04-17 16:19:19 +00:00
Zuul
a5c221d0e4 Merge "Add OS::TripleO::NovaAZConfig" 2019-04-17 14:29:25 +00:00
Zuul
20631bf449 Merge "MetricsQdr: Add InternalTLS support" 2019-04-16 20:53:57 +00:00
Zuul
fa04c6af09 Merge "Allow to disable Container Healthchecks" 2019-04-16 20:17:20 +00:00
Zuul
2add17b409 Merge "Make krb-service-principal metadata per-Role" 2019-04-16 20:17:17 +00:00
Zuul
c6a9945a9c Merge "Fix the bond-with-vlans NIC config DPDK route indentation" 2019-04-16 12:32:21 +00:00
Zuul
84a40c492d Merge "Fix typo in 2-linux-bonds-vlans NIC config templates" 2019-04-16 12:25:49 +00:00
Zuul
c0fc24c29a Merge "Modifying the ovs-hw-offlaod file to adapt new changes" 2019-04-16 08:12:17 +00:00
Zuul
47126b8431 Merge "Trim whitespace in multi-line env descriptions" 2019-04-16 05:28:25 +00:00
Zuul
41b35b2af8 Merge "Correct error catching while in "--check" mode" 2019-04-16 01:26:25 +00:00
Zuul
b723386745 Merge "Fixed wrong cinder store user name" 2019-04-16 01:26:23 +00:00
Zuul
50b59fa63f Merge "Run nova_api unprivileged" 2019-04-16 01:16:30 +00:00
Zuul
b7b2808e76 Merge "Set Standalone's br-ctlplane MTU" 2019-04-16 00:28:28 +00:00
Zuul
b3d0fce587 Merge "Allow NovaRbdPoolName to be role specific" 2019-04-16 00:28:26 +00:00
Zuul
446669e0c5 Merge "Do not set the cell endpoints for regular split-controlplane child stacks" 2019-04-16 00:28:24 +00:00
James Slagle
da5b57c7bb Handle any network name in ServiceNetMap
In commit, I737d5656b113f7e2238fe7bb555cc2d4cb13877c, support was added
to have the services fall back to the ctlplane network if the default
service network wasn't enabled.

The commit only worked for the hardcoded default network names though
(ItnernalApi, Storage, etc). Given that any network names can be used,
and that our spine/leaf examples show using non-default network names
(IternalApi0, Storage0, etc), the code needs to work for any network
name.

This commit updates the jinja2 logic to work for any network name. It
also handles service_net_map_replace in the jinja2 logic instead of
Heat, so that services can be correctly defaulted when the default
networks don't exist at all.

Change-Id: Icd8d49c0cf8c8ac43348813c502861fb0aa7091f
implements: blueprint split-controlplane-templates
Closes-Bug: #1824025
2019-04-15 17:46:22 -04:00
James Slagle
e701077c96 Add CinderEtcdLocalConnect parameter
The parameter, when set to true, will configure cinder-volume to connect
to Etcd through the node's own local IP on the Etcd network, instead of
a VIP on the network.

This is useful when deploying cinder-volume in an A/A configuration at
an edge site with the HCI roles. As Etcd and cinder-volume are both
running on the same node (typically 3 nodes configured the same), then
each node can just connect directly to Etcd without having to go through
a VIP. Additionally, we have no VIP management at the edge sites
presently.

Change-Id: I8a8825ecff9fc99b5de7390075470356397d85a2
implements: blueprint split-controlplane-templates
2019-04-15 17:46:22 -04:00
James Slagle
00f35055da Add Etcd to DistributedCompute roles
The Etcd service is needed for A/A management of the CinderVolume
service on these roles so it should be added to the roles by default.

Change-Id: I9d3d17fec857014f399b8339ce7c68f844d230a9
implements: blueprint split-controlplane-templates
2019-04-15 17:46:22 -04:00
James Slagle
0df81abe8e Add OS::TripleO::NovaAZConfig
This service is mapped to OS::Heat::None by default, but when enabled,
it uses external deploy tasks to create a new aggregate and zone in
Nova. All Compute nodes in the stack will be added to the zone by
default.

The zone name is the stack name by default, but can be overridden with
parameter values.

Change-Id: I0afb2265949f1222a86b350734e62da673e83aa9
Depends-On:I064f872e20537642880d5482cb9e0c2a801715ef
implements: blueprint split-controlplane-templates
2019-04-15 17:46:22 -04:00
Dan Sneddon
0da9644b0b Fix the bond-with-vlans NIC config DPDK route indentation
This patch fixes an indentation error in the DPDK config for
the network/config/bond-with-vlans/role.role.j2.yaml NIC
config. The DPDK config had the routes at the wrong indentation
level.

Change-Id: Idc1ae952a9f88e10f7dbac11a9f267c159a8ff47
2019-04-15 12:33:19 -07:00
Dan Sneddon
ed51c04bf9 Fix typo in 2-linux-bonds-vlans NIC config templates
The network/config/2-linux-bonds-vlans/role.role.j2.yaml contains
a typo in the ControlPlane interface. Instead of
ControlPlaneStaticRoutes, the template contains ControlPlaneRoutes,
which doesn't exist. This patch fixes the get_param.

Change-Id: I331a06339611d423433bea243b10e4c0df8800a3
2019-04-15 12:11:45 -07:00
Zuul
d5f652c2ea Merge "Update/combine docker/services/README.rst" 2019-04-15 17:57:17 +00:00
Zuul
0cc714d31a Merge "Move containers-common.yaml into deployment" 2019-04-15 17:57:15 +00:00
Zuul
84be783dd2 Merge "move logging into deployment" 2019-04-15 13:40:20 +00:00
Zuul
cce5a4c58b Merge "Increase DockerNovaComputeUlimit default value" 2019-04-15 11:55:34 +00:00
Cédric Jeanneret
cb9497d76b Correct error catching while in "--check" mode
When we're in "--check" mode with Ansible, the variable is defined,
but its content doesn't match the one we might get when actually applying
the run.
The right way to detect that is to check if the variable is changed.

In "--check", it is not changed, meaning we can't get the "rc" attribute.

I5851dc7820fdcc4f5790980d94b81622ce3b0c8d didn't do the right check, and
does not improve the situation.

Change-Id: I77c655addd0fe01948584fb43ba24d5b24ff330e
Related-Bug: #1823841
2019-04-15 13:32:33 +02:00
waleed mousa
8043b1c6d4 Modifying the ovs-hw-offlaod file to adapt new changes
After moving sriov configuration to os-net-config, there is no need
for NeutronSriovNumVFs parameter as itwill be deprecated
Also we need to add the NUMATopologyFilter to the
NovaSchedulerDefaultFilters

Change-Id: I566efe482031850df7c926b6dae72e44b6f369f5
2019-04-15 11:00:32 +00:00
Pranali Deore
1efe2a018a Fixed wrong cinder store user name
The value for 'cinder_store_user_name' should be only user name
instead of tenant:username

Changing value of 'cinder_store_user_name' to 'glance' from
'service:glance'

Change-Id: Idbc3541564fb405d60cf3dcc01960fd5e0befb97
Closes-Bug: #1809104
2019-04-15 15:13:41 +05:30
Zuul
8ab49229f6 Merge "Fix OVN yaql KeyError: type error" 2019-04-15 08:12:09 +00:00
23352806b6 Fix OVN yaql KeyError: type error
https://review.openstack.org/#/c/639119/ changed
the 'metadata_settings' RoleData for ovn-metadata
to {} which caused a TypeError, this patch reverts
the metadata_settings to original to fix the issue.

Closes-Bug: #1824579
Change-Id: I09ed9c99065c946760c5319086ff0dbccd29a85c
2019-04-15 08:05:06 +05:30
Dan Prince
00842cf23a Update/combine docker/services/README.rst
This moves the contents of docker/services/README.rst into
deployment/README.rst and updates several sections with recent
architecture changes which also reflect naming changes.

Change-Id: I24dba1ff841da82ceaf80484fda756cafb68db06
2019-04-14 18:15:14 -04:00
Dan Prince
a52498ab4d Move containers-common.yaml into deployment
Change-Id: I8cc27cd8ed76a1e124cbb54c938bb86332956ac2
Related-Blueprint: services-yaml-flattening
2019-04-14 18:15:12 -04:00
Dan Prince
3514952b8e move logging into deployment
Change-Id: I4d5323bc2dba1df460a1126fd429aeaf3cc26adc
Related-Blueprint: services-yaml-flattening
2019-04-14 18:11:41 -04:00
Zuul
268435dcff Merge "Remove osd_objectstore default" 2019-04-14 20:03:50 +00:00
Zuul
f8653bd705 Merge "Make Ceph RGW accept ResellerAdmin role for administration" 2019-04-14 20:03:48 +00:00
Zuul
d62ed15efa Merge "Enable objects versioning for Ceph RadosGW" 2019-04-14 20:03:46 +00:00
Emilien Macchi
170cd2be9d Allow to disable Container Healthchecks
A new parameter, ContainerHealthcheckDisabled allows an operator to
disable the container healthcheck when Podman is enabled.

Depends-On: Ic3dd492405b11ec482ff86e1513149c3eceb370f
Change-Id: Id8d7e21d58cf5ab155404db597d96665b94d7c2a
2019-04-12 17:59:15 -04:00
Martin Schuppert
983d17e023 Increase DockerNovaComputeUlimit default value
With large number of OSDs, where each OSD need a connection, the default
nofile (1024) of nova_compute is too small. This changes the default
DockerNovaComputeUlimit to 131072 what is the same for cinder.

Change-Id: Id19da6e8b7bfbe0e47b191e92c08fc34d1853a63
2019-04-12 13:56:29 +02:00
Jose Luis Franco Arza
b4454024f7 Move warn clause as a shell task option.
The warn clause should be included inside an args
subsection, otherwise the task will fail syntactically
with 'warn' is not a valid attribute for a Task.

Closes-Bug: #1824496
Change-Id: I217437c4d104475c8ea415dd178940c40264e0b0
2019-04-12 11:03:34 +02:00
Zuul
ff52c2de67 Merge "Fix usage of satellite in organization mode" 2019-04-11 23:35:10 +00:00
Piotr Kopec
e4901745eb Allow NovaRbdPoolName to be role specific
Currently, TripleO does not support to create Compute roles
using different Ceph pools as Nova Ephemeral backends.
An admin should be allowed to have groups of compute nodes
using different Ceph's Ephemeral pools improving
availability, reliability and performance.

The change is straight forward adding the
role_specific tag to the parameter NovaRbdPoolName.

Closes-Bug: 1821039

Change-Id: I7c1ac7c0d3a987c8c9c1e070ea773875aa684d88
2019-04-11 15:51:41 +02:00
Alan Bishop
00b56e07bf Set Standalone's br-ctlplane MTU
Set the br-ctlplane MTU to the InterfaceLocalMtu value. This is
required when multiple Standalone nodes are used in a split-stack
deployment.

Closes-Bug: #1823993
Change-Id: I84a35d529ee67e939db1cdadd103f88295e41e8f
2019-04-11 13:04:02 +00:00
Oliver Walsh
e096a93e6d Do not set the cell endpoints for regular split-controlplane child stacks
When we deploy a nova cell child stack we have to redirect some endpoints to
the local instance instead of the central instance.
For non-nova cell child stacks we must disable this.

Closes-bug: 1823992
Change-Id: If39def80959ad91d96d92882f60e0e4c23b9b85e
2019-04-11 14:03:24 +01:00
Dan Prince
551e355913 flatten the neutron-plugin-mlnx-sdn service
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the neutron-plugin-ml2-mlnx-sdn-assist service.

Related-Blueprint: services-yaml-flattening

Change-Id: I0b1e0b52f26a57847263f311ea0c018bc15df46f
2019-04-11 08:42:33 -04:00
Zuul
fce4123eaa Merge "flatten the ovn service configurations" 2019-04-11 01:48:29 +00:00
Zuul
60a0c066e1 Merge "Ensure lvm2 is installed prior to lvm commands" 2019-04-10 22:14:31 +00:00
Zuul
8fec29c0b5 Merge "Bind mount undercloud.conf with ,z in mistral_executor" 2019-04-10 22:13:35 +00:00