Well, it seems I didn't have to. After reboot (and automatic start
puppetmasterd as a daemon) the database miraculously appeared. The
storedconfigs still didn't work, and puppetmasterd complained (in a
very verbose way) something about insufficient permission. So chowned
the sqlite database for user puppet.

It must have helped a little, since now I have got other error. Same
setup, as in previous mail.

on puppetclient:
# puppetd --server puppet.domain.com --test
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)
puppet://puppet.domain.com/plugins
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: SQLite3::SQLException: unable to open database file: INSERT
INTO "hosts" ("name", "last_report", "created_at", "updated_at", "ip",
"last_freshcheck", "environment", "source_file_id", "last_compile")
VALUES('puppetclient.domain.com', NULL, '2009-11-19 17:27:41',
'2009-11-19 17:27:41', NULL, NULL, NULL, NULL, NULL)
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

on puppet:
# puppetmasterd --no-daemonize --verbose
notice: Starting Puppet server version 0.25.1
info: access[^/catalog/([^/]+)$]: allowing 'method' find
info: access[^/catalog/([^/]+)$]: allowing $1 access
info: access[/certificate_revocation_list/ca]: allowing 'method' find
info: access[/certificate_revocation_list/ca]: allowing * access
info: access[/report]: allowing 'method' save
info: access[/report]: allowing * access
info: access[/file]: allowing * access
info: access[/certificate/ca]: adding authentication no
info: access[/certificate/ca]: allowing 'method' find
info: access[/certificate/ca]: allowing * access
info: access[/certificate/]: adding authentication no
info: access[/certificate/]: allowing 'method' find
info: access[/certificate/]: allowing * access
info: access[/certificate_request]: adding authentication no
info: access[/certificate_request]: allowing 'method' find
info: access[/certificate_request]: allowing 'method' save
info: access[/certificate_request]: allowing * access
info: access[/]: adding authentication any
info: Could not find filesystem info for file 'plugins' in environment
production
DEPRECATION WARNING: Please update config/database.yml to use
'database' instead of 'dbfile'. (called from parse_sqlite_config! at /
var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/sqlite_adapter.rb:35)
err: SQLite3::SQLException: unable to open database file: INSERT INTO
"hosts" ("name", "last_report", "created_at", "updated_at", "ip",
"last_freshcheck", "environment", "source_file_id", "last_compile")
VALUES('puppetclient.domain.com', NULL, '2009-11-19 17:27:41',
'2009-11-19 17:27:41', NULL, NULL, NULL, NULL, NULL)

Can anyone tell me, what I need to do to get stored configs working?

Actually, at the moment I don't need to have the storedconfigs be
specifically backed by sqlite3. It can be anything, I simply choose
sqlite3 because I thought it would be easier...

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=.


Reply via email to