Red Hat Bugzilla – Bug 996694
Update inifile module to support empty values
Last modified: 2014-01-09 14:37:35 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The inifile module doesn't handle setting empty values well. We need to be able to set empty values in neutron. This has been fixed in the upstream inifile module.
(In reply to Terry Wilson from comment #1)
> The inifile module doesn't handle setting empty values well. We need to be
> able to set empty values in neutron. This has been fixed in the upstream
> inifile module.
By inifile you mean packstack answer file?
Please add some information:
1. Are there specific values to test?
2. How to reproduce the issue?
3. How to verify the fix?
The update part was Puppet module puppetlabs-inifile  located at packstack/puppet/modules/inifile.
We needed that to support adding empty value of "DEFAULT/external_network_bridge" to /etc/neutron/l3_agent.ini when using "provider" value in packstack's parameter CONFIG_NEUTRON_L3_EXT_BRIDGE. AFAIK before this patch each packstack run added one line with that configuration to the config file.
Verified NVR: openstack-packstack-2013.1.1-0.27.dev660.el6ost.noarch
1. Installed openstack via packstack with packstack answer file CONFIG_QUANTUM_L3_EXT_BRIDGE=provider
2. # grep external_network_bridge /etc/quantum/l3_agent.ini | grep -v "#"
Please note that packstack-2013.1.1-0.27.dev660 still uses the word quantum and not neutron as specified comment #4
Needinfo for Martin Magr
I am writing the Doc Text for bug advisories. As the Doc Text field was blank, I have written the current Doc Text from scratch. Could you please comment or edit it and correct as necessary. Thanks.
Doc text is modidied a littlebit. Now it's OK.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.