Getting Failure/Error: Puppet::SSL::CertificateAuthority.new

asked 2015-06-19 06:39:03 -0500

Mohan Sanagapalli gravatar image

updated 2015-06-19 06:39:32 -0500

I built the puppet from source code ,on a solo architecture with both puppet master and agent on the same node , when i run the rspec test cases , i am getting a lot of SSL certs issues , and almost all of the have same failure.

Puppet::Face[:ca, v0.1.0]   
     Failure/Error: Puppet::SSL::CertificateAuthority.new   
     Errno::EACCES:   
       Permission denied @ rb_sysopen - /tmp/rspecrun20150617-23070-1ls4i9z/face-ca-ssldir20150617-23070-hwwl9f/ca/ca_key.pem   
     # ./lib/puppet/file_system/file_impl.rb:26:in `initialize'  
     # ./lib/puppet/file_system/file_impl.rb:26:in `open'  
     # ./lib/puppet/file_system/file_impl.rb:26:in `open'  
     # ./lib/puppet/file_system.rb:37:in `open'  
     # ./lib/puppet/settings/file_setting.rb:197:in `block in open'  
     # ./lib/puppet/settings/file_setting.rb:230:in `block (2 levels) in controlled_access'  
     # ./lib/puppet/util.rb:48:in `withumask'  
     # ./lib/puppet/settings/file_setting.rb:221:in `block in controlled_access'  
     # ./lib/puppet/util/suidmanager.rb:72:in `asuser'   
     # ./lib/puppet/settings/file_setting.rb:219:in `controlled_access'  
     # ./lib/puppet/settings/file_setting.rb:196:in `open'  
     # ./lib/puppet/indirector/ssl_file.rb:162:in `write'  
     # ./lib/puppet/indirector/ssl_file.rb:98:in `save'   
     # ./lib/puppet/indirector/indirection.rb:276:in `save'  
     # ./lib/puppet/ssl/host.rb:151:in `generate_key'   
     # ./lib/puppet/ssl/host.rb:197:in `certificate'   
     # ./lib/puppet/ssl/certificate_authority.rb:270:in `setup'  
     # ./lib/puppet/ssl/certificate_authority.rb:161:in `initialize'  
     # ./spec/integration/faces/ca_spec.rb:20:in `new'  
     # ./spec/integration/faces/ca_spec.rb:20:in `block (2 levels) in <top (required)>'
edit retag flag offensive close merge delete

Comments

any leads ..?? can i some one help me out .. y exactly this issue is coming ..??

Mohan Sanagapalli gravatar imageMohan Sanagapalli ( 2015-07-02 05:51:52 -0500 )edit