config generation(yaml/json) broken with python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
oslo.config |
Fix Released
|
Undecided
|
Lance Bragstad |
Bug Description
config generation with format yaml/json is broken with python3
Reproduction steps:-
git clone https:/
cd keystone
sed -i '/\[testenv\
tox -egenconfig
.tox/genconfig/
The above command works fine when basepython=python2
with "ini" it works fine:-
.tox/genconfig/
Actual Output:-
Traceback (most recent call last):
File ".tox/genconfig
sys.
File "/home/
generate(conf)
File "/home/
conf=conf)
File "/home/
output_data = _generate_
File "/home/
entry = _build_entry(opt, group_name, namespace[0], conf)
File "/home/
entry['type'] = _format_
File "/home/
return _TYPE_NAMES[
TypeError: unhashable type: 'HostAddress'
Expected Output:-
keystone-
This should be a bug for oslo.config, but found in keystone so reporting against it as well.
Fix proposed to branch: master /review. openstack. org/566748
Review: https:/