1097 Commits

Author SHA1 Message Date
Zuul
c33f8cb117 Merge "Remove NovaConsoleauth Service" 2019-05-17 16:21:03 +00:00
Zuul
35ea92178d Merge "Default CephAnsibleDisksConfig to bluestore" 2019-05-14 20:43:57 +00:00
Zuul
08ead26e66 Merge "Remove OVNTunnelEncapType" 2019-05-11 01:54:52 +00:00
Zuul
f5ba43ea21 Merge "Add DPDK support for OVN" 2019-05-10 21:03:53 +00:00
Zuul
1cb668fb0d Merge "Add mkhomedir option to ipa-client-install" 2019-05-09 16:24:40 +00:00
Martin Schuppert
20dbe32060 Remove NovaConsoleauth Service
As of Rocky [1], the nova-consoleauth service has been deprecated and
cell databases are used for storing token authorizations. All new consoles
will be supported by the database backend and existing consoles will be
reset. Console proxies must be run per cell because the new console token
authorizations are stored in cell databases.

nova-consoleauth was deprecated in tripleo with:
I68485a6c4da4476d07ec0ab5e7b5a4c528820a4f

This change now removes the NovaConsoleauth Service.

[1] https://docs.openstack.org/releasenotes/nova/rocky.html

Closes-Bug: #1828414

Change-Id: Icdfbf26b5e83cc07a560eb227a0cf822e4c5a1e3
2019-05-09 15:24:13 +02:00
Kamil Sambor
b20ca116aa Remove OVNTunnelEncapType
The only OVN Tunnel Encap Type that we are supporting in OVN is Geneve
and this is set by default in ovn puppet. So there are no need to set
it in TripleO

Change-Id: Ide08d028d3311dfd08ee3872b32ebd1e1a36e17b
Closes-Bug: 1828186
2019-05-09 09:41:43 +02:00
John Fulton
940de74b82 Default CephAnsibleDisksConfig to bluestore
Change-Id: I81a334532b5d8fb970fbdca50b262c2074c6bb03
2019-05-07 17:16:05 -04:00
Zuul
1c4d4e3862 Merge "Remove NTP" 2019-05-06 23:49:41 +00:00
Emilien Macchi
738486f108 Revert "mistral: configure heartbeat parameters to avoid action timeout"
This reverts commit 374fafd66afa792ba197403b479dadbfa3055bce.

The root cause of the timeout has been addressed by:
Id22b1465d6d2424d90781983b970aba4545feb8a

We don't need that horrible hack.
Related-Bug: #1826281

Change-Id: I5f1c89e7fad7624c2edbf557ec39f5777b089d55
2019-05-04 14:52:25 +00:00
Alex Schultz
3abededac2 Remove NTP
Chrony has replaced the usage of ntp and is not supported beyond Stein.

Change-Id: Iab476205f29e0ca9e4053c0c9fb2d051b72b13f0
Related-Blueprint: tripleo-chrony
2019-05-03 14:42:15 -06:00
Zuul
694777ba05 Merge "Introduce scale_tasks" 2019-04-30 23:54:00 +00:00
Zuul
9e55d59cef Merge "Add parameter to configure maxdelay in db purge/archive job" 2019-04-29 13:12:36 +00:00
Zuul
2d50c070ef Merge "Run nova_cell_v2_discover_hosts.py on every deploy run" 2019-04-27 01:33:38 +00:00
Zuul
55d8d01275 Merge "Add OS::TripleO::NeutronAZConfig" 2019-04-26 18:31:41 +00:00
Martin Schuppert
dfc99bad08 Run nova_cell_v2_discover_hosts.py on every deploy run
Change I1a159a7c2ac286373df2b7c566426b37b7734961 moved the dicovery
to run on a single compute host to not race on simultanious nova-manage
commands. This change make sure we run the discover on every deploy run
which is required for scaling up events.

Change-Id: Iba7a4aeeeeb94ffbbaf4bb757672091807301494
Related-bug: 1824445
2019-04-26 13:58:23 +02:00
Zuul
bc2d60cb74 Merge "Remove puppet selinux management" 2019-04-25 16:05:45 +00:00
Zuul
9917266305 Merge "Allow NovaNfs parameters to be role specific" 2019-04-25 01:38:03 +00:00
Emilien Macchi
5d66b9c1eb Introduce scale_tasks
Composable service templates can now define scale_tasks. They are
meant for scale down/up logic of services which need to be
stopped/started during the scaling procedure. All happens within a single
playbook and the down/up Ansible tags are required to differenciate them
during the run.

blueprint scale-down-tasks

Change-Id: I29835c2724b5de884e9825e084780c36837bff84
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2019-04-24 11:07:53 -04:00
455119d0b6 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I52a60942f1cdd9b8396032b5aa88aab1165326ce
Sem-Ver: feature
2019-04-18 14:59:24 +00:00
Alex Schultz
e7dee7bd2e Remove puppet selinux management
We've switched the selinux mode management to ansible as part of the
deploy-steps and it's always included now so the service is not
necessary.

Change-Id: I562053ba6767bd9ab7af3cf06b93906568bec5cd
2019-04-18 08:25:32 -06:00
Zuul
b0e23c2b41 Merge "Use oslo_messaging_rpc_port for nova rpc healthchecks" 2019-04-18 11:06:52 +00:00
Bogdan Dobrelya
0a5b248c99 Add OS::TripleO::NeutronAZConfig
This service is mapped to OS::Heat::None by default, but when enabled,
it allows to configure defaut AZ for neutron, AZ for L3/DHCP agents and
AZ-aware network scheduling/routing. The zone name is the stack
name by default, but can be overridden with parameter values.

Change-Id: Ie5762c61cd615d7c115069381d6c43c468806e47
implements: blueprint split-controlplane-templates
2019-04-18 10:06:47 +02: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
Martin Schuppert
8ff04029f5 Use oslo_messaging_rpc_port for nova rpc healthchecks
With 405366fa32583e88c34417e5f46fa574ed8f4e98 the parameters RpcPort,
RpcUserName, RpcPassword and RpcUseSSL got deprecated and
nova::rabbitmq_port removed. As a result the healtcheck get called with
null parameter and fail.
We now get the global_config_settings from RabbitMQService and use
oslo_messaging_rpc_port for the healthcheck.

Change-Id: I1849926b1d6256de5f4d677de5a9b34d78aad5d0
Closes-Bug: #1824805
2019-04-17 09:35:20 +00:00
Piotr Kopec
1295868ddd Allow NovaNfs parameters to be role specific
Currently, TripleO does not support to have an NFS backend as Nova Ephemeral storage on
selected roles. An admin should be allowed to create Compute role(s) for InstanceHA
having NFS shared storage used then by selected workloads while leaving the majority of
the workloads on standard compute nodes without InstanceHA and shared storage.

Closes-Bug: 1823712

Change-Id: I2702a022565a130ab339d165cb2252ad67d1162e
2019-04-17 10:12:17 +02:00
Zuul
fa04c6af09 Merge "Allow to disable Container Healthchecks" 2019-04-16 20:17:20 +00:00
Zuul
b3d0fce587 Merge "Allow NovaRbdPoolName to be role specific" 2019-04-16 00:28:26 +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
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
Saravanan KR
fca0945708 Add DPDK support for OVN
Add a service to enable DPDK on the compute nodes,
along with OVN.

Change-Id: I4473f1dfef9eebb886823fb2f436d14dd5b6d5ad
2019-04-12 13:26:25 +05:30
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
Brent Eagles
f4460a580d Run octavia-api under httpd
octavia-api's cli app doesn't behave well with haproxy so let's run
under apache and save ourselves some grief. Also adds cleanup for the
octavia-api tls proxy in update and upgrade tasks if it was previously
deployed.

Also updates zuul layout for multinode job to track changes to new
flattened octavia service files.

Closes-Bug: #1815811

Change-Id: Ied7cb31fbf1222694250e4769573bcbb82ba5bea
2019-04-09 18:01:37 -02:30
Takashi Kajinami
2a34ccb62b Add parameter to configure maxdelay in db purge/archive job
This patch introduces new parameters, CinderCronDbPurgeMaxDelay
and NovaCronDBArchivedMaxDelay, which enable us to configure
maxdelay parameter in cinder db purge cron job and nova db archive
cron job, like HeatCronPurgeDeletedMaxDelay which is used to
configure maxdelay in heat cron job.

Closes-Bug: #1823274
Change-Id: I112a228ed90a50aeee787e83a58a014519db7992
2019-04-09 00:14:49 +00:00
Zuul
6aa93d0825 Merge "Provide option to disable EMC in puppet-vswitch" 2019-04-09 00:07:19 +00:00
Cyril Lopez
364a0eaabc Add mkhomedir option to ipa-client-install
To allow PAM to create home directory for
user who do not have one, ipa-client-install
need an option. This is added by MakeHomeDir
variable.

Closes-bug: #1823727

Change-Id: I040014482e9126947b8c4a1d7b1bf7645f926c4b
Signed-off-by: Cyril Lopez <cylopez@redhat.com>
2019-04-08 15:48:54 +02:00
Martin Schuppert
b4e4878b83 Deprecate nova-consoleauth service
As of Rocky [1], the nova-consoleauth service has been deprecated and
cell databases are used for storing token authorizations. All new consoles
will be supported by the database backend and existing consoles will be
reset. Console proxies must be run per cell because the new console token
authorizations are stored in cell databases.

Lets deprecate it also in tripleo that it can be removed in a later
release.

[1] https://docs.openstack.org/releasenotes/nova/rocky.html

Change-Id: I68485a6c4da4476d07ec0ab5e7b5a4c528820a4f
2019-04-08 12:03:49 +00:00
Zuul
c297ec2a3e Merge "Deprecate messaging params replaced by global oslo params" 2019-04-03 11:25:15 +00: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
Andrew Smith
405366fa32 Deprecate messaging params replaced by global oslo params
Depends-On: I03900b39ab257a9563db37e403254b54f846c056
Change-Id: Ib55c72c0bab9aa0ffc05752a680f573cc351ae17
2019-03-28 12:13:07 -06:00
Marc Methot
1a802f3ddb Adding configurability to the amphora image format
By adding parameter `OctaviaAmphoraImageFormat`, it adds flexibility to
select amphora image format without forcing to use the use of
`NovaEnableRbdBackend` parameter.

Change-Id: I61ae421058fa9a944b2bbbbeeccef6b738c22a7e
Closes-Bug: #1817777
2019-03-28 11:33:19 +00:00
Yogananth Subramanian
dbe516df0a Provide option to disable EMC in puppet-vswitch
This patch disables EMC by setting emc-insert-inv-prob to 0.

Depends-On: https://review.openstack.org/647955
Change-Id: I36bc91064df224cfdaf01fb38e74ee8a9e4bf407
2019-03-28 09:30:51 +05:30
Zuul
97f0a5c0c9 Merge "mistral: configure heartbeat parameters to avoid action timeout" 2019-03-26 17:47:38 +00:00