Bug 1647582
Summary: | hammer task list --search no longer appears to search ID field | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Hudson <chhudson> | ||||
Component: | Tasks Plugin | Assignee: | Adam Ruzicka <aruzicka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.4.0 | CC: | aruzicka, chhudson, egolov, inecas, mmccune, rplevka | ||||
Target Milestone: | 6.5.0 | Keywords: | Regression, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-scoped_search-4.1.6 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1759534 (view as bug list) | Environment: | |||||
Last Closed: | 2019-05-14 12:38:40 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1759534 | ||||||
Attachments: |
|
Description
Chris Hudson
2018-11-07 20:10:24 UTC
The user should still be able to search by task IDs by using something like
> hammer task list --search 'id = $ID'
This will be also faster than running hammer task list --search $ID. Is it really needed to bring back the less-performant way of doing the same thing?
That works - I managed to typo my uuid copy/paste and let a character off. Thanks! Now, can we tell why this behavior changed? On another note, if you go to the webui for a sat 6.3.4 installation and type "id" into the filter field of the tasks page, you get some basic operator options and the query seems sound. If you type "id" into the filter field on the tasks page of a 6.4 installation, you can observe an error. I will attach a screenshot. Created attachment 1503369 [details]
6.4 id error
Created redmine issue https://projects.theforeman.org/issues/25426 from this bug Upstream bug assigned to aruzicka Upstream bug assigned to aruzicka The upstream fix was merged, moving to POST. VERIFIED on satellite-6.5.0-5.beta.el7sat.noarch # hammer task list --search 64389ac3-4c7d-4c8e-9d46-b9013226ad7e -------------------------------------|----------------------------------------------------------------------------------|---------|---------|---------------------|---------------------|-------|------------ ID | ACTION | STATE | RESULT | STARTED AT | ENDED AT | OWNER | TASK ERRORS -------------------------------------|----------------------------------------------------------------------------------|---------|---------|---------------------|---------------------|-------|------------ 64389ac3-4c7d-4c8e-9d46-b9013226ad7e | Upload into repository {"text"=>"repository 'repo2'", "link"=>nil} product {"... | stopped | success | 2018/12/10 13:41:57 | 2018/12/10 13:42:00 | admin | -------------------------------------|----------------------------------------------------------------------------------|---------|---------|---------------------|---------------------|-------|------------ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1222 |