Re: [foreman-users] Katello 3.4 (Oud Bruin) Released!

2017-05-30 Thread Evgeni Golov
On Tue, May 30, 2017 at 11:50:40AM +1000, Lachlan Musicman wrote:
> On 30 May 2017 at 11:40, Lachlan Musicman <data...@gmail.com> wrote:
> 
> > Great, thanks.
> >
> > I am seeing another issue:
> >
> >  - yum clean all, all good
> >  - yum upgrade doesn't recognise new repos. If I look into
> > /etc/yum.repos.d/redhat.repo and the new products aren't listed in that
> > file.
> >
> > In order to get it to work, traditionally I've then performed:
> >
> > subscription-manager identity
> > subscription-manager unsubscribe
> > subscription-manager register --org="ACMI" --activationkey="Utility
> > Server"
> 
> I have discovered that my traditional method was finally deprecated and it
> didn't work.
> 
> But I also found that the slightly easier work around works:
> 
> subscription-manager repos
> 
> For whatever reason, that refreshes the redhat.repo.

So would "subscription-manager refresh".
When you change repos, your subscription changes, but it is not pulled
in on every yum invocation.

You can set full_refresh_on_yum = 1 in rhsm.conf, but even then not
every aspect is properly updated [1].

Also, I would suggest against using sub-man unregister && sub-man
register as a cluebat workaround. The subscription certificate is also
used for katello-agent, and if you don't restart it after doing the
sub-man dance, you end up without the ability to apply errata via
katello-agent.

Cheers
Evgeni

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1439645

-- 
Beste Grüße/Kind regards,

Evgeni Golov
Software Engineer

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander

-- 
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+unsubscr...@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.


Re: [foreman-users] foreman-installer fails with postgresql-9.4

2017-05-30 Thread Evgeni Golov
Hi,

On Tue, May 30, 2017 at 05:10:27AM -0700, mc14...@bristol.ac.uk wrote:
> I'm trying to setup puppet/foreman. 
> 
> postgresql94-server

Do I guess right this is from yum.postgresql.org?

> May 30 12:59:33  systemd[1]: postgresql.service lacks both ExecStart= and 
> ExecStop= setting. Refusing.
> May 30 12:59:33  systemd[1]: postgresql.service lacks both ExecStart= and 
> ExecStop= setting. Refusing.

If your packages are from yum.postgresql.org, then the service you need
is called postgresql-9.4, not postgresql. Not sure where
postgresql.service is comming from in your case then.

That said, I have no idea if we can tell the installer to use an
alternative PostgreSQL service name.

Regards
Evgeni

-- 
Beste Grüße/Kind regards,

Evgeni Golov
Software Engineer

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander

-- 
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+unsubscr...@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.


Re: [foreman-users] Re: Katello 3.4 (Oud Bruin) Released!

2017-05-30 Thread Evgeni Golov
On Tue, May 30, 2017 at 08:30:49AM -0400, Eric D Helms wrote:
> Duncan,
> 
> Can you point me to which website page/link you are meaning?

I think this should cover it:
 https://github.com/theforeman/theforeman.org/pull/884

-- 
Beste Grüße/Kind regards,

Evgeni Golov
Software Engineer

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander

-- 
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+unsubscr...@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.