Foreman puppet and katello plugin

Hello,

We want to make a new plugin for foreman that will install katello.

What seems to be working:

  • new foreman install via command line
  • install katello rpms
  • run db migrate and seed scripts
  • configure katello to use existing pulp, elasticsearch, candlepin

Is the above workflow sufficient for a katello installation? Is katello
supposed to be installed on foreman proxy also?

Any other pointers for this installation?

Also, we use pulp/mcollective with rabbitmq, Can we use candlepin with a
rabbitmq server? The configuration seems to be for qpid only.

Best regards,
Cristian Falcas

> Hello,
>
> We want to make a new plugin for foreman that will install katello.
>
> What seems to be working:
> - new foreman install via command line

If you're installing Foreman from scratch, why wouldn't you just install
Katello using katello-installer?

http://www.katello.org/docs/2.2/installation/index.html

> - install katello rpms
> - run db migrate and seed scripts
> - configure katello to use existing pulp, elasticsearch, candlepin
>
> Is the above workflow sufficient for a katello installation?

No, that's not enough at all. Existing Foreman objects need to be
created in the pulp and candlepin databases, SSL certificates need to be
in the right places everwhere, in a very different configuration than a
plain foreman install.

The qpid message bus and qpid-dispatch router need the be configured,
other configuration files need to be setup with various tokens and
credentials, etc.

If you did manage to somehow address all of these concerns by hand, this
kind of setup wouldn't have any further upgrade path to future versions
of Katello.

> Is katello supposed to be installed on foreman proxy also?
> Any other pointers for this installation?

The proxy needs to run pulp, and be configured in specific ways.

> Also, we use pulp/mcollective with rabbitmq, Can we use candlepin with a
> rabbitmq server? The configuration seems to be for qpid only.

No, only qpid.

We've having a discussion today[1] on google hangouts about the topic,
and there's some notes in the Wiki[2] and Redmine[3], but the effort
here is more like Katello 2.3 or 2.4 for this feature.

[1] https://plus.google.com/events/cr97cchqoitkf74grdjli886fl4
[2] Katello on Existing Foreman - Katello - Foreman
[3] Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation - Katello - Foreman

··· On Mon, May 18, 2015 at 11:51:26AM +0300, Cristian Falcas wrote:

Best regards,
Cristian Falcas


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.


Best Regards,

Stephen Benjamin
Red Hat Engineering

> > Hello,
> >
> > We want to make a new plugin for foreman that will install katello.
> >
> > What seems to be working:
> > - new foreman install via command line
>
> If you're installing Foreman from scratch, why wouldn't you just install
> Katello using katello-installer?
>
> http://www.katello.org/docs/2.2/installation/index.html
>

We want to use the foreman puppet module for installation and upgrades of
katello. We don't want to upgrade a foreman installation.

> > - install katello rpms
> > - run db migrate and seed scripts
> > - configure katello to use existing pulp, elasticsearch, candlepin
> >
> > Is the above workflow sufficient for a katello installation?
>
> No, that's not enough at all. Existing Foreman objects need to be
> created in the pulp and candlepin databases, SSL certificates need to be
> in the right places everwhere, in a very different configuration than a
> plain foreman install.
>

Pulp and candlepin objects will not be created by katello? This will be a
new installation for us, not an updated foreman.

··· On Mon, May 18, 2015 at 1:49 PM, Stephen Benjamin wrote: > On Mon, May 18, 2015 at 11:51:26AM +0300, Cristian Falcas wrote:

The qpid message bus and qpid-dispatch router need the be configured,
other configuration files need to be setup with various tokens and
credentials, etc.

If you did manage to somehow address all of these concerns by hand, this
kind of setup wouldn’t have any further upgrade path to future versions
of Katello.

Is katello supposed to be installed on foreman proxy also?
Any other pointers for this installation?

The proxy needs to run pulp, and be configured in specific ways.

Also, we use pulp/mcollective with rabbitmq, Can we use candlepin with a
rabbitmq server? The configuration seems to be for qpid only.

No, only qpid.

We’ve having a discussion today[1] on google hangouts about the topic,
and there’s some notes in the Wiki[2] and Redmine[3], but the effort
here is more like Katello 2.3 or 2.4 for this feature.

[1] https://plus.google.com/events/cr97cchqoitkf74grdjli886fl4
[2]
Katello on Existing Foreman - Katello - Foreman
[3] Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation - Katello - Foreman

Best regards,
Cristian Falcas


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.


Best Regards,

Stephen Benjamin
Red Hat Engineering


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.

>
> > > Hello,
> > >
> > > We want to make a new plugin for foreman that will install katello.
> > >
> > > What seems to be working:
> > > - new foreman install via command line
> >
> > If you're installing Foreman from scratch, why wouldn't you just install
> > Katello using katello-installer?
> >
> > http://www.katello.org/docs/2.2/installation/index.html
> >
>
> We want to use the foreman puppet module for installation and upgrades of
> katello. We don't want to upgrade a foreman installation

I don't really understand what this means.

Katello has its own installer, and you have to use that. It installs
Foreman, it installs everything. It uses foreman's puppet moudles,
too, but it does all the Katello-specific things.

There's no other method we're going to support today.

··· On Mon, May 18, 2015 at 01:59:01PM +0300, Cristian Falcas wrote: > On Mon, May 18, 2015 at 1:49 PM, Stephen Benjamin > wrote: > > On Mon, May 18, 2015 at 11:51:26AM +0300, Cristian Falcas wrote:
  • install katello rpms
  • run db migrate and seed scripts
  • configure katello to use existing pulp, elasticsearch, candlepin

Is the above workflow sufficient for a katello installation?

No, that’s not enough at all. Existing Foreman objects need to be
created in the pulp and candlepin databases, SSL certificates need to be
in the right places everwhere, in a very different configuration than a
plain foreman install.

Pulp and candlepin objects will not be created by katello? This will be a
new installation for us, not an updated foreman.

The qpid message bus and qpid-dispatch router need the be configured,
other configuration files need to be setup with various tokens and
credentials, etc.

If you did manage to somehow address all of these concerns by hand, this
kind of setup wouldn’t have any further upgrade path to future versions
of Katello.

Is katello supposed to be installed on foreman proxy also?
Any other pointers for this installation?

The proxy needs to run pulp, and be configured in specific ways.

Also, we use pulp/mcollective with rabbitmq, Can we use candlepin with a
rabbitmq server? The configuration seems to be for qpid only.

No, only qpid.

We’ve having a discussion today[1] on google hangouts about the topic,
and there’s some notes in the Wiki[2] and Redmine[3], but the effort
here is more like Katello 2.3 or 2.4 for this feature.

[1] https://plus.google.com/events/cr97cchqoitkf74grdjli886fl4
[2]
Katello on Existing Foreman - Katello - Foreman
[3] Tracker #7605: As a Foreman user, I would like to be able to add Katello later to an existing Foreman installation - Katello - Foreman

Best regards,
Cristian Falcas


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.


Best Regards,

Stephen Benjamin
Red Hat Engineering


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.


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.


Best Regards,

Stephen Benjamin
Red Hat Engineering