KeyError: 'default_dns_nameservers' in Horizon
Bug #1843104 reported by
Igor D.C.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Akihiro Motoki | ||
kolla-ansible |
Invalid
|
Medium
|
Unassigned |
Bug Description
With:
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "master"
and images built on 20190820
Trying to:
-> Create a network via Horizon (Create Network dialog)
I get:
-> Instant Horizon "Danger" error
-> "KeyError: 'default_
Right now I'm working around this by: https:/
It looks like this was caused by https:/ /review. opendev. org/#/c/ 655208/, which changes the handling of defaults for config in horizon. Since we override the OPENSTACK_ NEUTRON_ NETWORK variable in local_settings.py, but do not include the default for 'default_ dns_nameservers '. A simple workaround for kolla-ansible is to include the default empty list value in our override.
I think this is a bug in horizon though - they should still tolerate missing defaults in dict format config variables.