Skip to content

Instantly share code, notes, and snippets.

@swade1987
Created February 4, 2016 02:45
Show Gist options
  • Save swade1987/b0e7fdd303def78609da to your computer and use it in GitHub Desktop.
Save swade1987/b0e7fdd303def78609da to your computer and use it in GitHub Desktop.
chef provisioning - SSL
aws_instance.bamboo-server (chef): (Reading database ... 51127 files and directories currently installed.)
←[0m←[0maws_instance.bamboo-server (chef): Preparing to unpack .../chef_12.6.0-1_amd64.deb ...
←[0m←[0maws_instance.bamboo-server (chef): Unpacking chef (12.6.0-1) ...
←[0m←[0maws_instance.bamboo-server (chef): Setting up chef (12.6.0-1) ...
←[0m←[0maws_instance.bamboo-server (chef): Thank you for installing Chef!
←[0m←[0maws_instance.bamboo-server (chef): Creating configuration files...
←[0m←[0maws_instance.bamboo-server (chef): Starting initial Chef-Client run...
←[0m←[0maws_instance.bamboo-server (chef): Starting Chef Client, version 12.6.0←[0m
←[0m←[0maws_instance.bamboo-server (chef): Creating a new client identity for bamboo-server using the validator key.←[0m
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T02:44:00+00:00] ERROR: SSL Validation failure connecting to host:
ec2-54-149-31-94.us-west-2.compute.amazonaws.com - SSL_connect returned=1 errno=0 state=error: certificate verify faile
d
←[0m←[0maws_instance.bamboo-server (chef): ←[0m
←[0m←[0maws_instance.bamboo-server (chef): =============================================================================
===←[0m
←[0m←[0maws_instance.bamboo-server (chef): ←[31mChef encountered an error attempting to create the client "bamboo-server
"←[0m
←[0m←[0maws_instance.bamboo-server (chef): =============================================================================
===←[0m
←[0m←[0m
←[0m←[0maws_instance.bamboo-server (chef): ←[0m←[0m
←[0m←[0maws_instance.bamboo-server (chef): Running handlers:←[0m
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T02:44:00+00:00] ERROR: Running exception handlers
←[0m←[0maws_instance.bamboo-server (chef): Running handlers complete
←[0m←[0maws_instance.bamboo-server (chef): ←[0m[2016-02-04T02:44:00+00:00] ERROR: Exception handlers complete
←[0m←[0maws_instance.bamboo-server (chef): Chef Client failed. 0 resources updated in 00 seconds←[0m
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T02:44:00+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-
stacktrace.out
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T02:44:00+00:00] FATAL: Please provide the contents of the stacktr
ace.out file if you file a bug report
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T02:44:00+00:00] ERROR: SSL Error connecting to https://ec2-54-149
-31-94.us-west-2.compute.amazonaws.com/organizations/parliamentary-digital-service/clients - SSL_connect returned=1 errn
o=0 state=error: certificate verify failed
←[0m←[0maws_instance.bamboo-server (chef): [2016-02-04T02:44:00+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef
run process exited unsuccessfully (exit code 1)
←[31mError applying plan:
1 error(s) occurred:
* Command "sudo chef-client -j \"/etc/chef/first-boot.json\" -E \"_default\"" exited with non-zero exit status: 1
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.←[0m←[0m
PS C:\GIT\PDS\terraform\src\core-services\bamboo>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment