Adding ABRT plugin support to katello-installer

Hello foreman-dev,

I would like to add ABRT plugin support to katello-installer [1].
Cristian Falcas already added the plugin to puppet-foreman and
puppet-foreman_abrt (thank you!) and, if I understand it correctly, I
need to update these modules in katello-installer repo now.

I tried to run "librarian-puppet update theforeman-foreman" but it fails
with "Could not resolve the dependencies." (full log here [2]).

What am I doing wrong?

Martin

[1] Feature #8982: Install ABRT plugins - Katello - Foreman
[2] https://mmilata.fedorapeople.org/librarian-update-log.txt

> Hello foreman-dev,
>
> I would like to add ABRT plugin support to katello-installer [1].
> Cristian Falcas already added the plugin to puppet-foreman and
> puppet-foreman_abrt (thank you!) and, if I understand it correctly, I
> need to update these modules in katello-installer repo now.
>
> I tried to run "librarian-puppet update theforeman-foreman" but it fails
> with "Could not resolve the dependencies." (full log here [2]).
>
> What am I doing wrong?

The good news is: nothing at all!

But the bad news is Katello-installer is pinned to puppetlabs-apache
1.1.1, while foreman is now requiring 1.2+ :frowning:

You can try removing the pinned version from
https://github.com/Katello/katello-installer/blob/master/Puppetfile#L12.

However, when we tried to use newer than 1.1.1 before, we found that it
reliably caused puppet in katello-installer to segfault
(Bug #4244: Core dump during foreman-installer - Installer - Foreman).

Maybe the foreman team can say why they now require >= 1.2, but it seems
like this was something that would eventually happen. The only real
solution to this is run katello-installer on Ruby 1.9+.

··· On Thu, Jan 15, 2015 at 09:16:26PM +0100, Martin Milata wrote:

Martin

[1] Feature #8982: Install ABRT plugins - Katello - Foreman
[2] https://mmilata.fedorapeople.org/librarian-update-log.txt


Best Regards,

Stephen Benjamin
Red Hat Engineering

> I tried to run "librarian-puppet update theforeman-foreman" but it fails
> with "Could not resolve the dependencies." (full log here [2]).

I have the very same problem today. How to update via librarian-puppet?

··· -- Later, Lukas #lzap Zapletal

We contributed some patches to remove our custom config file fragments
which are now present in 1.2, so were able to use these to tidy up the
module. It also let us fix CRL checking with Apache 2.4.

··· On 15/01/15 21:34, Stephen Benjamin wrote: > But the bad news is Katello-installer is pinned to puppetlabs-apache > 1.1.1, while foreman is now requiring 1.2+ :-( > > You can try removing the pinned version from > https://github.com/Katello/katello-installer/blob/master/Puppetfile#L12. > > However, when we tried to use newer than 1.1.1 before, we found that it > reliably caused puppet in katello-installer to segfault > (http://projects.theforeman.org/issues/4244). > > Maybe the foreman team can say why they now require >= 1.2, but it seems > like this was something that would eventually happen.


Dominic Cleal
Red Hat Engineering

I've tried removing the pinning:
https://github.com/Katello/katello-installer/pull/165

but updating puppetlabs-apache reliably causes the segfault problem:

[ INFO 2015-01-19 12:37:08 main] /usr/lib/ruby/site_ruby/1.8/puppet/module.rb:326: [BUG] Segmentation fault

I think we're going to have to move to SCL ruby. This is the katello
issue for tracking the segfault problem:
http://projects.theforeman.org/issues/7064

··· On Thu, Jan 15, 2015 at 10:34:56PM +0100, Stephen Benjamin wrote: > On Thu, Jan 15, 2015 at 09:16:26PM +0100, Martin Milata wrote: > > Hello foreman-dev, > > > > I would like to add ABRT plugin support to katello-installer [1]. > > Cristian Falcas already added the plugin to puppet-foreman and > > puppet-foreman_abrt (thank you!) and, if I understand it correctly, I > > need to update these modules in katello-installer repo now. > > > > I tried to run "librarian-puppet update theforeman-foreman" but it fails > > with "Could not resolve the dependencies." (full log here [2]). > > > > What am I doing wrong? > > The good news is: nothing at all! > > But the bad news is Katello-installer is pinned to puppetlabs-apache > 1.1.1, while foreman is now requiring 1.2+ :-( > > You can try removing the pinned version from > https://github.com/Katello/katello-installer/blob/master/Puppetfile#L12. > > However, when we tried to use newer than 1.1.1 before, we found that it > reliably caused puppet in katello-installer to segfault > (http://projects.theforeman.org/issues/4244). > > Maybe the foreman team can say why they now require >= 1.2, but it seems > like this was something that would eventually happen. The only real > solution to this is run katello-installer on Ruby 1.9+. >


Best Regards,

Stephen Benjamin
Red Hat Engineering


··· On Fri, Jan 16, 2015 at 08:19:32AM +0000, Dominic Cleal wrote: > On 15/01/15 21:34, Stephen Benjamin wrote: > > But the bad news is Katello-installer is pinned to puppetlabs-apache > > 1.1.1, while foreman is now requiring 1.2+ :-( > > > > You can try removing the pinned version from > > https://github.com/Katello/katello-installer/blob/master/Puppetfile#L12. > > > > However, when we tried to use newer than 1.1.1 before, we found that it > > reliably caused puppet in katello-installer to segfault > > (http://projects.theforeman.org/issues/4244). > > > > Maybe the foreman team can say why they now require >= 1.2, but it seems > > like this was something that would eventually happen. > > We contributed some patches to remove our custom config file fragments > which are now present in 1.2, so were able to use these to tidy up the > module. It also let us fix CRL checking with Apache 2.4.