Bug 1385217

Summary: Searching smart_class_parameters override_values fails
Product: Red Hat Satellite Reporter: Anand Agrawal <aagrawal>
Component: ParametersAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.2CC: andrew.schofield, bkearney, egolov, inecas, jcallaha, kabbott, mmccune, orabin
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: foreman-1.22.0-0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-02 12:34:35 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 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.