Project

General

Profile

Actions

Bug #20238

open

Document tracer feature (including running katello-tracer-upload)

Added by Lachlan Simpson almost 7 years ago. Updated almost 6 years ago.

Status:
Assigned
Priority:
Normal
Category:
Documentation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

foreman-tasks 0.9.2
foreman_ansible 1.4.5
foreman_discovery 9.1.1
foreman_docker 3.1.0
katello 3.4.2
Foreman: 1.15.1

After applying errata, we see content hosts reporting a warning.

Symptoms:
  • orange 'CIRCLED INFORMATION SOURCE' icon next to server on the all hosts page
  • "Status: Warning, Traces: One or more processes require restarting" on the host's details page
  • the Traces tab on the content host page lists a single service to be restarted (in this case, goferd)

I presume this is related to http://projects.theforeman.org/issues/18895

Problem:
  • manually restarting the service on the server in question doesn't change the status back to green
  • prompting via "puppet agent -t" doesn't notify of the service reset
  • on the Content Host Traces page there is an option to restart but only if the "Remote execution plugin is required to be able to run any helpers." Don't have plugin installed.
  • restarting the server changes status to green

If a system can change status to Warning/Orange, should be able to reset by restarting the service manually without a plugin.

Actions #1

Updated by Justin Sherrill almost 7 years ago

Hi,

Are you running katello-tracer-upload after restarting the services?

Actions #2

Updated by Justin Sherrill almost 7 years ago

  • Status changed from New to Need more information
  • Assignee set to Justin Sherrill
Actions #3

Updated by Lachlan Simpson almost 7 years ago

Justin Sherrill wrote:

Are you running katello-tracer-upload after restarting the services?

No I'm not. I had no idea that I was meant to be? Is that documented anywhere?

Actions #4

Updated by Justin Sherrill almost 7 years ago

  • Subject changed from Status and Traces don't update correctly after manual service restart to Document tracer feature (including running katello-tracer-upload)
  • Status changed from Need more information to Assigned

I don't believe it is, but i think its done automatically via the rex job here: https://github.com/Katello/katello/blob/21ebe289aa8b0f4c0453bba80f2dae77fec237b4/app/views/foreman/job_templates/restart_services.erb

However this should be documented better, i will keep this bug open for documentation. In fact we need to document this feature better anyways.

Actions #5

Updated by Justin Sherrill almost 7 years ago

  • Category changed from Hosts to Documentation
  • translation missing: en.field_release set to 114
Actions

Also available in: Atom PDF