Re: [Puppet Users] Re: puppetdb, foreman, one particular node has a problem

Greg Sutcliffe
Wed, 16 Oct 2013 17:32:18 -0000

On 16 October 2013 14:39, Steve Wray <stevedwray@gmail.com> wrote:

> Your response is encouraging, thanks.
>
> I wasn''t using sqlite, I was using postgresql. I have about 100
nodes (and
> growing) sqlite quickly became unusable.
>

Ah ok. There are changes to the ENC script (which also registers new Hosts
in the Foreman interface) in 1.3, but due to a variety of reasons, the ENC
(/etc/puppet/node.rb) isn''t packaged. So potentially, that needed an
update
to fix your host registration problem.

One of the things I tried was aptitude install with =version but
this
> didn''t work, apparently it couldn''t find the old versions
in the repo. I
> started downloading the .debs to install the old versions manually but
> realised it would be quicker to just uninstall foreman, we had just
> commissioned a bunch of servers, and more arriving all the time, so I
> really had to just get a move on.
>

Understandable, I''ve been in those firefighting situations.
It''s
interesting that this didn''t work for you though - I was using that
syntax
this very morning to test the sqlite3 error fixes :)

>
> Honestly, if it hadn''t been a Debian-based system, say CentOS,
I''d have
> been a LOT more cautious about the 8upgrade but I''ve got so used
to things
> just not breaking in stable (last time anything like that bit me was when
> someone decided to apply a ''security'' patch to sudo).
>

> When I have some breathing room I''ll do some more tests with the
newer
> version of foreman.
>

Looking forward to your feedback. See you on foreman-users :)