Project

General

Profile

Actions

Bug #12256

closed

Rollback during discovered host provisioning errors with ERF42-8175 and causes post_commit orchestration

Added by Lukas Zapletal over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

We should provide an empty method there.

2015-10-22 04:45:49 [app] [W] Failed to perform rollback on Rebooting discovered-host-1.discovery.test - ERF42-8175 [Foreman::Exception]: invalid method delReboot
 | Foreman::Exception: ERF42-8175 [Foreman::Exception]: invalid method delReboot
 | /usr/share/foreman/app/models/concerns/orchestration.rb:165:in `execute'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:131:in `block in process'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:127:in `reverse_each'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:127:in `process'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:39:in `post_commit'

Related issues 3 (2 open1 closed)

Related to Foreman - Bug #14001: Wrapping `host.save` call into external trasnaction causes the `post_commit` orchestration to be triggered even when failures in `pre_commit` orchestrationNewActions
Related to Foreman - Tracker #14002: Orchestration build around ActiveRecord hooks trackerNew03/02/2016

Actions
Related to Discovery - Bug #9306: User without hostgroup view permissions can't create discover rulesClosedLukas Zapletal02/10/2015Actions
Actions

Also available in: Atom PDF