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.

** Also affects: horizon
   Importance: Undecided
       Status: New

** Changed in: kolla-ansible
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1843104

Title:
  KeyError: 'default_dns_nameservers' in Horizon

Status in OpenStack Dashboard (Horizon):
  New
Status in kolla-ansible:
  Triaged

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_dns_nameservers'" in 
/var/log/kolla/horizon/horizon.log): http://paste.openstack.org/show/772115/

  Right now I'm working around this by:
  https://github.com/igordcard/homedc/blob/master/scripts/kolla/master/bionic
  /fix-horizon-default_dns_nameservers-after.sh#L20

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1843104/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to