Project

General

Profile

Actions

Bug #14401

closed

Host#refresh_global_status not persisting changes to the db

Added by John Mitsch about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

related to http://projects.theforeman.org/issues/14372

Refreshing the global_status here [1] does not persist changes to the database, which is causing problems in Katello when calling global_status (see above bug).

[1] https://github.com/theforeman/foreman/blob/c7d9169d12e16bcd5f4e3466e5cf99ca963eeea7/app/models/host/managed.rb#L859


Related issues 4 (1 open3 closed)

Related to Katello - Bug #14372: Content Host shows green status with "Warning"ClosedJohn Mitsch03/29/2016Actions
Related to Foreman - Bug #14518: unable to save report due to a host os misconfigurationClosedMarek Hulán04/07/2016Actions
Related to Foreman - Bug #14516: Host::Base#domain_id= delegated to primary_interface.domain_id=, but primary_interface is nilClosedMarek Hulán04/07/2016Actions
Related to Foreman - Refactor #15849: Improve performance of host global status updatesNew07/27/2016Actions
Actions #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3380 added
Actions #2

Updated by Marek Hulán about 8 years ago

  • Related to Bug #14372: Content Host shows green status with "Warning" added
Actions #3

Updated by Marek Hulán about 8 years ago

  • Category set to Plugin integration
Actions #4

Updated by Marek Hulán about 8 years ago

  • translation missing: en.field_release set to 152
Actions #5

Updated by John Mitsch about 8 years ago

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

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #14518: unable to save report due to a host os misconfiguration added
Actions #7

Updated by Dominic Cleal about 8 years ago

  • translation missing: en.field_release changed from 152 to 136

Bumping due to linked regression, possibly also linked to #14516.

Actions #8

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #14516: Host::Base#domain_id= delegated to primary_interface.domain_id=, but primary_interface is nil added
Actions #9

Updated by Tomer Brisker over 7 years ago

  • Related to Refactor #15849: Improve performance of host global status updates added
Actions

Also available in: Atom PDF