nova_config doesn't support oslo_config MultiStrOpt for nova.conf

Bug #1591998 reported by Bartek Żurawski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-nova
Fix Released
Medium
daniel.pawlik

Bug Description

Hello,

I've found an issue with nova_config resource. It doesn't support MultiStrOpt from oslo_config module which is used by Nova. For example Nova use MultiStrOpt for option scheduler_available_filters which can be set as:

[DEFAULT]
scheduler_available_filters = value1
scheduler_available_filters = value2

and something like this is taken by oslo_config and returned to nova as array.

For now if nova.conf is maintained by puppet we can't set more the one option with the same name but with different value (MultiStrOpt)

Revision history for this message
Emilien Macchi (emilienm) wrote :
Changed in puppet-nova:
importance: Undecided → Medium
status: New → Confirmed
Changed in puppet-nova:
assignee: nobody → Bartek Żurawski (bartekzurawski1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-nova (master)

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

Changed in puppet-nova:
status: Confirmed → In Progress
Changed in puppet-nova:
assignee: Bartek Żurawski (bartekzurawski1) → daniel.pawlik (daniel-pawlik)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-nova (master)

Reviewed: https://review.openstack.org/329991
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=e7fe8c16ae873834ccf145b2bcbc62081a957241
Submitter: Jenkins
Branch: master

commit e7fe8c16ae873834ccf145b2bcbc62081a957241
Author: Bartek Zurawski <email address hidden>
Date: Wed Jun 15 14:47:19 2016 +0000

    Add MultiStrOpt for scheduler_available_filters

    scheduler_available_filters option defines filter classes made available to
    the nova scheduler. This parameter can be used multiple times or it can be
    set as array value.
    It is helpful when owner want to add to nova scheduler external filters.

    Co-Authored-By: Daniel Pawlik <email address hidden>

    Change-Id: I6be7bb4cea1906bd98c513bd2d01153e4643e3ac
    Closes-Bug: #1591998

Changed in puppet-nova:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/puppet-nova 9.2.0

This issue was fixed in the openstack/puppet-nova 9.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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