Description of problem: https://<satellite-fqdn>/api/v2/smart_class_parameters/<smart-class-param-id>/override_values?per_page=10&page=2 Note: in the above URL, considering there are > 10 records in total. In this scenario if the value of PAGE is greater than 1 then it does not work. Log shows below error- 2018-11-06 07:23:23 e53c6589 [app] [I] Started GET "/api/v2/smart_class_parameters/1332/override_values?per_page=10&page=2" for 10.76.1.131 at 2018-11-06 07:23:23 +0530 2018-11-06 07:23:23 e53c6589 [app] [I] Processing by Api::V2::OverrideValuesController#index as JSON 2018-11-06 07:23:23 e53c6589 [app] [I] Parameters: {"per_page"=>"1", "page"=>"2", "apiv"=>"v2", "smart_class_parameter_id"=>"<smart-class-param-id>", "override_value"=>{}} 2018-11-06 07:23:23 e53c6589 [app] [I] Current user: admin (administrator) 2018-11-06 07:23:23 e53c6589 [app] [I] Expire fragment views/tabs_and_title_records-3 (0.2ms) 2018-11-06 07:23:23 e53c6589 [app] [I] Filter chain halted as :return_if_smart_mismatch rendered or redirected 2018-11-06 07:23:23 e53c6589 [app] [I] Completed 404 Not Found in 78ms (Views: 0.4ms | ActiveRecord: 8.5ms) Version-Release number of selected component (if applicable): satellite-6.3.4-2.el7sat.noarch How reproducible: Always Steps to Reproduce: [root@satellite ~]# curl -k -u admin:<password> -X GET https://<satellite-fqdn>/api/v2/smart_class_parameters/<smart-class-param-id>/override_values?per_page=10&page=2 Actual results: "Completed 404 Not Found" error Expected results: Respective page records should be fetched. Additional info:
How many smart class parameters do you have? This sounds like: https://bugzilla.redhat.com/show_bug.cgi?id=1385217 The search is on the top level resource (smart class parameters) and not override values.
The upstream issue connected is the same for: https://bugzilla.redhat.com/show_bug.cgi?id=1385217 so I'm closing this one as a duplicate. *** This bug has been marked as a duplicate of bug 1385217 ***