Comment 23 for bug 1810690

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to paunch (stable/rocky)

Reviewed: https://review.openstack.org/630750
Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=e52fdc085412b7631364b1c93c98a5e5a25d4320
Submitter: Zuul
Branch: stable/rocky

commit e52fdc085412b7631364b1c93c98a5e5a25d4320
Author: Bogdan Dobrelya <email address hidden>
Date: Fri Jan 11 12:35:36 2019 +0100

    Fix comparing dictionaries for changes detection

    Non-unicode and unicode dicts cannot be compared.
    That makes paunch failing to detect config changes and
    rebuilding containers w/o a need.

    Use yaml safe_load in order to produce a non-unicode dict
    for the right comparison of config data.

    NOTE: This change is different for <= Rocky as we refactored in Stein.
    Conflicts:
     paunch/builder/base.py
    Change-Id: I507f4b07af2c515fd8548af7dbe6b35ad2a269a9
    Closes-Bug: #1810690
    Signed-off-by: Bogdan Dobrelya <email address hidden>
    (cherry picked from commit 5558e521abc48f5cf1bd3fcfdaec1149a05dcfaa)