Project

General

Profile

Bug #20727

Hypervisors show up as Hosts with no Puppet reports

Added by Klaas D almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Hi,
the Hypervisors are now also host objects since 3.0 (http://www.katello.org/docs/3.0/release_notes/release_notes.html) because content host and host objects are now unified. At the moment this means hypervisors show up as "Hosts with no reports" on dashboard. If you disable foreman reporting for the host they show up as "Hosts with alerts disabled" which is where I think they should be when they will never send reports.
this is something that has been bothering me for some time but I have worked around the issue previously: https://github.com/RedHatSatellite/katello-attach-subscription/pull/13

Because I fixed another issue with the virt-who checkins I came across the code again and I've decided to suggest a fix for the issue because I think its just a one-liner :)

The more general question is if my thought is correct - I only use vmware hypervisors where they really will never send any reports but if you have another hypervisor that does checkin with foreman it may be wrong. Thats why I decided to put it into the create of a hypervisor - this should only happen when the hosts are normally not managed by foreman ie the will never send reports.

Greetings
Klaas


Related issues

Has duplicate Katello - Bug #19645: create virt-who hosts with 'enabled' uncheckedDuplicate2017-05-23

Associated revisions

Revision 70c8be75 (diff)
Added by Klaas Demter almost 5 years ago

Fixes #20727 - create hypervisors with enabled => false

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6918 added

#2 Updated by Anonymous almost 5 years ago

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

#3 Updated by John Mitsch almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 295

#4 Updated by Justin Sherrill almost 5 years ago

  • Bugzilla link set to 1496218

#5 Updated by Justin Sherrill almost 5 years ago

  • Has duplicate Bug #19645: create virt-who hosts with 'enabled' unchecked added

Also available in: Atom PDF