idempotency issue with nova::scheduler::filter::scheduler_available_filters

Bug #1665443 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-nova
Fix Released
High
Alex Schultz

Bug Description

When nova::scheduler::filter::scheduler_available_filters is set to [], puppet thinks something needs to be written out to the config file but it doesn't actually write anything out. This can cause rerunning of nova db syncs and nova-api restarts everytime it's run.

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/435099

Changed in puppet-nova:
assignee: nobody → Alex Schultz (alex-schultz)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-nova (master)

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

commit 334eec2fd00a1ddd45296491bc115985ef1a3113
Author: Alex Schultz <email address hidden>
Date: Thu Feb 16 13:16:51 2017 -0700

    Fix idempotency with empty available filters

    If an empty array is passed in for the available filters, the provider
    is improperly thinking a configuration value needs to be done. This
    change checks for this case and sets it to $::os_service_default.

    Change-Id: Iea0d874108b39609505e542eda29b9bb74ca2a35
    Closes-Bug: #1665443
    Related-Bug: #1664650

Changed in puppet-nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-nova (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/435613

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-nova (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/435617

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-nova (stable/ocata)

Reviewed: https://review.openstack.org/435613
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=8978f769a2cceadce847ef1ab430adccab273ada
Submitter: Jenkins
Branch: stable/ocata

commit 8978f769a2cceadce847ef1ab430adccab273ada
Author: Alex Schultz <email address hidden>
Date: Thu Feb 16 13:16:51 2017 -0700

    Fix idempotency with empty available filters

    If an empty array is passed in for the available filters, the provider
    is improperly thinking a configuration value needs to be done. This
    change checks for this case and sets it to $::os_service_default.

    Change-Id: Iea0d874108b39609505e542eda29b9bb74ca2a35
    Closes-Bug: #1665443
    Related-Bug: #1664650
    (cherry picked from commit 334eec2fd00a1ddd45296491bc115985ef1a3113)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-nova (stable/newton)

Reviewed: https://review.openstack.org/435617
Committed: https://git.openstack.org/cgit/openstack/puppet-nova/commit/?id=35d5c5a86d9d6719225f73a75449a8ff03fd007e
Submitter: Jenkins
Branch: stable/newton

commit 35d5c5a86d9d6719225f73a75449a8ff03fd007e
Author: Alex Schultz <email address hidden>
Date: Thu Feb 16 13:16:51 2017 -0700

    Fix idempotency with empty available filters

    If an empty array is passed in for the available filters, the provider
    is improperly thinking a configuration value needs to be done. This
    change checks for this case and sets it to $::os_service_default.

    Change-Id: Iea0d874108b39609505e542eda29b9bb74ca2a35
    Closes-Bug: #1665443
    Related-Bug: #1664650
    (cherry picked from commit 334eec2fd00a1ddd45296491bc115985ef1a3113)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-nova 10.4.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-nova 11.0.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-nova 9.5.1

This issue was fixed in the openstack/puppet-nova 9.5.1 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.