Bug 2106350 - Search query for Actions::Katello::Repository::Sync using resource_id is inconsistent
Summary: Search query for Actions::Katello::Repository::Sync using resource_id is inco...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.11.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 12:26 UTC by Stephen Wadeley
Modified: 2023-07-21 21:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-18294 0 None None None 2023-06-12 18:07:42 UTC

Description Stephen Wadeley 2022-07-12 12:26:32 UTC
Description of problem:

I have four repos (two products with two repos each in my case):

~]# hammer repository list --organization-id 3
---|--------------|--------------|--------------|
ID | NAME         | PRODUCT      | CONTENT TYPE |
---|--------------|--------------|--------------|
4  | AJHDxRmzkKuO | hrIfAN       | yum          |
3  | fxMckIvZRhr  | hrIfAN       | yum          |
2  | PSXHeiTjSubu | fqwiXHEcQxTm | yum          |
1  | xovZbdO      | fqwiXHEcQxTm | yum          |
---|--------------|--------------|--------------|

 and searched for:

Actions::Katello::Repository::Sync and organization_id = 3 and resource_id = 4 

I got one repo as expected.

I searched for:

Actions::Katello::Repository::Sync and organization_id = 3 and resource_id = 3

this time I got more than one repo.

Version-Release number of selected component (if applicable):
Sat6.11.1 snap 1


How reproducible:
every time


Steps to Reproduce:
1. Create two products with two repos each
2. Search `
Actions::Katello::Repository::Sync and organization_id = 3 and resource_id = 4`
3. Search `
Actions::Katello::Repository::Sync and organization_id = 3 and resource_id = 3`
4. Compare the results

Actual results:
multiple repos

Expected results:
one repo

Additional info:

Using a search in this format, with resource_type = Katello::Repository, works as expected:
Actions::Katello::Repository::Sync and organization_id = 3 and resource_type = Katello::Repository and resource_id =  3

Comment 1 Brad Buckingham 2023-07-21 21:06:39 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.


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