Bug 896179
| Summary: | Katello system search using lastCheckin returns invalid results | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | James Laska <jlaska> | ||||||||
| Component: | WebUI | Assignee: | Brad Buckingham <bbuckingham> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachin Ghai <sghai> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 6.0.1 | CC: | bbuckingham, bkearney, sghai, srevivo, sthirugn | ||||||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||
| Target Release: | Unused | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2015-08-12 13:55:48 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: | 1151618 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
James Laska
2013-01-16 19:30:55 UTC
I believe I'm seeing the same problem manifest in another use case.
== Steps to reproduce ==
1) Register a RHEL-6.3 system to CFSE
2) Upgrade system to RHEL-6.4 Beta
3) Update system facts: sub-man facts --update
4) Query for 6.4 systems from the CFSE webui using query, "distribution.version:6.4"
== Actual Outcome ==
* System with the following facts does not appear in web-ui query for "distribution.version:6.4"
> # subscription-manager facts | grep distribution
> distribution.id: Santiago
> distribution.name: Red Hat Enterprise Linux Server
> distribution.version: 6.4
* The system does appear in a web-ui query for the old fact: distribution.version:6.3
== Expected Outcome ==
* A system with fact distribution.version:6.4 should appear in a web-ui query for that filter
From a quick dump of the search index on the server used in comment #2, I was able to confirm that the upgraded system still has the old value in the search index (i.e. "distribution.version":"6.3"). getting rid of 6.0.0 version since that doesn't exist This appears to be resolved. Aligning to 6.1 for QE verification. Verified with: sat6.1 beta snap6 compose2 (Satellite-6.1.0-RHEL-6-20150311.1). I followed the steps in comment 2. I registered a rhel6.5 machine and when I tried to search the machine with 6.5 version. It was working. Search was giving me results. Please see the screenshot. Created attachment 1002786 [details]
distribution.version:6.5 giving correct host
Now I upgraded the registered host to rhel6.6 and updated facts: --- Complete! [root@mgmt3 yum.repos.d]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) [root@mgmt3 yum.repos.d]# subscription-manager facts --update Successfully updated the system facts. [root@mgmt3 yum.repos.d]# --- Now A system with fact distribution.version:6.6 appears in a web-ui query for that filter Created attachment 1002787 [details]
distribution.version:6.6 giving correct host after upgrade
Moving to verified as per comments 10 11 12 13. This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |