Bug #2901
numerous issues with puppetmaster 0.25.1 and passenger (2.2.2, 2.2.7)
| Status: | Investigating | Start: | 12/08/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | passenger | |||
| Target version: | 0.25.6 | |||
| Affected version: | 0.25.1 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
attached my current configuration (mod_passenger, puppet.conf).
below are problems encountered. none of them exists with webrick configuration, however support for webrick should be removed as it doesn’t handle multiple server connections.
(1) problem with stored configs and postgres. applying fix from #2880 did no change here.
Dec 8 14:34:05 punch puppetmasterd[741]: Cached facts for puppet.looney.acme.com failed: PGError: no connection to the server Dec 8 14:34:05 punch puppetmasterd[741]: Could not retrieve facts for puppet.looney.acme.com: PGError: no connection to the server Dec 8 14:34:06 punch puppetmasterd[741]: Cached facts for puppet.looney.acme.com failed: PGError: no connection to the server Dec 8 14:34:06 punch puppetmasterd[741]: Could not retrieve facts for puppet.looney.acme.com: PGError: no connection to the server Dec 8 14:34:06 punch puppetmasterd[741]: Cached facts for puppet.looney.acme.com failed: PGError: no connection to the server Dec 8 14:34:06 punch puppetmasterd[741]: Could not retrieve facts for puppet.looney.acme.com: PGError: no connection to the server Dec 8 14:34:06 punch puppetmasterd[741]: Cached facts for puppet.looney.acme.com failed: PGError: no connection to the server Dec 8 14:34:06 punch puppetmasterd[741]: Could not retrieve facts for puppet.looney.acme.com: PGError: no connection to the server
(2) similiar issue with sqlite3:
Dec 8 16:40:46 punch puppetmasterd[13613]: SQLite3::BusyException: database is locked: INSERT INTO "hosts" ("name", "last_report", "created_at", "updated_at", "ip", "last_freshcheck", "environment", "sou
ce_file_id", "last_compile") VALUES('roadrunner.looney.acme.com', NULL, '2009-12-08 16:40:46', '2009-12-08 16:40:46', NULL, NULL, NULL, NULL, NULL)
have not tried mysql.
(3) “unathenticated” messages:
Dec 8 16:43:39 punch puppetmasterd[13530]: Denying access: Forbidden request: puppet.looney.acme.com(10.0.4.2) access to /catalog/roadrunner.looney.acme.com [find] authenticated at line 0
(4) numerous random “cannot find resource” (defined and included from modules) – not repeating on successive run:
Dec 8 16:55:22 punch puppetmasterd[19953]: Could not find resource type mysql::db::create at /etc/puppet/site/manifests/nodes.pp:2022 on node donald.looney.acme.com Dec 8 16:55:22 punch puppetmasterd[19953]: Could not find resource type mysql::db::create at /etc/puppet/site/manifests/nodes.pp:2022 on node donald.looney.acme.com Dec 8 16:55:25 punch puppetmasterd[19878]: Could not find resource type mysql::db::slowcheck at /etc/puppet/site/manifests/nodes.pp:1953 on node mickey.looney.acme.com Dec 8 16:55:25 punch puppetmasterd[19878]: Could not find resource type mysql::db::slowcheck at /etc/puppet/site/manifests/nodes.pp:1953 on node mickey.looney.acme.com Dec 8 16:58:37 punch puppetmasterd[25891]: Could not find class apache::server at /etc/puppet/site/manifests/nodes.pp:1793 on node jerry.looney.acme.com Dec 8 16:58:37 punch puppetmasterd[25891]: Could not find class apache::server at /etc/puppet/site/manifests/nodes.pp:1793 on node jerry.looney.acme.com Dec 8 17:56:04 punch puppetmasterd[14169]: Could not find class java::jdk in namespaces baseclass_jetty at /etc/puppet/site/manifests/nodes.pp:2232 on node bunny.looney.acme.com Dec 8 17:56:04 punch puppetmasterd[14169]: Could not find class java::jdk in namespaces baseclass_jetty at /etc/puppet/site/manifests/nodes.pp:2232 on node bunny.looney.acme.com
(5) spontanous “fileserver module not mounted”:
Dec 8 16:55:29 punch puppetmasterd[20284]: Fileserver module 'sudo' not mounted Dec 8 16:55:29 punch puppetmasterd[20284]: Fileserver module 'denyhosts' not mounted Dec 8 16:55:29 punch puppetmasterd[20284]: Fileserver module 'ntp' not mounted Dec 8 16:55:29 punch puppetmasterd[20469]: Fileserver module 'puppet' not mounted Dec 8 16:55:29 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:29 punch puppetmasterd[20284]: Fileserver module 'yum' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'bacula' not mounted Dec 8 16:55:30 punch puppetmasterd[20028]: Fileserver module 'bacula' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20028]: Fileserver module 'denyhosts' not mounted Dec 8 16:55:30 punch puppetmasterd[20028]: Fileserver module 'nagios' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'nagios' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'mysql' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'puppet' not mounted Dec 8 16:55:30 punch puppetmasterd[20284]: Fileserver module 'yum' not mounted Dec 8 16:55:31 punch puppetmasterd[20284]: Fileserver module 'sudo' not mounted
(6) there is apparently no way to make puppetd use keepalive. for that reason each fileserver request is made in separate http connection, thus causing more passenger thread load. plus it applies incomplete manifests if one of threads responds with one of the error listed above and another succeeds.
(7) virtually no problems manifests itself on 1st run after i start passenger. they all seem to be caused by connection pooling (reusing existing spawned applications).
History
Updated by konrad rzentarzewski 9 months ago
- Category set to passenger
- Priority changed from Normal to High
Updated by James Turnbull 9 months ago
- Status changed from Unreviewed to Investigating
- Priority changed from High to Normal
Which bugs appear with which Passenger version? All with both? Some with 2.2.2 and some with 2.2.7?
Updated by konrad rzentarzewski 9 months ago
i’ve been trying to mitigate them mostly on 2.2.7, but then read #2386 and downgraded to 2.2.2 – at least (1) + (2) + (3) + (4) also appeared here…
Updated by James Turnbull 9 months ago
Any comments Christian?
Updated by konrad rzentarzewski 9 months ago
how it goes really bad – 5 consecutive runs from the same client. those were served by 1 or maximum 2 of passenger threads (passenger 2.2.2).
[root@tweetie puppet]# while true ; do puppetd --test ; echo --- ; sleep 10 ; done notice: Ignoring --listen on onetime run info: Retrieving plugin info: Loading facts in passenger_version info: Loading facts in mounts info: Loading facts in passenger_version info: Loading facts in mounts info: Caching catalog for tweetie.looney.acme.com info: Applying configuration version '1260309419' notice: Finished catalog run in 13.24 seconds --- notice: Ignoring --listen on onetime run info: Retrieving plugin err: /File[/var/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet/plugins notice: /File[/var/puppet/lib/facter]: Dependency file[/var/puppet/lib] has 1 failures warning: /File[/var/puppet/lib/facter]: Skipping because of failed dependencies notice: /File[/var/puppet/lib/facter/mounts.rb]: Dependency file[/var/puppet/lib] has 1 failures warning: /File[/var/puppet/lib/facter/mounts.rb]: Skipping because of failed dependencies notice: /File[/var/puppet/lib/facter/passenger_version.rb]: Dependency file[/var/puppet/lib] has 1 failures warning: /File[/var/puppet/lib/facter/passenger_version.rb]: Skipping because of failed dependencies info: Loading facts in passenger_version info: Loading facts in mounts info: Loading facts in passenger_version info: Loading facts in mounts err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class user at /etc/puppet/site/manifests/nodes.pp:2263 on node tweetie.looney.acme.com warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run --- notice: Ignoring --listen on onetime run info: Retrieving plugin info: Loading facts in passenger_version info: Loading facts in mounts info: Loading facts in passenger_version info: Loading facts in mounts err: Could not retrieve catalog from remote server: Error 400 on SERVER: database is locked warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run --- notice: Ignoring --listen on onetime run info: Retrieving plugin info: Loading facts in passenger_version info: Loading facts in mounts info: Loading facts in passenger_version info: Loading facts in mounts info: Caching catalog for tweetie.looney.acme.com info: Applying configuration version '1260309477' notice: Finished catalog run in 13.13 seconds --- notice: Ignoring --listen on onetime run info: Retrieving plugin info: Loading facts in passenger_version info: Loading facts in mounts info: Loading facts in passenger_version info: Loading facts in mounts info: Caching catalog for tweetie.looney.acme.com info: Applying configuration version '1260309458' err: //nagios::check::puppet/File[check_puppet]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/nagios/check_puppet Could not retrieve fil2 err: //ntp/File[/etc/ntpd.conf]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/ntp/tweetie/conf Could not retrieve file metadata for puppet:6 notice: //ntp/Service[ntpd]: Dependency file[/etc/ntpd.conf] has 1 failures warning: //ntp/Service[ntpd]: Skipping because of failed dependencies err: //puppet::puppet/File[/etc/init.d/puppet]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/puppet/puppet.init Could not retrieve file 8 err: //snmp/File[/etc/snmp/snmpd.conf]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/snmp/tweetie/snmpd.conf Could not retrieve file metada5 err: //denyhosts/File[/var/lib/denyhosts/allowed-hosts]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/denyhosts/allowed-hosts Could not 5 notice: //denyhosts/Service[denyhosts]: Dependency file[/var/lib/denyhosts/allowed-hosts] has 1 failures warning: //denyhosts/Service[denyhosts]: Skipping because of failed dependencies err: //sudo/File[sudoers]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/sudo/tweetie/sudoers Could not retrieve file metadata for puppet://7 err: //yum::epel/File[/var/tmp/epel.asc]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/yum/epel.asc Could not retrieve file metadata for0 notice: //yum::epel/Yumrepo[epel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //yum::epel/Yumrepo[epel]: Skipping because of failed dependencies notice: //puppet::puppet/Package[augeas]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //puppet::puppet/Package[augeas]: Skipping because of failed dependencies notice: //ruby::rails/Package[rubygem-mongrel_cluster]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Package[rubygem-mongrel_cluster]: Skipping because of failed dependencies notice: //ruby::gem/Package[gcc]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem/Package[gcc]: Skipping because of failed dependencies notice: //ruby::gem::prereq-rmagick/Package[freetype-devel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::prereq-rmagick/Package[freetype-devel]: Skipping because of failed dependencies notice: //ruby::gem::prereq-mechanize/Package[libxml2-devel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::prereq-mechanize/Package[libxml2-devel]: Skipping because of failed dependencies notice: //ruby::gem::prereq-mysql/Package[mysql-devel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::prereq-mysql/Package[mysql-devel]: Skipping because of failed dependencies notice: //ruby::gem::prereq-mechanize/Package[libxslt-devel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::prereq-mechanize/Package[libxslt-devel]: Skipping because of failed dependencies notice: //ruby::gem::prereq-rmagick/Package[msttcorefonts]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::prereq-rmagick/Package[msttcorefonts]: Skipping because of failed dependencies notice: //ruby::gem::prereq-rmagick/Package[ImageMagick-devel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::prereq-rmagick/Package[ImageMagick-devel]: Skipping because of failed dependencies notice: //puppet::puppet/Package[ruby-shadow]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //puppet::puppet/Package[ruby-shadow]: Skipping because of failed dependencies notice: //puppet::puppet/Package[puppet]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //puppet::puppet/Package[puppet]: Skipping because of failed dependencies notice: //puppet::puppet/Cron[puppet]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //puppet::puppet/Cron[puppet]: Skipping because of failed dependencies notice: //ruby::gem/Package[ruby-devel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem/Package[ruby-devel]: Skipping because of failed dependencies notice: //ruby::rails/Package[rubygem-mongrel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Package[rubygem-mongrel]: Skipping because of failed dependencies notice: //ruby::rails/Package[rubygem-fastthread]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Package[rubygem-fastthread]: Skipping because of failed dependencies notice: //ruby::rails/Package[rubygem-rails]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Package[rubygem-rails]: Skipping because of failed dependencies notice: //ruby::gem/Package[rubygems]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem/Package[rubygems]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[daemons]/Exec[install-daemons-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[daemons]/Exec[install-daemons-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[hpricot]/Exec[install-hpricot-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[hpricot]/Exec[install-hpricot-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[rspec]/Exec[install-rspec-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[rspec]/Exec[install-rspec-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[will_paginate]/Exec[install-will_paginate-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[will_paginate]/Exec[install-will_paginate-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[gem_plugin]/Exec[install-gem_plugin-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[gem_plugin]/Exec[install-gem_plugin-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[rake]/Exec[install-rake-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[rake]/Exec[install-rake-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[rufus-scheduler]/Exec[install-rufus-scheduler-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[rufus-scheduler]/Exec[install-rufus-scheduler-gem]: Skipping because of failed dependencies notice: //ruby::gem::rmagick/Ruby::Gem::Install[rmagick]/Exec[install-rmagick-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::rmagick/Ruby::Gem::Install[rmagick]/Exec[install-rmagick-gem]: Skipping because of failed dependencies notice: //ruby::gem::mysql/Ruby::Gem::Install[mysql]/Exec[install-mysql-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::mysql/Ruby::Gem::Install[mysql]/Exec[install-mysql-gem]: Skipping because of failed dependencies notice: //ruby::rails/Ruby::Gem::Install[cgi_multipart_eof_fix]/Exec[install-cgi_multipart_eof_fix-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Ruby::Gem::Install[cgi_multipart_eof_fix]/Exec[install-cgi_multipart_eof_fix-gem]: Skipping because of failed dependencies notice: //ruby::gem::mechanize/Ruby::Gem::Install[mechanize]/Exec[install-mechanize-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::mechanize/Ruby::Gem::Install[mechanize]/Exec[install-mechanize-gem]: Skipping because of failed dependencies err: //nagios::check::puppet/File[monitor_puppet]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/puppet/monitor.py Could not retrieve fil2 err: //puppet::puppet/File[/etc/sysconfig/puppet]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/puppet/sysconfig Could not retrieve file7 err: //ruby::passenger/File[/etc/init.d/passenger]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/ruby/passenger.init Could not retrieve 0 notice: //yum/Exec[yum_clean]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //yum/Exec[yum_clean]: Skipping because of failed dependencies err: //ruby::rails/File[/etc/logrotate.d/mongrel]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/ruby/logrotate Could not retrieve file m1 notice: //ruby::rails/Service[mongrel]: Dependency file[/etc/logrotate.d/mongrel] has 1 failures notice: //ruby::rails/Service[mongrel]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::rails/Service[mongrel]: Skipping because of failed dependencies err: //denyhosts/File[/usr/share/denyhosts/data/allowed-hosts]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/denyhosts/allowed-hosts Cou7 err: //denyhosts/File[/usr/share/denyhosts/data/restricted-usernames]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/denyhosts/restricted2 err: //snmp/File[jvm.mib]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/snmp/JVM-MANAGEMENT-MIB.mib Could not retrieve file metadata for5 notice: //snmp/Service[snmpd]: Dependency file[/usr/share/snmp/mibs/JVM-MANAGEMENT-MIB.txt] has 1 failures notice: //snmp/Service[snmpd]: Dependency file[/etc/snmp/snmpd.conf] has 1 failures warning: //snmp/Service[snmpd]: Skipping because of failed dependencies err: //yum::endpoint/File[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/yum/endpoint.asc Could no5 notice: //yum::endpoint/Exec[endpoint_import]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //yum::endpoint/Exec[endpoint_import]: Skipping because of failed dependencies notice: //yum::endpoint/Yumrepo[endpoint]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //yum::endpoint/Yumrepo[endpoint]: Skipping because of failed dependencies notice: //ruby::enterprise/Package[ruby-enterprise-rubygems]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //ruby::enterprise/Package[ruby-enterprise-rubygems]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rufus-scheduler]/Exec[install-rufus-scheduler-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rufus-scheduler]/Exec[install-rufus-scheduler-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[rufus-scheduler]/Exec[install-rufus-scheduler-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rake]/Exec[install-rake-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rake]/Exec[install-rake-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[rake]/Exec[install-rake-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[hpricot]/Exec[install-hpricot-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[hpricot]/Exec[install-hpricot-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[hpricot]/Exec[install-hpricot-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[daemons]/Exec[install-daemons-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[daemons]/Exec[install-daemons-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[daemons]/Exec[install-daemons-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[gem_plugin]/Exec[install-gem_plugin-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[gem_plugin]/Exec[install-gem_plugin-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[gem_plugin]/Exec[install-gem_plugin-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rspec]/Exec[install-rspec-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rspec]/Exec[install-rspec-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[rspec]/Exec[install-rspec-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[cgi_multipart_eof_fix]/Exec[install-cgi_multipart_eof_fix-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[cgi_multipart_eof_fix]/Exec[install-cgi_multipart_eof_fix-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[cgi_multipart_eof_fix]/Exec[install-cgi_multipart_eof_fix-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rails]/Exec[install-rails-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[rails]/Exec[install-rails-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[rails]/Exec[install-rails-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Ruby::Gem::Enterprise-install[will_paginate]/Exec[install-will_paginate-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Ruby::Gem::Enterprise-install[will_paginate]/Exec[install-will_paginate-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::passenger/Ruby::Gem::Enterprise-install[will_paginate]/Exec[install-will_paginate-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::enterprise/Package[ruby-enterprise]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //ruby::enterprise/Package[ruby-enterprise]: Skipping because of failed dependencies notice: //ruby::gem::enterprise-rmagick/Ruby::Gem::Enterprise-install[rmagick]/Exec[install-rmagick-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::gem::enterprise-rmagick/Ruby::Gem::Enterprise-install[rmagick]/Exec[install-rmagick-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::enterprise-rmagick/Ruby::Gem::Enterprise-install[rmagick]/Exec[install-rmagick-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::gem::enterprise-mechanize/Ruby::Gem::Enterprise-install[mechanize]/Exec[install-mechanize-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::gem::enterprise-mechanize/Ruby::Gem::Enterprise-install[mechanize]/Exec[install-mechanize-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::enterprise-mechanize/Ruby::Gem::Enterprise-install[mechanize]/Exec[install-mechanize-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::gem::enterprise-mysql/Ruby::Gem::Enterprise-install[mysql]/Exec[install-mysql-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::gem::enterprise-mysql/Ruby::Gem::Enterprise-install[mysql]/Exec[install-mysql-enterprise-gem]: Dependency file[/var/tmp/epel.asc] has 1 failures warning: //ruby::gem::enterprise-mysql/Ruby::Gem::Enterprise-install[mysql]/Exec[install-mysql-enterprise-gem]: Skipping because of failed dependencies err: //puppet::puppet/File[/etc/puppet/puppetd.conf]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/puppet/tweetie/puppetd.conf Could not re8 notice: //puppet::puppet/Service[puppet]: Dependency file[/var/tmp/epel.asc] has 1 failures notice: //puppet::puppet/Service[puppet]: Dependency file[/etc/puppet/puppetd.conf] has 1 failures notice: //puppet::puppet/Service[puppet]: Dependency file[/etc/init.d/puppet] has 1 failures notice: //puppet::puppet/Service[puppet]: Dependency file[/etc/sysconfig/puppet] has 1 failures warning: //puppet::puppet/Service[puppet]: Skipping because of failed dependencies notice: //ruby::passenger/Exec[install-passenger-enterprise-gem]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //ruby::passenger/Exec[install-passenger-enterprise-gem]: Skipping because of failed dependencies notice: //ruby::passenger/Exec[mod_passenger_build]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //ruby::passenger/Exec[mod_passenger_build]: Skipping because of failed dependencies notice: //ruby::passenger/File[/etc/httpd/conf.d/mod_passenger.conf]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures warning: //ruby::passenger/File[/etc/httpd/conf.d/mod_passenger.conf]: Skipping because of failed dependencies notice: //ruby::passenger/Service[passenger]: Dependency file[/etc/pki/rpm-gpg/RPM-GPG-KEY-endpoint] has 1 failures notice: //ruby::passenger/Service[passenger]: Dependency file[/etc/logrotate.d/mongrel] has 1 failures notice: //ruby::passenger/Service[passenger]: Dependency file[/var/tmp/epel.asc] has 1 failures notice: //ruby::passenger/Service[passenger]: Dependency file[/etc/init.d/passenger] has 1 failures warning: //ruby::passenger/Service[passenger]: Skipping because of failed dependencies notice: Finished catalog run in 5.19 seconds
Updated by Christian Hofstaedtler 9 months ago
All the auth problems should go away with http://github.com/reductivelabs/puppet/commit/c702f76b271515e9c42dcb923d379fbfac4c83cd applied.
Issue 1 looks like an AR problem which I don’t know lots about Issue 2 looks like sqlite and many connections Issue 3 – see above Issue 4 looks like a load order problem Issue 5 may also be because of failing auth Issue 6 – yeah. Filing a feature request may be useful.
Updated by konrad rzentarzewski 9 months ago
(1) – should i report it to rails? (2) – shouldn’t this exception be handled (ie. wait and retry until timeout)? (3) – is it going to be released (0.25.2) or should we update a wiki with instructions on syncing and patching from github? (4) – yeah, i’m not sure about it. in 0.24.8 it used to work when you had some define() in module and calling it straight (but 0.24.8 refused to work with passenger at all). in 0.25.1 i need to call “include module” and then “module::some::define{}”. is it bug or feature?
Updated by konrad rzentarzewski 9 months ago
for (6) i’ve added #2906
Updated by konrad rzentarzewski 9 months ago
(1) + (2) i’ve switched to mysql. it seems to be only working backend for stored configs. (3) sorry, c702f76b271515e9c42dcb923d379fbfac4c83cd is already applied in 0.25.1 – no change here.
any more ideas?
Updated by Christian Hofstaedtler 9 months ago
Sorry, the correct commit is this one: http://github.com/reductivelabs/puppet/commit/5ed2e2619fc366a9ea1e1b9866da055ba0cd57aa
Updated by konrad rzentarzewski 9 months ago
(5) well… no. this is seconds after i applied reversed patch and restarted:
Dec 11 00:00:03 punch puppetmasterd[7867]: Fileserver module 'pki' not mounted Dec 11 00:00:03 punch puppetmasterd[7867]: Fileserver module 'syslog' not mounted Dec 11 00:00:04 punch puppetmasterd[7867]: Fileserver module 'denyhosts' not mounted Dec 11 00:00:04 punch puppetmasterd[7867]: Fileserver module 'denyhosts' not mounted Dec 11 00:00:04 punch puppetmasterd[7867]: Fileserver module 'denyhosts' not mounted Dec 11 00:00:04 punch puppetmasterd[7867]: Fileserver module 'denyhosts' not mounted Dec 11 00:00:04 punch puppetmasterd[7867]: Fileserver module 'pki' not mounted
(both passenger 2.2.2 and 2.2.7)
Updated by Christian Hofstaedtler 9 months ago
But is the auth problem gone now?
Updated by Christian Hofstaedtler 9 months ago
Some questions about the fileserver stuff:
Also, can you specify when exactly these fileserver messages are coming up, and if this happens for all, for only one, for specific clients and modules? Are the affected modules distributed across your environments? If yes, how? Why do you have environment=puppet in your config? Do you have an environment called “puppet” (not seeing it in the config)?
Updated by konrad rzentarzewski 9 months ago
yes, auth problems are gone, however “not mounted” errors are ocurring frequently (at least on 50% of runs). it happens on all clients (i have mixed 0.24.8 and 0.25.1 clients), randomly on all of modules in manifests (i think). i think it never happens on 1st connection to passenger after restarting it. example – from client’s POV:
[root@test ~]# puppetd --version 0.24.8 [root@test ~]# puppetd --test info: Loading fact mounts notice: Ignoring --listen on onetime run info: Retrieving plugins notice: /File[/var/lib/puppet/lib]/mode: mode changed '755' to '775' notice: /File[/var/lib/puppet/lib/facter]/mode: mode changed '755' to '775' info: Loading fact mounts info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run notice: //puppet::puppet/File[/var/lib/puppet/lib]/mode: mode changed '775' to '755' notice: //puppet::puppet/File[/var/lib/puppet/lib/facter]/mode: mode changed '775' to '755' err: //ha::haproxy/File[/etc/haproxy/err503-x1.http]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/fwlb/err503-x1.http: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:133 err: //ha::haproxy/File[/etc/haproxy/err503-x2.http]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/fwlb/err503-x2.http: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:213 err: //ha::haproxy/File[/etc/haproxy/err503-x3.http]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/fwlb/err503-x3.http: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:196 err: //ha::haproxy/File[/etc/haproxy/err503-x4.http]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/fwlb/err503-x4.http: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:187 err: //ha::haproxy/File[/etc/haproxy/err503-x5.http]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/fwlb/err503-x5.http: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:124 err: //ha::haproxy/File[/etc/haproxy/err503-x6.http]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/fwlb/err503-x6.http: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:204 notice: //ha::haproxy/Service[haproxy]: Dependency file[/etc/haproxy/err503-x1.http] has 1 failures notice: //ha::haproxy/Service[haproxy]: Dependency file[/etc/haproxy/err503-x2.http] has 1 failures notice: //ha::haproxy/Service[haproxy]: Dependency file[/etc/haproxy/err503-x3.http] has 1 failures notice: //ha::haproxy/Service[haproxy]: Dependency file[/etc/haproxy/err503-x4.http] has 1 failures notice: //ha::haproxy/Service[haproxy]: Dependency file[/etc/haproxy/err503-x5.http] has 1 failures notice: //ha::haproxy/Service[haproxy]: Dependency file[/etc/haproxy/err503-x6.http] has 1 failures warning: //ha::haproxy/Service[haproxy]: Skipping because of failed dependencies err: //puppet::puppet/File[/etc/sysconfig/puppet]: Failed to retrieve current state of resource: Fileserver module 'puppet' not mounted Could not describe /puppet/sysconfig: Fileserver module 'puppet' not mounted at /etc/puppet/site/modules/puppet/manifests/init.pp:57 err: //nagios::check::pacemaker/File[check_xml]: Failed to retrieve current state of resource: Fileserver module 'nagios' not mounted Could not describe /nagios/check.xsl: Fileserver module 'nagios' not mounted at /etc/puppet/site/modules/nagios/manifests/init.pp:750 err: //nagios::check::pacemaker/File[config_xml]: Failed to retrieve current state of resource: Fileserver module 'nagios' not mounted Could not describe /nagios/test/config.xml: Fileserver module 'nagios' not mounted at /etc/puppet/site/modules/nagios/manifests/init.pp:760 notice: //nagios::check::pacemaker/File[check_pacemaker]: Dependency file[/usr/local/lib/config.xml] has 1 failures notice: //nagios::check::pacemaker/File[check_pacemaker]: Dependency file[/usr/local/lib/check.xsl] has 1 failures warning: //nagios::check::pacemaker/File[check_pacemaker]: Skipping because of failed dependencies err: //ha::varnish/File[/etc/varnish/default.vcl]: Failed to retrieve current state of resource: Fileserver module 'ha' not mounted Could not describe /ha/test/default.vcl: Fileserver module 'ha' not mounted at /etc/puppet/site/modules/ha/manifests/init.pp:290 notice: //ha::varnish/Service[varnish]: Dependency file[/etc/varnish/default.vcl] has 1 failures warning: //ha::varnish/Service[varnish]: Skipping because of failed dependencies err: //bacula::fd/File[/etc/bacula/pki/test-fd.pem]: Failed to retrieve current state of resource: Fileserver module 'bacula' not mounted Could not describe /bacula/test/fd.pem: Fileserver module 'bacula' not mounted at /etc/puppet/site/modules/bacula/manifests/init.pp:123 notice: //bacula::fd/Service[bacula-fd]: Dependency file[/etc/bacula/pki/test-fd.pem] has 1 failures warning: //bacula::fd/Service[bacula-fd]: Skipping because of failed dependencies notice: //bacula::fd/File[/etc/bacula/pki/test.non.3dart.com-fd.pem]: Dependency file[/etc/bacula/pki/test-fd.pem] has 1 failures warning: //bacula::fd/File[/etc/bacula/pki/test.non.3dart.com-fd.pem]: Skipping because of failed dependencies err: //bacula::fd/File[/etc/bacula/pki/master.cert]: Failed to retrieve current state of resource: Fileserver module 'bacula' not mounted Could not describe /bacula/master.pem: Fileserver module 'bacula' not mounted at /etc/puppet/site/modules/bacula/manifests/init.pp:116 err: //nagios::check::puppet/File[monitor_puppet]: Failed to retrieve current state of resource: Fileserver module 'puppet' not mounted Could not describe /puppet/monitor.py: Fileserver module 'puppet' not mounted at /etc/puppet/site/modules/nagios/manifests/init.pp:692 notice: //puppet::puppet/Service[puppet]: Dependency file[/etc/sysconfig/puppet] has 1 failures warning: //puppet::puppet/Service[puppet]: Skipping because of failed dependencies info: Sent transaction report in 0.26 seconds notice: Finished catalog run in 11.38 seconds
from puppetmaster POV:
Dec 14 16:28:31 punch puppetmasterd[3361]: Starting Puppet server version 0.25.1 Dec 14 16:28:31 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:31 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:31 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:31 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'puppet' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'nagios' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'nagios' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'ha' not mounted Dec 14 16:28:32 punch puppetmasterd[3361]: Fileserver module 'bacula' not mounted Dec 14 16:28:33 punch puppetmasterd[3361]: Fileserver module 'bacula' not mounted Dec 14 16:28:33 punch puppetmasterd[3361]: Fileserver module 'puppet' not mounted Dec 14 16:28:33 punch puppetmasterd[3361]: No report named 'log #' Dec 14 16:28:33 punch puppetmasterd[3361]: RRD library is missing; cannot store metrics Dec 14 16:28:33 punch puppetmasterd[3361]: RRD library is missing; cannot graph metrics Dec 14 16:28:33 punch puppetmasterd[3361]: RRD library is missing; cannot store metrics Dec 14 16:28:33 punch puppetmasterd[3361]: RRD library is missing; cannot graph metrics Dec 14 16:28:33 punch puppetmasterd[3361]: RRD library is missing; cannot store metrics Dec 14 16:28:33 punch puppetmasterd[3361]: RRD library is missing; cannot graph metrics Dec 14 16:28:33 punch puppetmasterd[3361]: Report rrdgraph failed: Could not find graphs for daily
yes, there is “puppet” environment defined in my puppet.conf, and at this time it’s the same as main/production (ie. all modules are identical in all environments where clients belong).
[puppet]
manifest = /etc/puppet/site/manifests/site.pp
modulepath = /etc/puppet/site/modules
Updated by konrad rzentarzewski 9 months ago
is it possible that modulepath is being defaulted on successive rack puppetmaster runs? i think @ln -s /etc/puppet/site/modules /etc/puppet/modules@ stopped those from occuring (50 puppet runs on test client, no single fileserver error, no errors in puppetmaster log from other 50-few clients).
Updated by Markus Roberts 9 months ago
- Assignee set to Jesse Wolfe
- Target version set to 0.25.3
Updated by konrad rzentarzewski 8 months ago
is anybody working on it or we should move towards mongrel?
Updated by Markus Roberts 8 months ago
Konrad —
Yes, though as Christian noted above (and as the title suggests) this ticket is really a collection of only partially related issues. To keep from getting bogged down we tend to peel off specific points from such tickets and resolve them separately, and over time the initial ticket doesn’t see as much activity. That’s what’s happening here. We hope to have several of the points addressed in 0.25.2 (expected in the next day or so; 0.25.2rc3 is available for testing now) except for those (like sqlite’s problems with multiple users) which are beyond our scope.
This ticket has been marked for review in the 0.25.3 process to make sure no issues fell through the cracks; if any did, separate tickets will be opened for them and this ticket will be updated to reflect the related tickets, then probably closed.
— Markus
Updated by konrad rzentarzewski 8 months ago
i’m perfectly ok with tracking individual tickets, however i cannot see any “related tickets” list or section here.
Updated by Mario Verbelen 8 months ago
- Affected version changed from 0.25.1 to 0.25.2
I have 0.25.2 running with passenger 2.2.5
err: //nscd/File[/etc/nscd.conf]: Failed to retrieve current state of resource: Error 400 on SERVER: Not authorized to call find on /file_metadata/nscd/nscd.conf Could not retrieve file metadata for puppet:///nscd/nscd.conf: Error 400 on SERVER: Not authorized to call find on /file_metadata/nscd/nscd.conf at /data/puppet/trunk/puppet/modules/global/nscd/manifests/init.pp:7
The errors are gone if I create a symlink like konrad say’s,
ln -s /data/puppet/trunk/puppet/modules/global/ /etc/puppet/modules
puppet.conf
[main] manifest=/etc/puppet/manifests/default/site.pp modulepath=/data/puppet/trunk/puppet/modules/global:/data/puppet/trunk/puppet/modules/default
Updated by Mario Verbelen 8 months ago
- Affected version changed from 0.25.2 to 0.25.1
(ssry for the affected version change I place it back to 0.25.1)
I just found out that when you place modules (or symlink) to /etc/puppet/modules that puppetmaster will do a auto-import so when I placed import “module” into the site config it also finds the modules on custom locations (even when defined modulepath)
So I can continue with import “module”
Updated by Markus Roberts 8 months ago
- Target version changed from 0.25.3 to 0.25.4
Updated by James Turnbull 8 months ago
- Target version changed from 0.25.4 to 0.25.5
Updated by James Turnbull 5 months ago
- Target version changed from 0.25.5 to 0.25.6