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]>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
>
> My puppet.conf looks like:
>
> [main]
>    modulepath = /opt/puppet/modules:/usr/share/puppet/modules
>    masterlog = $logdir/puppetmaster.log
>    manifestdir = /opt/puppet/manifests
>    bucketdir = /opt/puppet/bucket
>    autoflush = true
>    logdir = /var/log/puppet
>    ssldir = $vardir/ssl
>    factpath = $vardir/lib/facter
>    vardir = /var/lib/puppet
>    rundir = /var/run/puppet
>    pluginsync = true
>    certdnsnames = puppet:< removed >
>    report = true
>    configtimeout = 300
>    puppetdlog = $logdir/puppetd.log
>    splaylimit = 1800
>    splay = true
>    runinterval = 3600
>    ca_port = 8145
> [puppetmasterd]
>    storeconfigs = true
>    dbadapter = mysql
>    dbname = puppet
>    dbuser = puppet
>    dbpassword = < removed >
>    dbserver = localhost
>    dbsocket = /var/lib/mysql/mysql.sock
>    reports = store,tagmail
>    ssl_client_header = HTTP_X_SSL_SUBJECT
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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