using a listOP with config_template in an INI file will break openstack services
Bug #1543588 reported by
Kevin Carter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Kevin Carter | ||
Kilo |
Fix Released
|
Medium
|
Kevin Carter | ||
Liberty |
Fix Released
|
Medium
|
Kevin Carter |
Bug Description
The config template can be used to override or overload an option into a configuration file. This ability supports string, int, list, and dict formats which are rendered as standard INI values. Sadly OpenStack services can not deal with configuration options that are in list format following the [1,2,3] syntax. These options MUST be in simple comma or new line separated values. To achieve this, the config_template action plugin must load and write list options when using an ini config format as comma separated lists.
Changed in openstack-ansible: | |
status: | Triaged → In Progress |
description: | updated |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/277579 /git.openstack. org/cgit/ openstack/ openstack- ansible- plugins/ commit/ ?id=852ab822622 928f20d963f7ffb 450bcce72c5a69
Committed: https:/
Submitter: Jenkins
Branch: master
commit 852ab822622928f 20d963f7ffb450b cce72c5a69
Author: Kevin Carter <email address hidden>
Date: Mon Feb 8 14:26:45 2016 -0600
Updated config parsing for listOPS
This change updates the list parsing for all list options passed through the
config_template module using the INI configuration type. This change is needed
so that when passing a list into a configuration file for use within an
OpenStack service oslo.config properlly handles the lists as a comma seperated
value when rendered.
Closes-Bug: #1543588 d1f274baa447fac 094a6a91481
Change-Id: If8055b3362f1d9
Signed-off-by: Kevin Carter <email address hidden>