Bug 1906698

Summary: [OSP16.1] Consider UseTLSTransportForNbd state from previous deployment
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: python-tripleoclientAssignee: Martin Schuppert <mschuppe>
Status: CLOSED ERRATA QA Contact: Pavan <pkesavar>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: hbrock, igallagh, jslagle, mburns, pkesavar
Target Milestone: z4Keywords: Patch, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20201114031848.el8ost python-tripleoclient-12.3.2-1.20201114043237.el8ost Doc Type: Bug Fix
Doc Text:
Before this update, live migration failed when upgrading a TLS everywhere environment with local ephemeral storage and `UseTLSTransportForNbd` set to "False". This occurred because the default value of the `UseTLSTransportForNbd` configuration had changed from "False" in RHOSP 13 to "True" in RHOSP 16.x, which resulted in the correct certifications not being included in the QEMU process containers. With this update, director checks the configuration of the previously deployed environment for `global_config_settings` and uses it to ensure that the `UseTLSTransportForNbd` state stays the same in the upgrade as on previous deployment. If `global_config_settings` exists in the configuration file, then director checks the configuration of the `use_tls_for_nbd` key. If `global_config_settings` does not exist, director evaluates the hieradata key `nova::compute::libvirt::qemu::nbd_tls`. Keeping the `UseTLSTransportForNbd` state the same in the upgraded deployment as on previous deployment ensures that live migration works.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-17 15:36:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1924106    
Bug Blocks:    

Description Martin Schuppert 2020-12-11 07:53:08 UTC
This bug was initially created as a copy of Bug #1893113

I am copying this bug because: 

BZ1893113 is used to track to use certificate bind mounts instead of copy the certificates
using the kolla config merge functionality into the container dir structure. This allows
to enable/disable UseTLSTransportForNbd when containers consume the bind mounts as the
require certificates are there.

Description of problem:

In OSP16.1 the default of UseTLSTransportForNbd us True. This BZ is to consider the UseTLSTransportForNbd
from a previous deployment where UseTLSTransportForNbd might be false.

Version-Release number of selected component (if applicable):
Latest

Comment 16 errata-xmlrpc 2021-03-17 15:36:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.4 director bug fix advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:0817