Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
If you edit the subscription information for hosts in Satellite, the hosts do not display in the audit records of the Satellite web UI. Instead of a list of hosts, the following error is displayed: "Missing(ID: 2)" in "Host ids" line.
DescriptionVladimír Sedmík
2019-06-12 08:48:24 UTC
Created attachment 1579726[details]
UI printscreen
Description of problem:
When I add or remove a subscription to a host and check the Monitor > Audits in the WebUI, the records are showing "Missing(ID: 2)" in "Host ids" line.
Version-Release number of selected component (if applicable):
satellite-6.6.0-5.beta.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. Register a host to the Satellite
2. Go to Hosts > Content hosts > pick the host > tab Subscriptions > Add or Remove some subscription
3. Go to Monitor > Audits > check the latest log
Actual results:
"Missing(ID: 2)" shown in "Host ids" item
Expected results:
Valid value shown in "Host ids" item
Additional info:
See the attachment
Kavita, does this ring a bell? It feels like we can't find the host object for some reason. I wonder if that could be caused by taxonomies, this audit does not have any location. But the user is apparentely an admin.
(In reply to Marek Hulan from comment #3)
> Kavita, does this ring a bell? It feels like we can't find the host object
> for some reason. I wonder if that could be caused by taxonomies, this audit
> does not have any location. But the user is apparentely an admin.
Hello Marek,
I had discussion with Vladimír about this BZ previously. This is not due to taxonomies.
There is no direct association between pool and hosts but there is 'hosts' method defined inside Glue::Candlepin::Pool.
To fix this BZ, I would need changes from this PR - https://github.com/theforeman/foreman/pull/6710
which will allow me to add audit hook on pool side to get host records.
Creating an upstream issue for pool side changes which will get merge after this above PR
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:1454
Created attachment 1579726 [details] UI printscreen Description of problem: When I add or remove a subscription to a host and check the Monitor > Audits in the WebUI, the records are showing "Missing(ID: 2)" in "Host ids" line. Version-Release number of selected component (if applicable): satellite-6.6.0-5.beta.el7sat.noarch How reproducible: always Steps to Reproduce: 1. Register a host to the Satellite 2. Go to Hosts > Content hosts > pick the host > tab Subscriptions > Add or Remove some subscription 3. Go to Monitor > Audits > check the latest log Actual results: "Missing(ID: 2)" shown in "Host ids" item Expected results: Valid value shown in "Host ids" item Additional info: See the attachment