Template with Input throws error

Problem:
When I create ansible template with Input and run Job from Template:


and run it I get this error( Oops, we’re sorry but something went wrong undefined method `hidden_value’ for #<TemplateInput:…):

**OS and Foreman versions:
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.8 (Maipo)”

foreman-proxy-2.0.0-1.el7.noarch
foreman-cli-2.0.0-2.el7.noarch
tfm-rubygem-foreman-tasks-1.0.1-3.fm2_0.el7.noarch
foreman-installer-2.0.0-1.el7.noarch
tfm-rubygem-foreman_templates-8.0.0-1.fm2_0.el7.noarch
foreman-2.0.0-2.el7.noarch
rubygem-foreman_maintain-0.6.2-1.el7.noarch
tfm-rubygem-foreman_remote_execution-3.2.0-1.fm2_1.el7.noarch
foreman-debug-2.0.0-2.el7.noarch
foreman-postgresql-2.0.0-2.el7.noarch
tfm-rubygem-hammer_cli_foreman-2.0.2-1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.3.3-1.fm1_25.el7.noarch
tfm-rubygem-foreman_ansible-5.0.1-1.fm2_0.el7.noarch
tfm-rubygem-foreman_ansible_core-3.0.3-1.fm2_0.el7.noarch
foreman-release-2.0.0-1.el7.noarch
foreman-dynflow-sidekiq-2.0.0-2.el7.noarch
foreman-release-scl-7-2.el7.noarch
tfm-rubygem-foreman_remote_execution_core-1.3.0-1.el7.noarch
foreman-selinux-2.0.0-1.el7.noarch

Did anyone experienced same error?

Thanks!

That is fixed in in remote execution 3.2.1. Could you find out from which repository you have tfm-rubygem-foreman_remote_execution-3.2.0-1.fm2_1.el7.noarch ?

Installed from nightly yesterday:
https://yum.theforeman.org/plugins/nightly/el7/x86_64/tfm-rubygem-foreman_remote_execution-3.2.0-1.fm2_1.el7.noarch.rpm

I will try the newest version:
https://yum.theforeman.org/plugins/nightly/el7/x86_64/tfm-rubygem-foreman_remote_execution-3.2.1-1.fm2_2.el7.noarch.rpm

Seems newer version did the trick:
https://yum.theforeman.org/plugins/nightly/el7/x86_64/tfm-rubygem-foreman_remote_execution-3.2.1-1.fm2_2.el7.noarch.rpm

Thanks!

Please bear in mind that mixing a stable release with nightlies isn’t exactly supported, so ymmv. I’d suggest sticking with a stable release for smooth sailing

You know, I would not mix but if I have to choose between stable version and working one I choose working version :slight_smile: