Bug #16830
closed
HighLine::String inside arrays not replaced in parameter values
Added by Yama Kasi over 8 years ago.
Updated over 8 years ago.
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
- 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).
The answersfile is generated from scratch using foreman-installer -i
Please attach your answers file (with credentials redacted).
Added generated foreman-answers.yaml
- Related to Bug #15111: "!ruby/string:HighLine::String" in answers when using interactive mode added
- 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
Indeed, I saw that and didn't mention it, sorry for that!
Thanks!
- Status changed from New to Ready For Testing
- Assignee set to Dominic Cleal
- Pull request https://github.com/theforeman/kafo/pull/183 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF