R5.x invalid config for kolla is generated for multi-level objects
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
High
|
Ramprakash R | |||
Trunk |
Fix Committed
|
High
|
Ramprakash R |
Bug Description
Original Issue:
https:/
Description:
I'm trying to setup mutlidomain auth with domain choices in horizon UI (branch stable-queens).
When setting in config/
kolla_globals:
horizon_
horizon_
Default: Default
domain: domain
This result on an error when horizon docker launch.
Resulting var in : /etc/kolla/globals
horizon_
Result in local_settings in /etc/kolla/
OPENSTACK_
(''u'Default'', 'u'default''),
('u'domain'', 'u'domain''),
)
This causes horizon docker to restart infinitely.
When changing in contrail-
OPENSTACK_
{% for key, value in horizon_
('{{ key }}', '{{ value }}'),
{% endfor %}
)
with :
OPENSTACK_
{% for key, value in horizon_
({{ key }}, {{ value }}),
{% endfor %}
)
Problem is solved in that case.
Also when setting directly the domain in contrail-
horizon_
Default: default
domain: domain
tags: | added: provisioning |
Generated config etc/kolla/ globals. yml is
--- ansible/ ansible/ group_vars/ all.yml' file.
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the
# 'kolla-
neutron_ opencontrail_ init_image_ full: opencontrailnig htly/contrail- openstack- neutron- init:latest notification_ manager_ image_full: opencontrailnig htly/contrail- openstack- ironic- notification- manager: latest collector_ ip: 10.21.23.155 10.21.23.156 10.21.23.157 keystone_ multidomain: True 155,10. 21.23.156, 10.21.23. 157 il_init_ image_full: opencontrailnig htly/contrail- openstack- heat-init: latest opencontrail_ rbac: yes etc_hosts: False api_server_ ip: 10.21.23.155 10.21.23.156 10.21.23.157 vip_address: 10.20.23.254 keystone_ domain_ choices: {u'Default': u'Default', u'domain': u'domain'} opencontrail_ init_image_ full: opencontrailnig htly/contrail- openstack- compute- init:latest vip_address: 10.21.23.254 plugin_ agent: opencontrail
openstack_release: queens
ironic_
opencontrail_
horizon_
storage_nodes: 10.21.23.
heat_opencontra
enable_barbican: True
enable_
customize_
enable_ironic: False
opencontrail_
kolla_external_
horizon_
nova_compute_
enable_swift: False
kolla_internal_
neutron_