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 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.