This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2008252 - Update the Hypervisor last_checkin once the same still around and reporting
Summary: Update the Hypervisor last_checkin once the same still around and reporting
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.9.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-27 17:33 UTC by Waldirio M Pinheiro
Modified: 2024-06-06 01:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-06 01:03:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   SAT-18422 0 None Migrated None 2024-06-06 01:03:53 UTC
Red Hat Knowledge Base (Solution) 5068351 0 None None None 2021-09-27 21:49:38 UTC

Description Waldirio M Pinheiro 2021-09-27 17:33:47 UTC
Description of problem:
Currently, Satellite is not updating the last_checking for hypervisors unless some change happens in the same.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. configure virt-who and keep it running
2. check after few days
3.

Actual results:
Some hypervisors will get updated, some not.

Expected results:
All the hypervisors are being updated once all of them are still around and with CH already registered.

Additional info:

Comment 1 Waldirio M Pinheiro 2021-09-27 17:43:44 UTC
Hello,

Normally, we recommend the customer remove old entries from satellite. The sysadmin will be able to get this info with the filter below
---
 last_checkin <  "30 days ago"
---

The point is, if the hypervisor is still around with no changes during the last 30 days, they will be part of this list and "could be" removed as well.


The worst-case scenario is:

1. The hypervisor is valid and has a lot of guests on top of it
2. rh_cloud plugin is pushing the information
3. Subscription is removing all the VM's and adding only the hypervisor

Once we remove the hypervisor, we can see

1. No hypervisor on Satellite until the next virt-who cycle
2. rh_cloud plugin will push the new information
3. all the VM's previously not in Subscriptions will be added, once the host-guest mapping was removed
4. Subscription will update the graph with some *crazy values* with no sense

In the next day, we will see the environment returning to it's original state

Note, we can easily fix this behavior by keeping the last_checkin updated once the hypervisor is still around. For example

1. virt-who pushed 5 hypervisors (h1, h2, h3, h4 and h5)
2. virt-who is still pushing the information, no change on hypervisors but all of them still around (last_checking get updated)
3. hypervisor h3 get retired, now the list is (h1, h2, h4 and h5)
4. All the hypervisors will get the last_checkin updated, except by h3


In this scenario we can guarantee, if the hypervisor has last_checking gt 30 days, it's for sure because that server is not around anymore.

Please, let me know if you have additional questions or concerns.

Comment 3 Brad Buckingham 2023-11-02 17:44:31 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 4 Chris Roberts 2023-11-30 19:54:41 UTC
Adding to sprint 127

Comment 5 Brad Buckingham 2023-12-01 18:10:45 UTC
Based upon comment 4, keeping this bugzilla open.

Comment 7 Chris Roberts 2024-02-13 19:55:32 UTC
New virt-who bug:

https://issues.redhat.com/browse/RHEL-25413

Comment 8 Chris Roberts 2024-02-27 16:36:42 UTC
Ron,

I made a PR to make sure we note the checkin time, can this get 6.16?

Comment 9 Eric Helms 2024-06-06 01:03:55 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


Note You need to log in before you can comment on or make changes to this bug.