Puppet: System Administration Automated

Support

Ticket #1256 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

Tests failing with "Cannot save ca; parent directory $HOME/.puppet/ssl/ca does not exist"

Reported by: porridge Assigned to: community
Priority: normal Milestone:
Component: testing Version:
Severity: normal Keywords: ssl
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

I get 30 of these errors.

Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing should create a certificate instance with the content set to the newly signed x509 certificate'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/ssl_file.rb:94:in `save'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/indirector/key/file.rb:34:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/indirection.rb:249:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector.rb:63:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/host.rb:121:in `generate_key'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:120:in `generate_ca_certificate'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:229:in `setup'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:142:in `initialize'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:in `new'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:

Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing should return the certificate instance'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/ssl_file.rb:94:in `save'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/indirector/key/file.rb:34:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/indirection.rb:249:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector.rb:63:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/host.rb:121:in `generate_key'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:120:in `generate_ca_certificate'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:229:in `setup'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:142:in `initialize'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:in `new'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:


Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing should add the certificate to its inventory'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/ssl_file.rb:94:in `save'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/indirector/key/file.rb:34:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/indirection.rb:249:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector.rb:63:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/host.rb:121:in `generate_key'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:120:in `generate_ca_certificate'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:229:in `setup'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:142:in `initialize'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:in `new'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:

Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing should have a method for triggering autosigning of available CSRs'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/ssl_file.rb:94:in `save'
/home/porridge/Desktop/coding/puppet-git/spec/../lib/puppet/indirector/key/file.rb:34:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector/indirection.rb:249:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/indirector.rb:63:in `save'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/host.rb:121:in `generate_key'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:120:in `generate_ca_certificate'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:229:in `setup'
/home/porridge/Desktop/coding/puppet-git/lib/puppet/ssl/certificate_authority.rb:142:in `initialize'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:in `new'
/home/porridge/Desktop/coding/puppet-git/spec/unit/ssl/certificate_authority.rb:233:


Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing and calculating the next certificate serial number should default to 0x0 for the first serial number'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing and calculating the next certificate serial number should return the current content of the serial file'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing and calculating the next certificate serial number should write the next serial number to the serial file as hex'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing and calculating the next certificate serial number should lock the serial file while writing'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing its own certificate should not look up a certificate request for the host'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing its own certificate should use a certificate type of :ca'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing its own certificate should pass the provided CSR as the CSR'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing its own certificate should use the provided CSR's content as the issuer'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing its own certificate should pass the next serial as the serial number'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing its own certificate should save the resulting certificate'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should use a certificate type of :server'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should use look up a CSR for the host in the :ca_file terminus'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should fail if no CSR can be found for the host'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should use the CA certificate as the issuer'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should pass the next serial as the serial number'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should sign the resulting certificate using its real key and a digest'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should save the resulting certificate'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing another host's certificate should remove the host's certificate request'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates should do nothing if autosign is disabled'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates should do nothing if no autosign.conf exists'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates and autosign is enabled and the autosign.conf file exists should sign all CSRs whose hostname matches the autosign configuration'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates and autosign is enabled and the autosign.conf file exists should not sign CSRs whose hostname does not match the autosign configuration'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates and autosign is enabled and the autosign.conf file exists when creating the AuthStore instance to verify autosigning should create an AuthStore with each line in the configuration file allowed to be autosigned'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates and autosign is enabled and the autosign.conf file exists when creating the AuthStore instance to verify autosigning should reparse the autosign configuration on each call'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates and autosign is enabled and the autosign.conf file exists when creating the AuthStore instance to verify autosigning should ignore comments'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist
--
Puppet::Error in 'Puppet::SSL::CertificateAuthority when signing when autosigning certificates and autosign is enabled and the autosign.conf file exists when creating the AuthStore instance to verify autosigning should ignore blank lines'
Cannot save ca; parent directory /home/porridge/.puppet/ssl/ca does not exist

Change History

05/26/08 03:18:14 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [eb5e422].