config-download: Handle None value RoleConfig stack output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
James Slagle |
Bug Description
RoleConfig can exist as a stack output, but have a value of None. That case should be handled and set a default value of {} where the value was previously None.
Otherwise, the following traceback results when trying to use --config-download:
(undercloud) [stack@undercloud ~]$ tripleo-
INFO:tripleo_
Traceback (most recent call last):
File "/usr/bin/
stack_
File "/usr/lib/
for config_name, config in six.iteritems(
File "/usr/lib/
return d.iteritems(**kw)
AttributeError: 'NoneType' object has no attribute 'iteritems'
The scenario where the value is None is when deploying where are roles have an empty set of services, such as when using environments/
Changed in tripleo: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → James Slagle (james-slagle) |
milestone: | none → queens-rc1 |
Fix proposed to branch: master /review. openstack. org/542947
Review: https:/