Please activate JavaScript in your web browser
Chef Mailing Lists - Archives
Please visit
https://discourse.chef.io
to subscribe
Skip to Content.
List of lists
Home
Help
email address :
password :
First login ?
Lost password ?
Subscribers:
1946
Owners
Bryan McLellan
Joshua Timberman
Nathen Harvey
Seth Chisamore
Serdar Sutay
Subscribe
Unsubscribe
Info
Archive
Post
RSS
Shared documents
General discussion about Chef
[chef] Why does my run fail wheh I use ignore_failure true?
Chronological
Thread
<
Chronological
>
<
Thread
>
From
: David Montgomery < >
To
:
Subject
: [chef] Why does my run fail wheh I use ignore_failure true?
Date
: Mon, 5 Aug 2013 17:31:04 +0800
Why does my run fail when I use ignore_failure true?
I was under the impression that if I use ignore_failure and have a fail will continue........
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
Relevant File Content:
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
----------------------
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
/var/chef/cache/cookbooks/bootstrap/recipes/aws_monitor_tag.rb:
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
1: include_recipe "aws"
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
2: data_bag("my_data_bag")
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
3: db = data_bag_item("my_data_bag", "my")
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
4: aws = db[ node.chef_environment]['aws']
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
5: AWS_ACCESS_KEY_ID = aws['AWS_ACCESS_KEY_ID']
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
6: AWS_SECRET_ACCESS_KEY = aws['AWS_SECRET_ACCESS_KEY']
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
7:
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
8>> aws_resource_tag node['ec2']['instance_id'] do
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
9: aws_access_key aws['AWS_ACCESS_KEY_ID']
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
10: aws_secret_access_key aws['AWS_SECRET_ACCESS_KEY']
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
11: tags({"Name" => "Monitor",
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
12: "node_name" => "#{
node.name
}",
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
13: "environment" => node.chef_environment})
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
14: action :update
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
15: ignore_failure true
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
16: end 17:
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
[2013-08-05T09:27:01+00:00] ERROR: Running exception handlers
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
[2013-08-05T09:27:01+00:00] ERROR: Exception handlers complete
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
[2013-08-05T09:27:01+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
Chef Client failed. 0 resources updated
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
ec2-54-215-148-92.us-west-1.compute.amazonaws.com
[2013-08-05T09:27:01+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[chef] Why does my run fail wheh I use ignore_failure true?
,
David Montgomery, 08/05/2013
[chef] Re: Why does my run fail wheh I use ignore_failure true?
,
Andrew Gross, 08/05/2013
[chef] Re: Re: Why does my run fail wheh I use ignore_failure true?
,
Daniel DeLeo, 08/05/2013
[chef] Re: Re: Re: Why does my run fail wheh I use ignore_failure true?
,
steve ., 08/05/2013
[chef] Re: Re: Re: Re: Why does my run fail wheh I use ignore_failure true?
,
Mike, 08/05/2013
[chef] Re: Re: Re: Why does my run fail wheh I use ignore_failure true?
,
David Montgomery, 08/05/2013
[chef] RE: Re: Re: Re: Why does my run fail wheh I use ignore_failure true?
,
Matt Ray, 08/05/2013
Archive powered by
MHonArc 2.6.16
.
§
Powered by Sympa 5.3.4