Bug 1269101

Summary: RHEL 7.1 via HTTP tree identified as 7.0
Product: [Community] Virtualization Tools Reporter: Alexander Todorov <atodorov>
Component: libosinfoAssignee: Matthias Clasen <mclasen>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: berrange, cfergeau, fidencio, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1268300 Environment:
Last Closed: 2018-09-06 12:29:30 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:

Description Alexander Todorov 2015-10-06 10:50:15 UTC
+++ This bug was initially created as a clone of Bug #1268300 +++

Description of problem:

RHEL 7.1 is present  but for some reason virt-manager when using http/.treeinfo identifies it as rhel7.0

--- Additional comment from Christophe Fergeau on 2015-10-02 16:34:03 EEST ---

(In reply to Alexander Todorov from comment #0)
> 
> 7.1 is present  but for some reason virt-manager when using http/.treeinfo
> identifies it as rhel7.0

I'm not sure libosinfo is involved with identifying these


-------------

As far as I was able to track virt-manager's code it reads the version from .treeinfo and forms a string like rhel7.1. Then it tries to validate it against libosinfo and if that fails decrements the minor number so the string becomes rhel7.0.


Let me know if you need this reassigned to virt-manager for more feedback. 

This is on Rawhide.

Comment 2 Fabiano FidĂȘncio 2018-09-06 12:29:30 UTC
I wasn't able to reproduce this issue.
Please, in case you hit it again, feel free to re-open the bug and we'd also like to know:
- osinfo-db version
- the output of `isodata -d -i /path/to/rhel.iso