Hide Forgot
Description of problem: imgbase w won't give informative data about node version Version-Release number of selected component (if applicable): [root@automation-nested-4 ~]# imgbase w [INFO] You are on ovirt-node-ng-007-1.el7+1 How reproducible: always Steps to Reproduce: 1. run imgbase w Actual results: [INFO] You are on ovirt-node-ng-007-1.el7+1 Expected results: more informative info about the version of node Additional info:
Please provide rpm -q imgbased ovirt-release-host-node
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.
We'll be adding another bit of information to retrieve the build version $ imgbase build --info
rpm -q imgbased ovirt-release-host-node imgbased-0.5-0.201603300820git5588e4e.el7.centos.noarch ovirt-release-host-node-007-1.el7.noarch
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.
Fabian is out on PTO. What information are you looking to view, Tariq?
rpm -q imgbased ovirt-release-host-node imgbased-0.7.2-0.1.el7ev.noarch package ovirt-release-host-node is not installed
rpm -q ovirt-node-ng-image-update-placeholder (After update from yum) rpm -q ovirt-node-ng-image
Closing this bug $ imgbase w Tells you the layer you are on $ imgbase build --info Gives you informations about the build, which includes the image version of the current image (usually equal to imgbase w). The imgbase version can be retrieved with rpm -q imgbased
imgbased-0.8.4-1.el7ev.noarch still doesn't have this build --info option [root@automation-nested-1 ~]# imgbase build --infog usage: imgbase [-h] [--version] [--debug] [--experimental] [--stream STREAM] {base,layer,w,layout,check,motd,update,rollback} ... imgbase: error: argument command: invalid choice: 'build' (choose from 'base', 'layer', 'w', 'layout', 'check', 'motd', 'update', 'rollback') imgbase w [INFO] You are on rhvh-4.0-0.20160829.0+1
imgbase build --info usage: imgbase [-h] [--version] [--debug] [--experimental] [--stream STREAM] {base,layer,w,layout,check,motd,update,rollback} ... imgbase: error: argument command: invalid choice: 'build' (choose from 'base', 'layer', 'w', 'layout', 'check', 'motd', 'update', 'rollback')
The patch was never included, moving back to NEW
Tareq, we got a patch merged from Fabian and looks like the output for now is: # imgbase image-introspect --metadata { "nvr": "ovirt-node-ng-4.1.0-0.20161129.0" } Is that what you are looking for? Fabian, fell free to provide more input here.
I expect that `imgbase w` should show this, rather than `image-introspect`, probably.
well, currently you have the output: [INFO] You are on rhvh-4.1-0.20170116.0+1 which contains the date of build, i am ok with that.
(In reply to Tareq Alayan from comment #15) > well, currently you have the output: > [INFO] You are on rhvh-4.1-0.20170116.0+1 > > which contains the date of build, i am ok with that. Thanks for your input. I will close the report.
Just closed as currentrelease as we do provide such format in 4.0 series, i.e: RHVH-4.0-20161116.0-RHVH-x86_64-dvd1.iso. Thanks