Added NovaDisableComputeServiceCheckForFfu var

https://review.opendev.org/c/openstack/nova/+/826097 adds
the service version check workaround for FFU.

In order to reuse this functionality in tripleo deployment,
NovaDisableComputeServiceCheckForFfu var is added to set
workarounds/disable_compute_service_check_for_ffu=false
in nova.conf.

Depends-On: https://review.opendev.org/c/openstack/puppet-nova/+/830795

Closes-Bug: #1961966
Closes-Bug: #1947959

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ifbfd859e77ecf6831ced74e37aea1bd0ccdf4c5c
This commit is contained in:
Chandan Kumar (raukadah) 2022-02-24 12:24:42 +05:30
parent 71f5ceb459
commit 7ec40a3c52
2 changed files with 14 additions and 0 deletions

View File

@ -648,6 +648,12 @@ parameters:
default: false
tags:
- role_specific
NovaDisableComputeServiceCheckForFfu:
type: boolean
description: >
Facilitate a Fast-Forward upgrade where new control services are being started
before compute nodes have been able to update their service record.
default: false
NovaStatedirOwnershipSkip:
type: comma_delimited_list
description: >
@ -1171,6 +1177,8 @@ outputs:
if:
- nova_libvirt_max_queues_set
- {get_attr: [RoleParametersValue, value, nova_libvirt_max_queues]}
# Params to enable service check on FFU
nova::workarounds::disable_compute_service_check_for_ffu: {get_param: NovaDisableComputeServiceCheckForFfu}
- if:
- glance_enable_rbd_download_set
- nova::glance::enable_rbd_download: {get_attr: [RoleParametersValue, value, nova_glance_enable_rbd_download]}

View File

@ -0,0 +1,6 @@
---
features:
- |
Added ``NovaDisableComputeServiceCheckForFfu`` parameter to configure
``nova::workarounds::disable_compute_service_check_for_ffu`` to
disable the service version check workaround for FFU.