Bug 1953425 - [OSP16.2] UseTLSTransportForNbd check can fail with TypeError: 'NoneType' object is not subscriptable
Summary: [OSP16.2] UseTLSTransportForNbd check can fail with TypeError: 'NoneType' obj...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: David Vallee Delisle
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On: 1952017
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-26 05:51 UTC by Martin Schuppert
Modified: 2021-09-15 07:14 UTC (History)
6 users (show)

Fixed In Version: python-tripleoclient-12.5.1-2.20210426005751.0dd3892.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1952017
Environment:
Last Closed: 2021-09-15 07:14:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 787363 0 None MERGED [train-only] Trap empty role data 2021-04-26 05:51:26 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:14:55 UTC

Description Martin Schuppert 2021-04-26 05:51:26 UTC
+++ This bug was initially created as a clone of Bug #1952017 +++

If the initial deployment fails in heat the next run fails with:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 1022, in take_action
    self._update_parameters(parsed_args, stack)
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 123, in _update_parameters                                                                                                     
    if nbd_tls_key in roledata[key]['config_settings']:
TypeError: 'NoneType' object is not subscriptable
'NoneType' object is not subscriptable

Deleting the stack and redeploying works.

Comment 6 errata-xmlrpc 2021-09-15 07:14:29 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 (RHOSP) 16.2 enhancement 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/RHEA-2021:3483


Note You need to log in before you can comment on or make changes to this bug.