Ohad Levy wrote:
> I think that db schema has been changed in this release to contain the 
> nodes environment settings.
>
> try adding dbmigrate = true to your puppet.conf .
>
> Cheers,
> Ohad
>
> On Thu, Dec 18, 2008 at 1:23 PM, Ben <[email protected] 
> <mailto:[email protected]>> wrote:
>
>
>     After upgrading my puppetmaster to 0.24.7 from 0.24.6 i am getting the
>     following errors in the puppetmaster logs.  Any help would be
>     appreciated.
>
>     Thu Dec 18 16:11:39 +1100 2008 Puppet (err): Could not store configs:
>     undefined method `environment=' for #<Puppet::Rails::Host:0xb72c0c38>
>
>     I do not use environment's and they are not defined anywhere in the
>     puppet.conf (below).
>
>     Also seeing;
>
>     Thu Dec 18 15:55:58 +1100 2008
>     
> /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/opt/puppet/bucket]/owner
>     (warning): Cannot manage ownership unless running as root
>     Thu Dec 18 15:55:58 +1100 2008
>     
> /Settings[/etc/puppet/puppet.conf]/Settings[rails]/File[/var/lib/puppet/state/clientconfigs.sqlite3]/owner
>     (warning): Cannot manage ownership unless running as root
>     Thu Dec 18 15:55:58 +1100 2008
>     
> /Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/var/log/puppet/masterhttp.log]/owner
>     (warning): Cannot manage ownership unless running as root
>     Thu Dec 18 15:55:58 +1100 2008
>     
> /Settings[/etc/puppet/puppet.conf]/Settings[rails]/File[/var/log/puppet/rails.log]/owner
>     (warning): Cannot manage ownership unless running as root
>
>

Thanks Ohad, that sorted the "environment=" errors, how about the errors 
below?

Thu Dec 18 17:55:17 +1100 2008 
/Settings[/etc/puppet/puppet.conf]/Settings[rails]/File[/var/lib/puppet/state/clientconfigs.sqlite3]/owner
 
(warning): Cannot manage ownership unless running as root
Thu Dec 18 17:55:17 +1100 2008 
/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/var/log/puppet/puppetmaster.log]/owner
 
(warning): Cannot manage ownership unless running as root
Thu Dec 18 17:55:17 +1100 2008 
/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/var/lib/puppet/yaml]/owner
 
(warning): Cannot manage ownership unless running as root
Thu Dec 18 17:55:17 +1100 2008 
/Settings[/etc/puppet/puppet.conf]/Settings[rails]/File[/var/log/puppet/rails.log]/owner
 
(warning): Cannot manage ownership unless running as root
Thu Dec 18 17:55:17 +1100 2008 
/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/var/log/puppet/masterhttp.log]/owner
 
(warning): Cannot manage ownership unless running as root
Thu Dec 18 17:55:17 +1100 2008 
/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/opt/puppet/bucket]/owner
 
(warning): Cannot manage ownership unless running as root

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to