# \[RESOLVED\]Chef converge throws out failed when resource reboot has been executed

**URL:** <https://discourse.chef.io/t/resolved-chef-converge-throws-out-failed-when-resource-reboot-has-been-executed/11809>\
**Category:** Chef Infra (archive)\
**Created:** [October 24, 2017, 6:33pm UTC](https://discourse.chef.io/t/resolved-chef-converge-throws-out-failed-when-resource-reboot-has-been-executed/11809 "2017-10-24T18:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsantos](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@gsantos](https://discourse.chef.io/u/gsantos)\
**Post date:** [October 24, 2017, 6:33pm UTC](https://discourse.chef.io/t/resolved-chef-converge-throws-out-failed-when-resource-reboot-has-been-executed/11809/1 "2017-10-24T18:33:40Z")

</div>

![image](https://sea2.discourse-cdn.com/flex016/images/transparent.png)

```ruby
reboot 'node-reboot' do
  action :nothing
  reason 'To apply the new kernel version update, the system needs to be restarted.'
  delay_mins 1
  only_if { node['system']['auto_reboot'] == true }
end

```

---

<div class="post-metadata">

**Author:** ![gsantos](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@gsantos](https://discourse.chef.io/u/gsantos)\
**Post date:** [October 26, 2017, 12:27pm UTC](https://discourse.chef.io/t/resolved-chef-converge-throws-out-failed-when-resource-reboot-has-been-executed/11809/2 "2017-10-26T12:27:12Z")

</div>

Found the solution: [Test-Kitchen 1.10.0 Released](https://discourse.chef.io/t/test-kitchen-1-10-0-released/8721)

And added wait retry in .kitchen.yml

![image](https://sea2.discourse-cdn.com/flex016/images/transparent.png)
