l23network doesn't work with Puppet3 unless stringify_facts=false is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Dmitry Ilyin |
Bug Description
l23network uses "netrings" fact that should be a hash and will fail if this fact is stringified.
Puppet version 3 and below always stringify all the data acquired from the facter. If it returns such structures and hashes and array they will be represented as strings.
Puppet 4 by default does not do this and keep the data structures in facts so they are accessible from the manifests. Puppet 3 can do the same if
stringify_
variable so the facts are working as intended, but this situation can be problematic if the module is used outside of Fuel.
There should be at least validation to catch the situation when the string have been passed instead of the data structure, or, even better, the data
structure can be dumped into a JSON or YAML and the parsed again the the manifest and if have been doing in the previous versions of Puppet.
description: | updated |
Changed in fuel: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- l23network doesn't work with Puppet3 unless - stringify_facts=falsestringify_facts=false is enabled + l23network doesn't work with Puppet3 unless stringify_facts=false |
summary: |
- l23network doesn't work with Puppet3 unless stringify_facts=false + l23network doesn't work with Puppet3 unless stringify_facts=false is set |
Changed in fuel: | |
milestone: | none → 10.0 |
assignee: | nobody → MOS Puppet Team (mos-puppet) |
Changed in fuel: | |
assignee: | MOS Puppet Team (mos-puppet) → Dmitry Ilyin (idv1985) |
tags: | added: 10.0-reviewed |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
Related fix proposed to branch: master /review. openstack. org/332178
Review: https:/