Bug #2583

400 error on server occurs

Added by Lawrence Ludwig over 2 years ago. Updated over 2 years ago.

Status:Rejected Start date:09/02/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:0.25.0
Affected Puppet version:0.25.0rc1 Branch:
Keywords:
Votes: 0

Description

Every few times I see a “Failed to retrieve current state of resource: Error 400 on SERVER: Bad Request Could not retrieve file metadata” on puppetd. This occurs infrequently after say a few times. The output below the puppetd were run milliseconds after each other. The puppetd ran fine over 20 times before the failure.

[root@centos53-64-puppet puppet]# puppetd --verbose --trace --debug --logdest console --no-daemonize --onetime
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/public_keys/centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/certs/centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private_keys/centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/csr_centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: Finishing transaction 23577151391780 with 0 changes
debug: Using cached certificate for ca
debug: Using cached certificate for centos53-64-puppet.test
debug: Loaded state in 0.00 seconds
debug: Using cached certificate for ca
debug: Using cached certificate for centos53-64-puppet.test
debug: Using cached certificate_revocation_list for ca
debug: Puppet::Network::Format[json]: false value when expecting true
debug: Format s not supported for Puppet::Resource::Catalog; has not implemented method 'from_s'
info: Caching catalog for centos53-64-puppet.test
debug: Loaded state in 0.00 seconds
info: Applying configuration version '1251911852'
debug: Puppet::Network::Format[json]: false value when expecting true
debug: Format s not supported for Puppet::FileServing::Metadata; has not implemented method 'from_s'
debug: Finishing transaction 23577171536980 with 0 changes
debug: Storing state
debug: Stored state in 0.01 seconds
notice: Finished catalog run in 0.04 seconds
[root@centos53-64-puppet puppet]# puppetd --verbose --trace --debug --logdest console --no-daemonize --onetime
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/ssl/private_keys/centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/public_keys/centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/csr_centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs/centos53-64-puppet.test.pem]: Autorequiring File[/var/lib/puppet/ssl/certs]
debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: Finishing transaction 23780997220260 with 0 changes
debug: Using cached certificate for ca
debug: Using cached certificate for centos53-64-puppet.test
debug: Loaded state in 0.00 seconds
debug: Using cached certificate for ca
debug: Using cached certificate for centos53-64-puppet.test
debug: Using cached certificate_revocation_list for ca
debug: Puppet::Network::Format[json]: false value when expecting true
debug: Format s not supported for Puppet::Resource::Catalog; has not implemented method 'from_s'
info: Caching catalog for centos53-64-puppet.test
debug: Loaded state in 0.00 seconds
info: Applying configuration version '1251911852'
debug: Puppet::Network::Format[json]: false value when expecting true
debug: Format s not supported for Puppet::FileServing::Metadata; has not implemented method 'from_s'
/usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:394:in `fail'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:157:in `init_metadata'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:149:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:149:in `init_metadata'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value'
/usr/lib/ruby/site_ruby/1.8/puppet/util/cacher.rb:46:in `metadata'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:115:in `copy_source_values'
/usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:636:in `retrieve'
/usr/lib/ruby/site_ruby/1.8/puppet/type.rb:719:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:60:in `apply'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:249:in `eval_children_and_apply_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:420:in `thinmark'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:248:in `eval_children_and_apply_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:205:in `eval_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:294:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:420:in `thinmark'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:293:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:287:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/transaction.rb:287:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:139:in `apply'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:147:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:176:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:175:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:146:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:130:in `with_client'
/usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetd:159
err: //file-small/File[/tmp/file-small.tmp]: Failed to retrieve current state of resource: Error 400 on SERVER: Bad Request Could not retrieve file metadata for puppet:///file-small/test: Error 400 on SERVER: Bad Request at /etc/puppet/puppet-manifest-test/modules/file-small/manifests/init.pp:4
debug: Finishing transaction 23781017365460 with 0 changes
debug: Storing state
debug: Stored state in 0.01 seconds
notice: Finished catalog run in 2.19 seconds

Both are vmware instances

puppetd: centos 5.3 x86_64 stock ruby puppetd 0.25 HEAD (as of today)

puppetmasterd: centos 5.3 x86_64 stock ruby puppetmasterd 0.25 HEAD (as of today)

I have only one module which comprises of:

class file-small {
        file { "${location}/file-small.tmp":
                source => "puppet:///file-small/test",
        }
}

Related issues

related to Puppet - Bug #2424: File server can't find module in environment Closed 07/18/2009
related to Puppet - Bug #2551: File 'content changed to' message is often missing inform... Closed 08/18/2009

History

Updated by Lawrence Ludwig over 2 years ago

It appears once it happens it will continue to happen after the error occurs.

Updated by Luke Kanies over 2 years ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 0.25.0

Is it possible to get a server-side trace?

Updated by Lawrence Ludwig over 2 years ago

Server side trace, no with passenger in use, per our discussion of output with puppetmasterd and passenger/apache.

Additional info, it’s not consistent. I just saw the error again and the next run ran ok. One time it happened I restarted apache on puppetmasterd and the issue did not go away.

Updated by Lawrence Ludwig over 2 years ago

running via webrick. Happens with the first puppetd run after puppetmasterd is started.


info: Inserting default '~ ^/catalog/([^/]+)$'(auth) acl because /etc/puppet/auth.conf doesn't exist
info: Inserting default '/file'(non-auth) acl because /etc/puppet/auth.conf doesn't exist
info: Inserting default '/certificate_revocation_list/ca'(auth) acl because /etc/puppet/auth.conf doesn't exist
info: Inserting default '/report'(auth) acl because /etc/puppet/auth.conf doesn't exist
info: Inserting default '/certificate/ca'(non-auth) acl because /etc/puppet/auth.conf doesn't exist
info: Inserting default '/certificate/'(non-auth) acl because /etc/puppet/auth.conf doesn't exist
info: Inserting default '/certificate_request'(non-auth) acl because /etc/puppet/auth.conf doesn't exist
info: Expiring the node cache of centos53-64-puppet.test
info: Not using expired node for centos53-64-puppet.test from cache; expired at Wed Sep 02 15:20:55 -0400 2009
info: Caching node for centos53-64-puppet.test
info: Could not find class file-small for centos53-64-puppet.test
/usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:51:in `fail'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:24:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:72:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/hostclass.rb:82:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:73:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:235:in `evaluate_ast_node'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:94:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/interpreter.rb:29:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:88:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:176:in `benchmark'
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:175:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:86:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:35:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:99:in `do_find'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `initialize'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `new'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:37:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:131:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:146:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:128:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetmasterd:66
err: Could not find class file-small at /etc/puppet/puppet-manifest-test/manifests/site.pp:4 on node centos53-64-puppet.test
/usr/lib/ruby/site_ruby/1.8/puppet/parser/interpreter.rb:32:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:88:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:176:in `benchmark'
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:175:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:86:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:35:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:99:in `do_find'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `initialize'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `new'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:37:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:131:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:146:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:128:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetmasterd:66
err: Could not find class file-small at /etc/puppet/puppet-manifest-test/manifests/site.pp:4 on node centos53-64-puppet.test
info: mount[plugins]: allowing * access
info: mount[modules]: allowing * access
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:283:in `check_authorization'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:299:in `prepare'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:186:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:99:in `do_find'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `initialize'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `new'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:40:in `listen'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:37:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:131:in `listen'
/usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:146:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:128:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/application/puppetmasterd.rb:122:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetmasterd:66
err: Not authorized to call find on /file_metadata/file-small/test

Second in this test did not fail. I suspect then with passenger it is after an instance is restarted that causes the error to be seen.

Updated by Lawrence Ludwig over 2 years ago

Hmm this is the output I see when it works:

info: Expiring the node cache of centos53-64-puppet.test
info: Not using expired node for centos53-64-puppet.test from cache; expired at Wed Sep 02 15:25:54 -0400 2009
info: Caching node for centos53-64-puppet.test
debug: importing '/etc/puppet/puppet-manifest-test/modules/file-small/manifests/init.pp'
info: Autoloaded module file-small
notice: Compiled catalog for centos53-64-puppet.test in 0.03 seconds
notice: DEPRECATION NOTICE: Files found in modules without specifying 'modules' in file path will be deprecated in the next major release.  Please fix module 'file-small' when no 0.24.x clients are present

Updated by Markus Roberts over 2 years ago

The terminal error in the server-side listing on comment 4 (“Not authorized to call find on /file_metadata/…”) is existentially the same as the error in #2424 and #2551; is it possible we’re chasing one bug through multiple guises? Are the fixes for those bugs in place in the version you are running?

Updated by Luke Kanies over 2 years ago

  • Status changed from Accepted to Rejected

I’m not sure if this is a duplicate or what exactly, but we can’t reproduce it consistently.

Also available in: Atom PDF