Bug 1841561 - Drift Comparison shows drift in installed packages where is none
Summary: Drift Comparison shows drift in installed packages where is none
Keywords:
Status: ASSIGNED
Alias: None
Product: Cloud Software Services (cloud.redhat.com)
Classification: Red Hat
Component: Drift
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Eric Helms
QA Contact: Mike Sager
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-29 13:18 UTC by Joerg K
Modified: 2020-06-10 13:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)
Screenshot of Drift Comparison view (58.43 KB, image/png)
2020-05-29 13:18 UTC, Joerg K
no flags Details

Description Joerg K 2020-05-29 13:18:51 UTC
Created attachment 1693374 [details]
Screenshot of Drift Comparison view

Description of problem:
In Insights -> Drift -> Comarison I selected two of my systems to compare them to each other. The drift analysis shows differences for three installed packages. Please see screenshot attached to this bugzilla.

From drift analysis there is a difference in the package architecture. But the mentioned packages are installed as i686 and x86_64 packages on both systems. So while the same packages are installed on both systems there is no reason to show a drift here.


Version-Release number of selected component (if applicable):
kernel 3.10.0-1127.8.2.el7.x86_64
insights-client.noarch 3.0.13-1.el7_7
rpm.x86_64 4.11.3-43.el7
yum.noarch 3.4.3-167.el7

Packages in question:
elfutils-libelf-0.176-4.el7.x86_64
pam-1.1.8-23.el7.i686
rdma-core-22.4-2.el7_8.i686
elfutils-libelf-0.176-4.el7.i686
rdma-core-22.4-2.el7_8.x86_64
pam-1.1.8-23.el7.x86_64

How reproducible:
I'm not entirely sure on this but I would guess you could reproduce it the following way.


Steps to Reproduce:
1. Install x86_64 version as well as the i686 package version of above packages on two similar systems
2. Compare both systems using Inights Drift

Actual results:
Drift shows different packages for both systems (see screenshot attachted to this bugzilla).


Expected results:
There shouldn't be any differences because both package types are installed on each system.


Additional info:
In case you need additional information to triage this one. Please, tell me which info do yu need and how to collect them. I'm happy to help.

Comment 1 Mike Sager 2020-06-03 14:49:20 UTC
Drift doesn't currently support multiple values for a fact.  This can lead to unexpected comparison states -- in this case, when a package is installed for multiple architectures.  Support for this capability is planned for the next release.

Trello card: https://trello.com/c/WAJDr2bt/1527-bz-1841561-drift-comparison-shows-drift-in-installed-packages-where-there-is-none

Comment 2 Joerg K 2020-06-04 10:51:12 UTC
Sorry, I'm not allowed to access the Trello card you mentioned. Could you post the content of the card regarding this case here, please?

Comment 3 Mike Sager 2020-06-05 19:40:40 UTC
Joerg, sure.  It's pretty much what I posted above.

The customer has packages installed for multiple architectures. Drift doesn't currently support multiple values for a fact. This can lead to unexpected comparison states. Support for this capability is planned for the next release.


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