Bug #16830
closedHighLine::String inside arrays not replaced in parameter values
Description
I'm not sure but is the installer here failing on the same bug as #14568 ?
[ERROR 2016-10-07 11:56:20 verbose] Evaluation Error: Error while evaluating a Function Call, undefined class/module HighLine:: at /usr/share/gems/gems/kafo-0.9.2/modules/kafo_configure/manifests/init.pp:14:3 on node foreman-01.my.domain
This happens on 1.12.3 as 1.13 as well.
Files
Updated by Dominic Cleal over 8 years ago
- Status changed from New to Need more information
- Difficulty deleted (
easy)
Please provide more information to reproduce the bug, such attaching your answers file (with credentials redacted) and precisely how you created the answers file (commands, whether you used interactive mode).
Updated by Yama Kasi over 8 years ago
The answersfile is generated from scratch using foreman-installer -i
Updated by Dominic Cleal over 8 years ago
Please attach your answers file (with credentials redacted).
Updated by Yama Kasi over 8 years ago
- File foreman-answers.yaml foreman-answers.yaml added
Added generated foreman-answers.yaml
Updated by Dominic Cleal over 8 years ago
- Related to Bug #15111: "!ruby/string:HighLine::String" in answers when using interactive mode added
Updated by Dominic Cleal over 8 years ago
- Project changed from Installer to Kafo
- Subject changed from Foreman-installer failing on Kafo to HighLine::String inside arrays not replaced in parameter values
- Category deleted (
foreman-installer script) - Status changed from Need more information to New
- Priority changed from High to Normal
The HighLine string class isn't replaced in this entry, as it's inside an array:
foreman::plugin::memcache: hosts: - !ruby/string:HighLine::String |- V1d0ak5XRnNiRmhsUnpscFRUQTBkdz09 expires_in: 86400 namespace: foreman compress: true
#15111 only fixes instances where the value is a HighLine::String. The same probably applies to hashes.
As a workaround, run foreman-installer --foreman-plugin-memcache-hosts=example.com
replacing example.com with the hostname of your memcached server. It should reset the stored value. Else, replace the section of the answers file above with:
foreman::plugin::memcache: hosts: - example.com expires_in: 86400 namespace: foreman compress: true
Updated by Yama Kasi over 8 years ago
Indeed, I saw that and didn't mention it, sorry for that!
Thanks!
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Dominic Cleal
- Pull request https://github.com/theforeman/kafo/pull/183 added
Updated by Dominic Cleal over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 3126b0f702fa682c823a01e74f3e839f4ab079f4.