Issue #2909 has been updated by Peter Meier.

Status changed from Needs more information to Rejected

> puppetmas  5277   puppet    7u  IPv4  13815       TCP *:8140 (LISTEN)

you have still a puppetmaster running, which (I assume) holds the old ssl cert 
and all, hence client still can't connect as the master.

reading the logs of starting your master indicates that as well:
<pre>
[...]
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - 
bind(2) (Errno::EADDRINUSE)
[...]
</pre>

please stop any puppetmaster running, clean your certs and then try to run 
puppetmaster in a console, as I described above. As long as this puppetmaster 
doesn't come up, you have some other problems and the ssl problem is simply a 
consequence of these problems.

for further debugging please use the mailinglist, as it is the better way to 
get support (also more people attend there). It will also be easier to figure 
out there an appropriate bug description and then create a new report.

What you are trying to do is in my opinion known to work.
----------------------------------------
Bug #2909: In a single system puppet not working
http://projects.reductivelabs.com/issues/2909

Author: sudip dey
Status: Rejected
Priority: Normal
Assigned to: 
Category: SSL
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


 puppetd --test --trace --debug
/usr/local/lib/site_ruby/1.8/facter/util/resolution.rb:46: warning: Insecure 
world writable dir /usr/bin in PATH, mode 040777
/usr/local/lib/site_ruby/1.8/puppet/defaults.rb:94: warning: Insecure world 
writable dir /usr/bin in PATH, mode 040777
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does 
not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /File[/var/run/puppet/puppetd.pid]: Autorequiring File[/var/run/puppet]
debug: /File[/var/lib/puppet/ssl/certs/tbagchi-desktop.pem]: Autorequiring 
File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_yaml]: 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/public_keys]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private_keys/tbagchi-desktop.pem]: 
Autorequiring File[/var/lib/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/ssl/private]: 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/ssl/certs/ca.pem]: Autorequiring 
File[/var/lib/puppet/ssl/certs]
debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring 
File[/var/lib/puppet/ssl]
debug: /File[/var/lib/puppet/ssl/public_keys/tbagchi-desktop.pem]: 
Autorequiring File[/var/lib/puppet/ssl/public_keys]
debug: Finishing transaction -609500118 with 0 changes
debug: Using cached certificate for ca
debug: Using cached certificate for tbagchi-desktop
info: Retrieving plugin
debug: Using cached certificate for ca
debug: Using cached certificate for tbagchi-desktop
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::FileServing::Metadata; has not 
implemented method 'from_s'
/usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'
/usr/lib/ruby/1.8/net/http.rb:588:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/1.8/net/http.rb:772:in `get'
/usr/local/lib/site_ruby/1.8/puppet/indirector/rest.rb:73:in `search'
/usr/local/lib/site_ruby/1.8/puppet/indirector/indirection.rb:243:in `search'
/usr/local/lib/site_ruby/1.8/puppet/indirector.rb:59:in `search'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:601:in `perform_recursion'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:568:in `recurse_remote'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:567:in `collect'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:567:in `recurse_remote'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:481:in `recurse'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:379:in `eval_generate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:347:in `send'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:347:in 
`generate_additional_resources'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:191:in `eval_generate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:238:in 
`eval_children_and_apply_resource'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:205:in `eval_resource'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:294:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in
 `realtime'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:293:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:287:in `collect'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:287:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/resource/catalog.rb:139:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/configurer/downloader.rb:32:in `evaluate'
/usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
/usr/local/lib/site_ruby/1.8/puppet/configurer/downloader.rb:31:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/configurer/plugin_handler.rb:12:in 
`download_plugins'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:75:in `prepare'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:136:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:130:in `with_client'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetd:159
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 
'eval_generate': hostname was not match with the server certificate
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/local/lib/site_ruby/1.8/puppet/parameter.rb:394:in `fail'
/usr/local/lib/site_ruby/1.8/puppet/type/file/source.rb:157:in `init_metadata'
/usr/local/lib/site_ruby/1.8/puppet/type/file/source.rb:149:in `each'
/usr/local/lib/site_ruby/1.8/puppet/type/file/source.rb:149:in `init_metadata'
/usr/local/lib/site_ruby/1.8/puppet/util/cacher.rb:106:in `send'
/usr/local/lib/site_ruby/1.8/puppet/util/cacher.rb:106:in `cached_value'
/usr/local/lib/site_ruby/1.8/puppet/util/cacher.rb:46:in `metadata'
/usr/local/lib/site_ruby/1.8/puppet/type/file/source.rb:115:in 
`copy_source_values'
/usr/local/lib/site_ruby/1.8/puppet/type/file.rb:636:in `retrieve'
/usr/local/lib/site_ruby/1.8/puppet/type.rb:719:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:60:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:249:in 
`eval_children_and_apply_resource'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in
 `realtime'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:248:in 
`eval_children_and_apply_resource'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:205:in `eval_resource'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:294:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in
 `realtime'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:293:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:287:in `collect'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:287:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/resource/catalog.rb:139:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/configurer/downloader.rb:32:in `evaluate'
/usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
/usr/local/lib/site_ruby/1.8/puppet/configurer/downloader.rb:31:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/configurer/plugin_handler.rb:12:in 
`download_plugins'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:75:in `prepare'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:136:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:130:in `with_client'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetd:159
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: 
hostname was not match with the server certificate Could not retrieve file 
metadata for puppet://puppet/plugins: hostname was not match with the server 
certificate
debug: Finishing transaction -607102118 with 0 changes
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'
/usr/lib/ruby/1.8/openssl/ssl.rb:91:in `post_connection_check'
/usr/lib/ruby/1.8/net/http.rb:588:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/1.8/net/http.rb:772:in `get'
/usr/local/lib/site_ruby/1.8/puppet/indirector/rest.rb:69:in `find'
/usr/local/lib/site_ruby/1.8/puppet/indirector/indirection.rb:198:in `find'
/usr/local/lib/site_ruby/1.8/puppet/indirector.rb:51:in `find'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:94:in `retrieve_catalog'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:422:in `thinmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/benchmark.rb:10:in
 `realtime'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:421:in `thinmark'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:93:in `retrieve_catalog'
/usr/local/lib/site_ruby/1.8/puppet/configurer.rb:140:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:53:in `run'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:130:in `with_client'
/usr/local/lib/site_ruby/1.8/puppet/agent.rb:51:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `send'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:226:in `run_command'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail'
/usr/local/lib/site_ruby/1.8/puppet/application.rb:217:in `run'
/usr/sbin/puppetd:159
err: Could not retrieve catalog from remote server: hostname was not match with 
the server certificate
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.


Reply via email to