Empty option values no longer allowed

Bug #1025522 reported by Mark McLoughlin
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-common
Fix Released
Undecided
Mark McLoughlin

Bug Description

As reported here:

  http://lists.openstack.org/pipermail/openstack-dev/2012-July/000075.html

  Looks like the new openstack-common changes can't handle a line that has an
  empty value like:

    api_extensions_path =

  You should be able to work around it just by changing the line to:

    api_extensions_path = ""

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/9891

Changed in openstack-common:
assignee: nobody → Mark McLoughlin (markmc)
status: New → In Progress
Revision history for this message
yong sheng gong (gongysh) wrote :

I think we should comment this line since the default value of this option service this purpose well.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-common (master)

Reviewed: https://review.openstack.org/9891
Committed: http://github.com/openstack/openstack-common/commit/ace759e55d7c87dc66a500d598d1355dd3c0408f
Submitter: Jenkins
Branch: master

commit ace759e55d7c87dc66a500d598d1355dd3c0408f
Author: Mark McLoughlin <email address hidden>
Date: Tue Jul 17 05:52:51 2012 +0100

    cfg: allow empty config values

    Fixes bug #1025522

    Commit 83044a7 caused this to stop working in Quantum:

      api_extensions_path =

    and could only be worked around with:

      api_extensions_path = ""

    Change-Id: I8c1a57225a2c135e6baf567b8e71d61e974da4e2

Changed in openstack-common:
status: In Progress → Fix Committed
Mark McLoughlin (markmc)
Changed in openstack-common:
milestone: none → 2012.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.