Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1483943

Summary: imgbase layer naming is not always consistent between kickstarted squash.img and interactive installs from ISO
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: Installation & UpdateAssignee: Ryan Barry <rbarry>
Status: CLOSED WORKSFORME QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1CC: bugs, cshao, dguo, huzhao, jiawu, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui, yzhao
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
cshao: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-31 11:38:45 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:
Embargoed:

Description cshao 2017-08-22 10:46:41 UTC
Description of problem:
imgbase checking info is not consistent between squash.img and ISO

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.1-20170816.2
RHVH-4.1-20170817.0-RHVH-x86_64-dvd1.iso
imgbased-0.9.47-0.1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH via redhat-virtualization-host-4.1-20170816.2.x86_64.liveimg.squashfs.
2. Login RHVH, run # imgbase w
3. Install RHVH via RHVH-4.1-20170817.0-RHVH-x86_64-dvd1.iso.
4. Login RHVH, run # imgbase w

Actual results:
1. After step 2:  # imgbase w
You are on rhvh-4.1-0.20170816.2
2. After step 4: # imgbase w
You are on rhvh-4.1-0.20170817.0+1
imgbase checking info is not consistent between squash.img and ISO

Expected results:
The version info should be consistent to avoid any confusion.

Additional info:

Comment 1 Ryan Barry 2017-10-24 12:47:22 UTC
Can you please retest? The naming here should come from /usr/share/imgbased/meta/nvr

Comment 2 cshao 2017-10-31 11:38:45 UTC
(In reply to Ryan Barry from comment #1)
> Can you please retest? The naming here should come from
> /usr/share/imgbased/meta/nvr

Test version:
redhat-virtualization-host-4.2-20171011.2


Test steps:
1. Install RHVH via redhat-virtualization-host-4.2-20171011.2.x86_64.liveimg.squashfs
2. Login RHVH, run # imgbase w
3. Install RHVH via RHVH-4.2-20171012.6-RHVH-x86_64-dvd1.iso
4. Login RHVH, run # imgbase w

Actual results:
1. After step 2:  
# imgbase w 
You are on rhvh-4.2-0.20171012.0+1

2. After step 4:
# imgbase w 
You are on rhvh-4.2-0.20171012.0+1

Test result: 
The version info can consistent now.
So close this bug as WORKSFORME