generate_sample script can't handle MultiStrOpt when is blank list

Bug #1241348 reported by Xingchao Yu on 2013-10-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xingchao Yu

Bug Description

In case if opt type it multistropt and the value is [].
Then can't handle this case, and will skip this option return blank content.

Xingchao Yu (yuxcer) wrote :

See the bug I report yeterday:

Changed in cinder:
assignee: nobody → Xingchao Yu (yuxcer)

Fix proposed to branch: master

Changed in cinder:
status: New → In Progress

Submitter: Jenkins
Branch: master

commit e5aa6e72734738e81d1b8be51ae3bb39db50f8a3
Author: Xingchao Yu <email address hidden>
Date: Fri Oct 18 13:50:18 2013 +0800

    Fix generate conf script can't handle multistropt

    In case MultiStrOpt option's value is empty list, current
    logic will ignore it. This patch aims to update func _print_opt:

    add the multistropt's option_name in conf even its value is empty list.

    This bug also affects

    Closes-bug: #1241348

    Change-Id: Ica1da0cd20c97a587964cb0059836d609a440145

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers