| Summary: | 'imgbase w' won't give informative data about node version | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-node | Reporter: | Tareq Alayan <talayan> |
| Component: | General | Assignee: | Douglas Schilling Landgraf <dougsland> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Huijuan Zhao <huzhao> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.1 | CC: | bugs, cshao, dougsland, rbarry, talayan, ycui |
| Target Milestone: | ovirt-4.1.0-rc | Keywords: | Reopened |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ fdeutsch: devel_ack+ ycui: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-19 14:55:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tareq Alayan
2016-04-05 08:53:07 UTC
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 |