Skip to content

Error on deploying the instances #4

@ShadySQL

Description

@ShadySQL

Hey Guys,

So I get the this error:

Missing Cookbooks:

No such cookbook: apt

Expanded Run List:

  • opsworks_initial_setup
  • ssh_host_keys
  • ssh_users
  • mysql::client
  • dependencies
  • ebs
  • opsworks_ganglia::client
  • opsworks_stack_state_sync
  • apt
  • ark
  • elasticsearch
  • elasticsearch::aws
  • elasticsearch::proxy
  • java
  • layer-custom::esplugins
  • layer-custom::allocation-awareness
  • layer-custom::esmonit
  • layer-custom::cloudwatch-custom
  • deploy::default
  • test_suite
  • opsworks_cleanup

[2015-02-19T14:48:25+00:00] ERROR: Running exception handlers
[2015-02-19T14:48:25+00:00] ERROR: Exception handlers complete
[2015-02-19T14:48:25+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
[2015-02-19T14:48:25+00:00] ERROR: 412 "Precondition Failed"
[2015-02-19T14:48:25+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

But looks a bit awkward since its included in the berkfile. Any ideas on how to resolve this? Here is what I do:

Deploy the cloudformation template with chef 11.10
Launch three EC2 instances from the opsworks console and click on advance options - selected latest AWS Linux and EBS as the storage. Any input would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions