Project

General

Profile

Bug #13379

Build mode does reset the "last report" field

Added by Julien Pivotto over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Reporting
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Use case:

When a server with a Puppet client is rebuilt, foreman cleans the reports but not the "last report" field.

When you switch a host from a Puppet-enablet hostgroup to a hostgroup that does not install a Puppet client, the host is marked as "Out of sync". Is should be marked as "No reports".

This would be consistent with the foreman behavior of deleting the reports when switching to build mode.

Unfortunately, this is such a big UX change that it can only happen on a major release.

Associated revisions

Revision 6d10ed5a (diff)
Added by Julien Pivotto over 3 years ago

Fixes #13379 - Clear host.last_report when switching to build mode

Use case:

When a server with a Puppet client is rebuilt, foreman cleans the
reports but not the "last report" field.

When you switch a host from a Puppet-enablet hostgroup to a hostgroup
that does not install a Puppet client, the host is marked as "Out of
sync". Is should be marked as "No reports".

This would be consistent with the foreman behavior of deleting the
reports when switching to build mode.

History

#1 Updated by Julien Pivotto over 3 years ago

  • Description updated (diff)

#2 Updated by Dominic Cleal over 3 years ago

  • Category set to Reporting

#3 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Julien Pivotto
  • Pull request https://github.com/theforeman/foreman/pull/3122 added

#4 Updated by Julien Pivotto over 3 years ago

  • Subject changed from Build mode does report the "last report" field to Build mode does reset the "last report" field

#5 Updated by Anonymous over 3 years ago

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

#6 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 71

Also available in: Atom PDF