Reviewed: https://review.openstack.org/630165 Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=5558e521abc48f5cf1bd3fcfdaec1149a05dcfaa Submitter: Zuul Branch: master
commit 5558e521abc48f5cf1bd3fcfdaec1149a05dcfaa 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.
Change-Id: I507f4b07af2c515fd8548af7dbe6b35ad2a269a9 Closes-Bug: #1810690 Signed-off-by: Bogdan Dobrelya <email address hidden>
Reviewed: https:/ /review. openstack. org/630165 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=5558e521abc 48f5cf1bd3fcfda ec1149a05dcfaa
Committed: https:/
Submitter: Zuul
Branch: master
commit 5558e521abc48f5 cf1bd3fcfdaec11 49a05dcfaa
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.
Change-Id: I507f4b07af2c51 5fd8548af7dbe6b 35ad2a269a9
Closes-Bug: #1810690
Signed-off-by: Bogdan Dobrelya <email address hidden>