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 1385217 - Searching smart_class_parameters override_values fails
Summary: Searching smart_class_parameters override_values fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Parameters
Version: 6.2.2
Hardware: All
OS: All
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
: 1649187 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-15 09:45 UTC by Anand Agrawal
Modified: 2022-03-13 14:07 UTC (History)
8 users (show)

Fixed In Version: foreman-1.22.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-02 12:34:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Anand Agrawal 2016-10-15 09:45:28 UTC
Description of problem:
when searching for entries in the API call https://satellite.example.com/api/v2/smart_class_parameters/148/override_values

using ?search=<something> fails.

GET: https://satellite.example.com/api/v2/smart_class_parameters/148/override_values

{
  "total": 1,
  "subtotal": 1,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "created_at": "2016-10-14 18:55:05 UTC",
      "updated_at": "2016-10-14 18:55:05 UTC",
      "id": 2,
      "match": "fqdn=hostname.example.redhat.com",
      "value": "testing",
      "use_puppet_default": false
    }
  ]
}

But: GET https://satellite.example.com/api/v2/smart_class_parameters/148/override_values?search="testing"

{
 "message":"Smart class parameter not found by id ''"
}

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


How reproducible:

Always

Steps to Reproduce:
1. Hit the API url https://satellite.example.com/api/v2/smart_class_parameters/148/override_values?search="testing"


Actual results:

{
 "message":"Smart class parameter not found by id ''"
}

Expected results:

Return entry with override_values as response

Comment 2 orabin 2016-11-08 12:04:44 UTC
Created redmine issue http://projects.theforeman.org/issues/17268 from this bug

Comment 5 Bryan Kearney 2018-09-04 18:06:19 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 6 orabin 2018-12-24 11:54:31 UTC
*** Bug 1649187 has been marked as a duplicate of this bug. ***

Comment 8 Bryan Kearney 2019-01-15 11:53:15 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/13517 has been resolved.

Comment 9 Bryan Kearney 2019-01-15 11:54:10 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/13517 has been resolved.

Comment 10 Bryan Kearney 2019-01-15 11:55:11 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/13517 has been resolved.

Comment 11 Bryan Kearney 2019-01-15 11:56:08 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/13517 has been resolved.

Comment 13 Peter Ondrejka 2019-08-01 13:50:07 UTC
Checked on satellite 6.6 snap 13 using commands from the search description. The aforementioned error no longer occurs, though the search doesn't seem to have any effect, all override values are always returned, even when searching for non existent value.

Comment 16 Bryan Kearney 2020-03-04 14:08:48 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 17 Bryan Kearney 2020-04-02 12:34:35 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.


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