Project

General

Profile

Feature #28317

Move Actions::Katello::Host::Update out of dynflow

Added by Partha Aji 7 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Actions::Katello::Host::Update is one the most used actions in the foreman tasks/dynflow queue.
An example of a user who had 700,000 tasks in their task history saw this rough breakdown

COUNT|TYPE

320668 Actions::Katello::Host::Update

we need to investigate moving this to be handled directly by the main Rails application and not require the overhead of task creation, monitoring and eventual database cleanup.

Associated revisions

Revision 2ae55d3e (diff)
Added by Partha Aji 6 months ago

Fixes #28317 - Host update out of dynflow (#8446)

Moved the host update logic out of dynflow and instead made it a
standalone method in host managed object. This is because this call is
fairly short lived and does not need to hog the space in dynflow queue
when subman checks in.

Revision 8954ae6d (diff)
Added by Tomer Brisker 5 months ago

Refs #28317 - Drop host_update_lock setting

The setting was removed but not cleaned up from the database.

History

#1 Updated by Partha Aji 7 months ago

  • Bugzilla link set to 1771719

#2 Updated by The Foreman Bot 7 months ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8446 added

#3 Updated by Chris Roberts 7 months ago

  • Target version set to Katello 3.15.0
  • Category set to Orchestration

#4 Updated by Chris Roberts 7 months ago

  • Triaged changed from No to Yes

#5 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases Katello 3.15.0 added

#6 Updated by Partha Aji 6 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/Katello/katello/pull/8502 added

#8 Updated by Jonathon Turel 3 months ago

  • Category changed from Orchestration to Hosts

#9 Updated by Jonathon Turel 3 months ago

  • Tracker changed from Bug to Feature

Also available in: Atom PDF