yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80184
[Bug 1843104] Re: KeyError: 'default_dns_nameservers' in Horizon
Reviewed: https://review.opendev.org/684792
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ec970fd6e85b19126409ef39aefa013bac701503
Submitter: Zuul
Branch: master
commit ec970fd6e85b19126409ef39aefa013bac701503
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date: Wed Sep 25 21:29:05 2019 +0900
Handle partial dict setting
In Train cycle, we moved the definition of default values
to openstack_dashboard/defaults.py. The current code accesses
a dict member using []. It requires operators to define a dict
setting with a full member.
This commit allows to use dict-type settings with partial members.
A new function is introduced to retrieve a dict-type setting
considering default values defined in
{openstack_dashboard,horizon,openstack_auth}/defaults.py
Change-Id: I7ff0ad4bca698aef9c0eba370b0570200a14367a
Closes-Bug: #1843104
** Changed in: horizon
Status: In Progress => Fix Released
--
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):
Fix Released
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