Bug 1613381 - Unable to query audits by subnet type: ScopedSearch::QueryNotSupported
Summary: Unable to query audits by subnet type: ScopedSearch::QueryNotSupported
Keywords:
Status: CLOSED DUPLICATE of bug 1602747
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Audit Log
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-07 13:11 UTC by Roman Plevka
Modified: 2018-08-31 14:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-31 14:44:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24663 0 None None None 2018-08-20 10:20:16 UTC

Description Roman Plevka 2018-08-07 13:11:28 UTC
Description of problem:
the following used to work in 6.3 but no longer works in 6.4.0:

2018-08-04 05:26:58 - nailgun.client - DEBUG - Making HTTP GET request to https://qe-sat64-rhel7-tier1.satqe.lab.eng.rdu2.redhat.com/api/v2/audits with options {'data': '{"search": "type=subnet"}', 'auth': ('admin', 'changeme'), 'verify': False, 'headers': {'content-type': 'application/json'}}, no params and no data.
2018-08-04 05:26:58 - nailgun.client - WARNING - Received HTTP 400 response: {
  "error": {"message":"'auditable_type' should be one of 'role, ptable, provisioning_template, filter, katello/repository, hostgroup, smart_proxy, katello/host/content_facet, katello/host/subscription_facet, remote_execution_feature, lookup_value, model, domain, realm, environment, architecture, image, usergroup, hostgroup_class, puppetclass, medium, katello/content_view, katello/kt_environment, job_template, bookmark, katello/activation_key, katello/host_collection, katello/sync_plan, katello/capsule_lifecycle_environment, katello/content_view_component, katello/content_view_environment, katello/content_view_puppet_module, katello/content_view_version, katello/gpg_key, katello/product, foreman_virt_who_configure/config, job_invocation, ansible_role, foreman_openscap/policy, foreman_openscap/scap_content, foreman_openscap/tailoring_file, discovery_rule, compute_profile, config_group, config_group_class, ssh_key, compute_attribute, host_class, host_config_group, http_proxy, key_pair, personal_access_token, auth_source, compute_resource, host, interface, location, os, organization, override_value, partition_table, smart_class_parameter, smart_variable, parameter', but the query was 'subnet'","class":"ScopedSearch::QueryNotSupported"}
}

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

How reproducible:
always

Comment 1 Brad Buckingham 2018-08-07 17:07:53 UTC
Adding Regression keyword based upon the description indicating that it worked in 6.3.

Comment 4 Ondřej Pražák 2018-08-20 10:20:14 UTC
Created redmine issue http://projects.theforeman.org/issues/24663 from this bug

Comment 5 Tomer Brisker 2018-08-31 14:44:13 UTC

*** This bug has been marked as a duplicate of bug 1602747 ***


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