Bug 1772702
Summary: | Unable to sync the ansible inventory with filters on ansible role. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Varatharaja Perumal G <vgunasek> |
Component: | Users & Roles | Assignee: | Ondřej Ezr <oezr> |
Status: | CLOSED MIGRATED | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.6.0 | CC: | ajambhul, aruzicka, mhulan, oezr |
Target Milestone: | Unspecified | Keywords: | MigratedToJIRA, Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-06-05 21:34:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Varatharaja Perumal G
2019-11-14 22:47:58 UTC
This seems as something wrong in the database, instances of Host::Base shouldn't exist. Could you please try to verify, what does the following query return on production database? SELECT "hosts".* FROM "hosts" WHERE (type = 'Host::Base') or if that's easier, run foreman-rake console and execute Host::Base.where "type = 'Host::Base'" the upload the result here please. Upstream bug assigned to oezr Upstream bug assigned to oezr Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30555 has been resolved. Fix is in Satellite 6.9 SNAP 1 with foreman-2.3.0-0.7.rc1.el7sat.noarch After discussion with developer we decided to put this to FailedQA. I was able to reproduce the problem with 6.8.5 snap 1. New role with filter on host view (with enough permissions to run ansible playbook), new user with assigned role, content host was registered by admin, Ansible playbook was ran from new user on new host. (no ansible tower was used) Did the same steps with 6.9 snap 17. New user no longer sees the error in 6.9, but is also unable to read facts, so the problem persist. Upstream bug assigned to oezr 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. |