Project

General

Profile

Bug #22955

REX does not update with a HostStatus::ExecutionStatus

Added by Sebastian Gräßl about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When running a REX task the finalizing is not updating the Hosts status with a `HostStatus::ExecutionStatus`.

A change, extracting functionality to foreman-tasks seems to have removed the call to `refresh_statuses` on the host: https://github.com/theforeman/foreman_remote_execution/commit/02aa4ff892708a07c1d9301f80a30d8c43705b49#diff-afa0c06f730ec73b2a589d7d1769d625L50

Adding back this call doesn't appear to fix the issue, the status is getting registered, but does not appear to be considered relevant.

Associated revisions

Revision 6f8fe214 (diff)
Added by Sebastian Gräßl almost 2 years ago

Fixes #22955 - Update host status on finalize

History

#1 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/348 added

#2 Updated by Anonymous almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF