Closed dwradcliffe closed 10 years ago
That's bad news. Any chance you can try this on a node with Chef 11.12.8, just as a safeguard? Is this widespread across all nodes?
Looks like it's working on 11.12.8
! I didn't notice it has been released. Thanks!
That's odd, I was unable to reproduce the problem using Chef 11.12.4 - could it have been a fluke?
It happened on about 15 nodes for at least 12 hours. All 11.12.4. If I have time I might be able to debug a bit.
It'd be much appreciated. OS Distro, other Chef plugins, etc.
CentOS 6.3 No other plugins that I can think of.
Currently I'm noticing it on a Recipe Compile Error Chef::Exceptions::RecipeNotFound.
I dug a little and I see that run_status.run_context
is nil.
That's odd - RecipeNotFound is usually something you'd see when a typo or other reference is introduced to a node's run list - by either one of your cookbooks, or one of your dependencies' cookbooks.
@dwradcliffe were you ever able to pin this down to something reproducible?
I do keep seeing it. I think maybe it happens when the error is during the compile phase?
Interesting.
So if a node fails to compile, what metrics would you expect to be seen on Datadog's end? Should we test for a length
and bail if nonexistent before here?
I think if we reorder the metrics, and handle nil
there, you'll still get elapsed time and the failure event, but I don't know if the event will contain anything useful, since we don't have any resources to report on.
@dwradcliffe I've been able to repro in tests! I'm so excited, I can barely contain myself. :smiling_imp: I hope to have a fix for this shortly.
awesome!!
Elapsed time and failure event would be good, even if we don't have the resource list. Error message in the failure event would be nice. :)
I think I may have to slate that as a next version feature, but I should be able to have the handler complete and provide a failure event of some sort.
Hello,
Getting an error:
Rackspace openstack alamo.iso Installation stuck at 67%.
Error:
ERROR: running exception handlers
ERROR: /usr/bin/chef-client:19:in load' ERROR: /usr/bin/chef-client:19:in
Main installation is stopped at 95% Chef-client installation is stopped at 67%
Errors screenshot are attached along with this post. Please help in resolving the same.
Hello @anand2k12 ,
It is typically more useful to open a new case with your problem.
However, from the screen images you have sent, I can see that you are attempting to install this with Chef 10.12 - and we only support Chef 10.14 and above.
Looks like for some reason
run_status.all_resources
is nil. This is happening on several nodes in production.