Merge YAML settings resource is non-idempotent
Bug #1614279 reported by
Dmitry Ilyin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Dmitry Ilyin |
Bug Description
There is a resource for merging YAML configuration in the "fuel" module. In the fuel-library it's being used to merge the config file for the Cobbler service on the master node and it's working fine as it is.
But some plugin developers have started using this resource too. Practice have shown that there are a lot of problems with idempotency when several instances are trying to modify the same file and there are problems with arrays being incorrectly merged and there is no options to control this behavior.
Changed in fuel: | |
milestone: | none → 9.1 |
assignee: | nobody → Dmitry Ilyin (idv1985) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: customer-found |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
tags: | added: on-verification |
tags: | added: release-notes |
tags: |
added: release-notes-done removed: release-notes |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/355040 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=49d918fc01c 768a8523f33b5f0 cd38ff6cc5da95
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 49d918fc01c768a 8523f33b5f0cd38 ff6cc5da95
Author: Dmitry Ilyin <email address hidden>
Date: Fri Aug 12 13:58:18 2016 -0500
Add refactored merge_yaml_settings module
Replace the merge_yaml_settings resource with the
merge_yaml module. This module introduced more advanced
version of the merge_yaml_settings resource with
additional options to control the merging behavior.
There are also resources with alternative implementation
of a configuration merging types and providers. They
are working in the same way as the "concat" module does
by assembling the resulting data structure from a set of
fragments. This should be much more puppet-master frinedly.
These types are not used anywhere yet but may be used later.
Related-Bug: 1614279 picked- from: 9eccbbc a8d10e0670bd60d 07692e2cb7d
Cherry-
Change-Id: Ieaa8fc840f6a91