Bug 2047260
Summary: | DNF on otopi is logging UNKNOWN for packages on some actions | ||
---|---|---|---|
Product: | [oVirt] otopi | Reporter: | Barbora Dolezalova <bdolezal> |
Component: | General | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 1.9.6 | CC: | bugs |
Target Milestone: | ovirt-4.5.0 | Flags: | sbonazzo:
ovirt-4.5+
sbonazzo: devel_ack+ |
Target Release: | 1.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | otopi-1.10.0 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-04-28 09:26:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2034313 |
Description
Barbora Dolezalova
2022-01-27 13:25:22 UTC
A minimal reproduction/verification flow is something like: 1. dnf install otopi otopi-debug-plugins 2. Configure older repos of something (OS, oVirt, etc.) 3. dnf install some-package-that-has-an-update 4. Configure repos that have an update for some-package-that-has-an-update 5. otopi ODEBUG/packagesAction=str:install ODEBUG/packages=str:some-package-that-has-an-update 6. Optionally, also: otopi ODEBUG/packagesAction=str:install ODEBUG/packages=str:some-package-that-has-an-update-$older_version-$older_release.$dist.$arch I personally tested this with a system that had an older CentOS Stream, then ran 'dnf update', picked up some package, and tested with: otopi ODEBUG/packagesAction=str:install ODEBUG/packages=str:sysfsutils otopi ODEBUG/packagesAction=str:install ODEBUG/packages=str:sysfsutils-2.1.0-24.el8.x86_64 With a broken version, some output lines include 'DNF Unknown': [ INFO ] Stage: Package installation Calling install on sysfsutils-2.1.0-24.el8.x86_64: Result is: True [ INFO ] DNF Downloading 1 files, 48.73KB [ INFO ] DNF Downloaded sysfsutils-2.1.0-24.el8.x86_64.rpm [ INFO ] DNF Downgrade: sysfsutils-2.1.0-24.el8.x86_64 [ INFO ] DNF Unknown: sysfsutils-2.1.0-25.el8.x86_64 [ INFO ] DNF Verify: sysfsutils-2.1.0-24.el8.x86_64 1/2 [ INFO ] DNF Verify: sysfsutils-2.1.0-25.el8.x86_64 2/2 With a fixed version, these lines have specific text as applicable, e.g.: [ INFO ] Stage: Package installation Calling install on sysfsutils-2.1.0-24.el8.x86_64: Result is: True [ INFO ] DNF Downloading 1 files, 48.73KB [ INFO ] DNF Downloaded sysfsutils-2.1.0-24.el8.x86_64.rpm [ INFO ] DNF Downgrade: sysfsutils-2.1.0-24.el8.x86_64 [ INFO ] DNF Downgraded: sysfsutils-2.1.0-25.el8.x86_64 [ INFO ] DNF Verify: sysfsutils-2.1.0-24.el8.x86_64 1/2 [ INFO ] DNF Verify: sysfsutils-2.1.0-25.el8.x86_64 2/2 This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |