Description of problem: imgbased version information is not consistent "# rpm -qa imgbased" vs. "# imgbase --version" Version-Release number of selected component (if applicable): rhev-hypervisor7-ng-3.6-20160429.0 imgbased-0.6-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install rhev-hypervisor7-ng-3.6-20160429.0 2. Check # rpm -qa imgbased imgbased-0.6-0.1.el7ev.noarch # imgbase --version imgbased-0.6-git1e3b28f Actual results: imgbased version information is not consistent. Expected results: imgbased version information should be consistent like kernel does # uname -r 3.10.0-327.13.1.el7.x86_64 # rpm -qa kernel kernel-3.10.0-327.13.1.el7.x86_64
Created attachment 1154542 [details] var_log
It is not fixed in ovirt-node-ng-installer-ovirt-4.0-snapshot-2016062108.iso # md5sum ovirt-node-ng-installer-ovirt-4.0-snapshot-2016062108.iso b23e44452c2d70f02cb6f32f8aeabcf6 ovirt-node-ng-installer-ovirt-4.0-snapshot-2016062108.iso Interactive installed this iso successful, after reboot, checking the following: # rpm -qa imgbased imgbased-0.7.0-0.201606170910git3cb1db2.el7.centos.noarch # imgbase --version imgbased-0.7.0-gitimgbased-0.7-10-g3cb1db2 Result: imgbased version information is not consistent.
My bad, I accidentally moved it to ON_QA.
The solution needs some additional work.
The remaining issue is that --versin out put is wrong: # imgbase --version imgbased-0.7.0-gitimgbased-0.7-10-g3cb1db2 Otherwise the packaging NVR and --version output correlate enough - they will never be the same - because they are two different things (package version and binary version).
Test version: redhat-virtualization-host-4.1-20170222.0 imgbased-0.9.13-0.1.el7ev.noarch # rpm -qa imgbased imgbased-0.9.13-0.1.el7ev.noarch # imgbase --version imgbased-0.9.13 Test result: imgbased version information is not identical, so the bug is partial fixed, change bug status to ASSIGNED.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
(In reply to shaochen from comment #6) > Test version: > redhat-virtualization-host-4.1-20170222.0 > imgbased-0.9.13-0.1.el7ev.noarch > > # rpm -qa imgbased > imgbased-0.9.13-0.1.el7ev.noarch > > # imgbase --version > imgbased-0.9.13 > > Test result: > imgbased version information is not identical, so the bug is partial fixed, > change bug status to ASSIGNED. It shouldn't be the same as the RPM, we follow a standard --version scheme so if we take python for example: [yturgema@piggie ~]$ rpm -q python python-2.7.13-1.fc25.x86_64 [yturgema@piggie ~]$ python --version Python 2.7.13
> It shouldn't be the same as the RPM, we follow a standard --version scheme > so if we take python for example: > > [yturgema@piggie ~]$ rpm -q python > python-2.7.13-1.fc25.x86_64 > [yturgema@piggie ~]$ python --version > Python 2.7.13 Thanks for reminding, please help move back bug status to ON_QA, I will verify it.
Verify this bug according #c8.