Configuration Katello+Foreman (3.3/1.14)

I am trying to complete the Infrastructure->Provisioning setup in the web
gui after having a complete (clean) install of katello+foreman but when I
do I get output like this for the config command on the 3rd step.

katello-installer
–enable-capsule
–capsule-tftp=true
–capsule-tftp-servername=1.2.3.3
–capsule-dhcp=true
–capsule-dhcp-interface=ens192
–capsule-dhcp-gateway=
–capsule-dhcp-nameservers="1.2.3.4,1.2.3.5"
–capsule-dns=true
–capsule-dns-interface=ens192
–capsule-dns-zone=[FILTER]
–capsule-dns-reverse=3.3.2.in-addr.arpa
–capsule-dns-forwarders=1.2.3.4
–capsule-dns-forwarders=1.2.3.5
–capsule-parent-fqdn=https://somehost.name.com
–capsule-foreman-oauth-key=[FILTER]
–capsule-foreman-oauth-secret=[FILTER]

Soon realized that "katello-installer" doesn't exist. I jumped onto
#theforeman IRC channel and asked there and another individual said it no
longer exists.

Is there a replacement for the katello-installer command? If not how/where
would I begin to "manually" configure these options?

Apologies for so many katello+foreman questions but it seems it has a few
differences than stock foreman that I'm not finding much on ;(

So turns out the "setup" command isn't updated yet. Just use the normal
foreman setup command and ignore the katello-installer specific command. I
was able to run the command using foreman-installer once I did that.

Thanks for the help!

Sounds like you're looking at the wrong documentation. Here is the install
documentation for Katello 3.3:
https://theforeman.org/plugins/katello/3.3/installation/index.html

··· On Mon, May 15, 2017 at 3:18 PM Mike Wilson wrote:

I am trying to complete the Infrastructure->Provisioning setup in the web
gui after having a complete (clean) install of katello+foreman but when I
do I get output like this for the config command on the 3rd step.

katello-installer
–enable-capsule
–capsule-tftp=true
–capsule-tftp-servername=1.2.3.3
–capsule-dhcp=true
–capsule-dhcp-interface=ens192
–capsule-dhcp-gateway=
–capsule-dhcp-nameservers=“1.2.3.4,1.2.3.5”
–capsule-dns=true
–capsule-dns-interface=ens192
–capsule-dns-zone=[FILTER]
–capsule-dns-reverse=3.3.2.in-addr.arpa
–capsule-dns-forwarders=1.2.3.4
–capsule-dns-forwarders=1.2.3.5
–capsule-parent-fqdn=https://somehost.name.com
–capsule-foreman-oauth-key=[FILTER]
–capsule-foreman-oauth-secret=[FILTER]

Soon realized that “katello-installer” doesn’t exist. I jumped onto
#theforeman IRC channel and asked there and another individual said it no
longer exists.

Is there a replacement for the katello-installer command? If not how/where
would I begin to “manually” configure these options?

Apologies for so many katello+foreman questions but it seems it has a few
differences than stock foreman that I’m not finding much on ;(


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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

KAYAK

Neil Hanlon

Devops Engineer

+1 978 451 0707

Not only that but if you replace katello-installer with
foreman-installer you'll get an error on the last two lines.
I think I have a bug open with this. You can run this if you replace
katello-installer with foreman-installer and replace the last two lines
with the correct ones. Not sure about the naming of them. Further I seem
to remember that --capsule- also needs changing.

Greetings,

Joop

··· On 15-5-2017 21:18, Mike Wilson wrote: > I am trying to complete the Infrastructure->Provisioning setup in the > web gui after having a complete (clean) install of katello+foreman but > when I do I get output like this for the config command on the 3rd step. > > > > katello-installer \ > --enable-capsule \ > --capsule-tftp=true \ > --capsule-tftp-servername=1.2.3.3 \ > --capsule-dhcp=true \ > --capsule-dhcp-interface=ens192 \ > --capsule-dhcp-gateway= \ > --capsule-dhcp-nameservers="1.2.3.4,1.2.3.5" \ > --capsule-dns=true \ > --capsule-dns-interface=ens192 \ > --capsule-dns-zone=[FILTER] \ > --capsule-dns-reverse=3.3.2.in-addr.arpa \ > --capsule-dns-forwarders=1.2.3.4 \ > --capsule-dns-forwarders=1.2.3.5 \ > --capsule-parent-fqdn=https://somehost.name.com \ > --capsule-foreman-oauth-key=[FILTER] \ > --capsule-foreman-oauth-secret=[FILTER] > > > > Soon realized that "katello-installer" doesn't exist. I jumped onto > #theforeman IRC channel and asked there and another individual said it > no longer exists. > >

That's actually the site I've used to install Katello+Foreman but this is
something that the web interface is telling me to run from the foreman web
interface "Infrastructure->Provisioning setup" step 3. Unless I am missing
something in your link.

··· On Monday, May 15, 2017 at 2:34:17 PM UTC-5, Neil Hanlon wrote: > > Sounds like you're looking at the wrong documentation. Here is the install > documentation for Katello 3.3: > https://theforeman.org/plugins/katello/3.3/installation/index.html >

Perhaps this will clear up where I'm seeing this.

Attaching image.

Is this what you needed (see attachment)?

Infrastructure->Provisioning Setup (the place where I get the "setup"
commands are on step 3.

··· On Monday, May 15, 2017 at 2:53:42 PM UTC-5, John Mitsch wrote: > > Mike, everything is under foreman-installer now, it looks like that page > needs to be updated if you are on katello 3.3 + foreman 1.14. Where did you > find that page? >

Short version is you basically replace the "–capsule-" with
"–foreman-proxy-" and use "–foreman-proxy-oauth-consumer-key" and
"–foreman-proxy-oauth-consumer-secret" instead of "
–capsule-foreman-oauth-key" and "–capsule-foreman-oauth-secret"

At least that seemed to work for me for now.

··· On Monday, May 15, 2017 at 3:50:23 PM UTC-5, Joop van de Wege wrote: > > > Not only that but if you replace katello-installer with foreman-installer > you'll get an error on the last two lines. > I think I have a bug open with this. You can run this if you replace > katello-installer with foreman-installer and replace the last two lines > with the correct ones. Not sure about the naming of them. Further I seem to > remember that --capsule- also needs changing. > > Greetings, > > Joop > >

Mike, everything is under foreman-installer now, it looks like that page
needs to be updated if you are on katello 3.3 + foreman 1.14. Where did you
find that page?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Mon, May 15, 2017 at 3:44 PM, Mike Wilson wrote:

Perhaps this will clear up where I’m seeing this.

Attaching image.


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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

I am not sure what that URL/step you're talking about is… but we still
haven't upgraded so we're on 3.2 in production.

Someone else might have a better idea, either in here or in #theforeman

··· On Mon, May 15, 2017 at 3:42 PM Mike Wilson wrote:

On Monday, May 15, 2017 at 2:34:17 PM UTC-5, Neil Hanlon wrote:

Sounds like you’re looking at the wrong documentation. Here is the
install documentation for Katello 3.3:
https://theforeman.org/plugins/katello/3.3/installation/index.html

That’s actually the site I’ve used to install Katello+Foreman but this is
something that the web interface is telling me to run from the foreman web
interface “Infrastructure->Provisioning setup” step 3. Unless I am missing
something in your link.


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 https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

KAYAK

Neil Hanlon

Devops Engineer

+1 978 451 0707