Foreman-installer 1.8.2-1: unrecognized option --enable-foreman-plugin-discovery

Hey guys,

I currently tried to install the Foreman discovery plugin and download the
discovery Images with the Foreman-installer like it is documented in the
current documentation for 1.8 in
Foreman :: Manual.

But If I use one of the following Parameters:

–enable-foreman-plugin-discovery
–foreman-plugin-discovery-install-Images

I get the Response that These are unrecognized Options.

I use the installer Version "1.8.2-1" under ubuntu 14.04 and installed the
installer from

deb http://deb.theforeman.org/ trusty 1.8

The Options are also not listed with foreman-installer --help

If I downgrade the installer to 1.7.0-1, the Options are listed and can be
used.

Did I anything wrong or is this a mistake in the installer?

Thank you and Kind regards,

Tobias

Hello, check the spelling and case sensitivity. It's there.

LZ

··· On Tue, Jun 23, 2015 at 09:48:23AM -0700, Tobias Schaber wrote: > Hey guys, > > I currently tried to install the Foreman discovery plugin and download the > discovery Images with the Foreman-installer like it is documented in the > current documentation for 1.8 in > http://theforeman.org/manuals/1.8/index.html. > > But If I use one of the following Parameters: > > --enable-foreman-plugin-discovery > --foreman-plugin-discovery-install-Images > > I get the Response that These are unrecognized Options. > > I use the installer Version "1.8.2-1" under ubuntu 14.04 and installed the > installer from > > deb http://deb.theforeman.org/ trusty 1.8 > > The Options are also not listed with foreman-installer --help > > If I downgrade the installer to 1.7.0-1, the Options are listed and can be > used. > > Did I anything wrong or is this a mistake in the installer? > > Thank you and Kind regards, > > Tobias > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas #lzap Zapletal

>
> I currently tried to install the Foreman discovery plugin and download
> the discovery Images with the Foreman-installer like it is documented in
> the current documentation for 1.8 in
> Foreman :: Manual.
>
> But If I use one of the following Parameters:
>
> --enable-foreman-plugin-discovery
> --foreman-plugin-discovery-install-Images
>
> I get the Response that These are unrecognized Options.
>
> I use the installer Version "1.8.2-1" under ubuntu 14.04 and installed
> the installer from
>
> deb http://deb.theforeman.org/ trusty 1.8
>
> The Options are also not listed with foreman-installer --help

It sounds like the installer config file or your answers file may not
have it listed, which can stop it being shown at all. This can happen
on upgrades.

Please make sure that /etc/foreman/foreman-installer.yaml has the
following lines in it:

And that /etc/foreman/foreman-installer-answers.yaml also has:

"foreman::plugin::discovery": false

in it.

> If I downgrade the installer to 1.7.0-1, the Options are listed and can
> be used.

That I can't quite understand…

··· On 23/06/15 17:48, Tobias Schaber wrote:


Dominic Cleal
Red Hat Engineering

Hi Lukas,

thank you for your Response.

Please find attached the output of

#sudo foreman-installer --help > help.log.

I tried with different cases but no way.

Is there a way to verify that I've got the correct installer?

Kind regards,

Tobias

help.log (12.6 KB)

··· Am Mittwoch, 24. Juni 2015 13:32:21 UTC+2 schrieb Lukas Zapletal:

Hello, check the spelling and case sensitivity. It’s there.

LZ

On Tue, Jun 23, 2015 at 09:48:23AM -0700, Tobias Schaber wrote:

Hey guys,

I currently tried to install the Foreman discovery plugin and download
the
discovery Images with the Foreman-installer like it is documented in the
current documentation for 1.8 in
Foreman :: Manual.

But If I use one of the following Parameters:

–enable-foreman-plugin-discovery
–foreman-plugin-discovery-install-Images

I get the Response that These are unrecognized Options.

I use the installer Version “1.8.2-1” under ubuntu 14.04 and installed
the
installer from

deb http://deb.theforeman.org/ trusty 1.8

The Options are also not listed with foreman-installer --help

If I downgrade the installer to 1.7.0-1, the Options are listed and can
be
used.

Did I anything wrong or is this a mistake in the installer?

Thank you and Kind regards,

Tobias


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-user...@googlegroups.com <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas #lzap Zapletal

Thats the Foreman-installer info:

server@server:~/theforeman$ dpkg -s foreman-installer
Package: foreman-installer
Status: install ok installed
Priority: optional
Section: ruby
Installed-Size: 5441
Maintainer: Greg Sutcliffe <**** <gsutclif@redhat.com>>
Architecture: all
Version: 1.8.2-1
Depends: ruby | ruby-interpreter, ruby-kafo (>= 0.6.5), puppet (>= 2.7.0),
curl
Conffiles:
/etc/foreman/foreman-installer.yaml 7d82a71cc1f2abbd45353380e5638b06
/etc/foreman/foreman-installer-answers.yaml
a5c86ede1719387932489a02eb14bff3
Description: Automated puppet-based installer for The Foreman
Foreman-installer is a set of puppet modules wrapped in ruby
library to provide a nice frontend menu for configuring it.
.
The installer can configure Foreman, Foreman Proxy, Puppet,
TFTP, DNS, and DHCP. All sections are optional and configurable.
Homepage: https://github.com/theforeman/foreman-installer

Kind regards,

Tobias

··· Am Mittwoch, 24. Juni 2015 18:09:14 UTC+2 schrieb Tobias Schaber:

Hi Lukas,

thank you for your Response.

Please find attached the output of

#sudo foreman-installer --help > help.log.

I tried with different cases but no way.

Is there a way to verify that I’ve got the correct installer?

Kind regards,

Tobias

Am Mittwoch, 24. Juni 2015 13:32:21 UTC+2 schrieb Lukas Zapletal:

Hello, check the spelling and case sensitivity. It’s there.

LZ

On Tue, Jun 23, 2015 at 09:48:23AM -0700, Tobias Schaber wrote:

Hey guys,

I currently tried to install the Foreman discovery plugin and download
the
discovery Images with the Foreman-installer like it is documented in
the
current documentation for 1.8 in
Foreman :: Manual.

But If I use one of the following Parameters:

–enable-foreman-plugin-discovery
–foreman-plugin-discovery-install-Images

I get the Response that These are unrecognized Options.

I use the installer Version “1.8.2-1” under ubuntu 14.04 and installed
the
installer from

deb http://deb.theforeman.org/ trusty 1.8

The Options are also not listed with foreman-installer --help

If I downgrade the installer to 1.7.0-1, the Options are listed and can
be
used.

Did I anything wrong or is this a mistake in the installer?

Thank you and Kind regards,

Tobias


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-user...@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Later,
Lukas #lzap Zapletal

Hi Dominic,

Thank you so much you made my day!!!

It was the missing line:

"foreman::plugin::discovery": false

Thank you!

Kind regards,

Tobias

··· Am Freitag, 26. Juni 2015 11:12:50 UTC+2 schrieb Dominic Cleal:

On 23/06/15 17:48, Tobias Schaber wrote:

I currently tried to install the Foreman discovery plugin and download
the discovery Images with the Foreman-installer like it is documented in
the current documentation for 1.8 in
Foreman :: Manual.

But If I use one of the following Parameters:

–enable-foreman-plugin-discovery
–foreman-plugin-discovery-install-Images

I get the Response that These are unrecognized Options.

I use the installer Version “1.8.2-1” under ubuntu 14.04 and installed
the installer from

deb http://deb.theforeman.org/ trusty 1.8

The Options are also not listed with foreman-installer --help

It sounds like the installer config file or your answers file may not
have it listed, which can stop it being shown at all. This can happen
on upgrades.

Please make sure that /etc/foreman/foreman-installer.yaml has the
following lines in it:

https://github.com/theforeman/foreman-installer/blob/1.8-stable/config/foreman-installer.yaml#L54-L57

And that /etc/foreman/foreman-installer-answers.yaml also has:

“foreman::plugin::discovery”: false

in it.

If I downgrade the installer to 1.7.0-1, the Options are listed and can
be used.

That I can’t quite understand…


Dominic Cleal
Red Hat Engineering