19 Commits

Author SHA1 Message Date
Zuul
b3d0fce587 Merge "Allow NovaRbdPoolName to be role specific" 2019-04-16 00:28:26 +00:00
Zuul
0cc714d31a Merge "Move containers-common.yaml into deployment" 2019-04-15 17:57:15 +00: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
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
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
Martin Schuppert
ffa6810e49 Add novnc proxy to cellsv2 multicell controller
With cellsv2 multicell in each cell there needs to be a novnc proxy as the
console token is stored in the cell conductor database. This change adds
the NovaVncProxy service to the CellController role and configures the
endpoint to the local public address of the cell.

Closes-Bug: #1822607
Depends-On: https://review.openstack.org/649265

Change-Id: Ia3a36d369fdc18685f4c965a9e371ca3143967bf
2019-04-02 11:52:35 +02:00
Oliver Walsh
89def2b55a Fix Nova/Libvirt memory backed file conditions when they are role params
The QemuMemoryBackingDir and NovaLibvirtFileBackedMemory params can be a role
parameters however the heat conditions only checked the normal param.

Change-Id: Iac6d96b2eb3ab92211150572f5a117f07964aaa1
Related-bug: 1793687
2019-03-28 01:08:43 +00:00
Emilien Macchi
860333cf31 Rename /var/lib/docker-config-scripts to /var/lib/container-config-scripts
We don't have Docker anymore so let's avoid confusion and rename this
directory.

Change-Id: I79fca28ef8e5396fee78bef992fd800918f05b88
2019-03-26 21:21:57 +00:00
Martin Schuppert
393e89bfb6 Make nfs version for nova ephemeral storage configurable
New parameter ``NovaNfsVersion`` allow configuring the NFS version
used for nova storage (when NovaNfsEnabled is true). Since NFSv3
does not support full locking a NFSv4 version need to be used. To
not break current installations the default is the previous hard
coded version 4.

Change-Id: I810478ed82ee6dc056d9652be91dc45b123e78cf
2019-03-19 11:42:32 +00:00
Emilien Macchi
160cddda3f Rename docker_config_scripts to container_config_scripts
Change-Id: Iabd65560c2fc28b3aeca07a21efa861c4c583c01
2019-03-06 09:05:50 -05:00
Dan Prince
2325992aef Drop unused deployment services parameters
This patch drops unused parameters in several services.

Change-Id: I4fc39a1998fb83b23f3d1c28196da20fe7f56262
2019-03-04 07:52:56 -05:00
Zuul
306ba5c9bb Merge "Add functionality to manage KSM on compute nodes per role" 2019-02-27 19:02:51 +00:00
Martin Schuppert
badf39735d Add functionality to manage KSM on compute nodes per role
Adds functionality whether to enable / disable KSM on compute nodes.
Especially in NFV use case one wants to disable the service and as there
is in general little benefit in overcloud nodes, KSM is disabled per
default, but can be enabled using the new NovaComputeEnableKsm role
parameter.

Change-Id: I1b8dba2e2a9ff4f5ad73a4fbc3251b5dc96fd38e
2019-02-25 16:25:49 +01:00
Jill Rouleau
acb61d2c18 step4: flatten nova service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration.

Change-Id: I9bd5c9f007d9f69d7310cdd0106bcc923c1b0acd
2019-02-20 14:28:20 -07:00
Jose Luis Franco Arza
3a86fc57d7 Remove upgrade_tasks added during nova services flattening.
During some of the nova service flattening it was included some of the
baremetal upgrade_tasks into the containerized services. This patch removes
them.

Change-Id: I4a569195deeadb34180561c778dabe77be4f6466
Closes-Bug: #1816453
2019-02-19 17:19:35 +01:00
Juan Antonio Osorio Robles
284cfe911b Re-Add mysql configuration for nova host discovery
It was removed again by a recent commit [1]. This configuration is
needed for TLS everywhere.

[1] Ife9bf12d3a6011906fa8d9f97f7524b51aef906a

Change-Id: I3896bc9eccc1fb08923b4dbecd8109f3b56038e9
Closes-Bug: #1815888
2019-02-18 21:41:00 +02:00
Oliver Walsh
dc9a76aa23 cell_v2 multi-cell
- uses split-control-plane
- adds a new CellController role
  - nova-conductor, message rpc (not notifications) and db
- move nova dbsync from nova-api to nova-conductor
  - nova db is more tightly coupled to conductor/computes
  - we don't have a nova-api services on a CellController
  - super-conductor on Controller will sync cell0 db
- new 'magic' MysqlCellInternal endpoint
  - always refers the to local MysqlInternal endpoint
  - identical to MysqlInternal for regular deployment
  - but doesn't get overridden when inheriting EndpointMap from parent
    control-plane stack
- duplicate service node name hiera for transport_urls on cell stack
  - nova -> cell oslo messaging rpc nodes
  - neutron agent -> global messaging rpc nodes
- run cell host discovery only on default cell, for additional cells
the cell needs to be created first

bp tripleo-multicell-basic

Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>

Change-Id: Ife9bf12d3a6011906fa8d9f97f7524b51aef906a
Depends-On: I79c1080605611c5c7748a28d2afcc9c7275a2e5d
2019-02-15 12:16:48 +01:00
Martin Schuppert
56ebb309ed Add missing parts from step2: flatten nova service configuration
[1] missed some parts from puppet/services/nova-libvirt.yaml which
broke tls-everywhere as the qemu-nbd-client-cert were not created,
also the file was not removed after merge.

Changes:
- added missing parts from puppet/services/nova-libvirt.yaml
- removed no longer needed ENV parameters for
  nova_cell_v2_discover_host.py
- re-added /etc/my.cnf.d to nova_cell_v2_discover_host
- deleted puppet/services/nova-libvirt.yaml

[1] https://review.openstack.org/633278

Change-Id: I8d476fd7a040d275cd70ea8393386443b557fe4d
Closes-Bug: #1815888
2019-02-14 16:29:32 +01:00
Jill Rouleau
98ecf97609 step2: flatten nova 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
nova has been removed.

Change-Id: Ia41a6adf9fda2d6be8f1b5ac57854381b7f92ce7
2019-02-13 06:20:55 +00:00