Project

General

Profile

Bug #12988

ssh-generate-keys option does not work

Added by Konstantin Orekhov over 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Hello there! I just tried to install Remote Execution tfm-rubygem-foreman_remote_execution-0.1.1-1.fm1_10.el7.noarch on my CentOS7.1 Foreman and found that this option does not work properly:

[root@spc02 ~]# foreman-installer --verbose --enable-foreman-proxy-plugin-remote-execution-ssh --foreman-proxy-plugin-remote-execution-ssh-generate-keys=false
[ INFO 2016-01-04 17:53:47 verbose] Executing hooks in group boot
[ INFO 2016-01-04 17:53:47 verbose] All hooks in group boot finished
[ INFO 2016-01-04 17:53:47 verbose] Executing hooks in group init
[ INFO 2016-01-04 17:53:47 verbose] All hooks in group init finished
[ INFO 2016-01-04 17:53:47 verbose] Loading default values from puppet modules...
[ INFO 2016-01-04 17:53:47 verbose] ... finished
[ INFO 2016-01-04 17:53:47 verbose] Executing hooks in group pre_values
[ INFO 2016-01-04 17:53:47 verbose] All hooks in group pre_values finished
[ INFO 2016-01-04 17:53:47 verbose] Executing hooks in group pre_validations
[ INFO 2016-01-04 17:53:47 verbose] All hooks in group pre_validations finished
[ INFO 2016-01-04 17:53:47 verbose] Running validation checks
[ERROR 2016-01-04 17:53:48 verbose] "false" is not a boolean. It looks to be a String
[ERROR 2016-01-04 17:53:48 verbose] Parameter foreman-proxy-plugin-remote-execution-ssh-generate-keys invalid
Error during configuration, exiting
[ERROR 2016-01-04 17:53:48 verbose] Repeating errors encountered during run:
[ERROR 2016-01-04 17:53:48 verbose] "false" is not a boolean. It looks to be a String
[ERROR 2016-01-04 17:53:48 verbose] Parameter foreman-proxy-plugin-remote-execution-ssh-generate-keys invalid
[root@spc02 ~]#

Removing such option and placing a previously generated key into ~foreman/.ssh works though and achieves the same result (at least for me), so I don't believe this is a high-priority thing.

Thanks!

Associated revisions

Revision fc9531e2 (diff)
Added by Stephen Benjamin over 4 years ago

fixes #12988 - generate_keys should be boolean in for remote_execution/ssh.pp

History

#1 Updated by Stephen Benjamin over 4 years ago

  • Project changed from Foreman Remote Execution to Installer

Looks like this param is missing

type:boolean
in the manifest

#2 Updated by Stephen Benjamin over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#3 Updated by Marek Hulán over 4 years ago

  • Category set to Foreman modules
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/210 added

#4 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 71

Also available in: Atom PDF