Bug 1412094

Summary: The format of error message is inaccurate when using imgbase layout --init after installation finished
Product: [oVirt] ovirt-node Reporter: Qin Yuan <qiyuan>
Component: GeneralAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: Qin Yuan <qiyuan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.1CC: bugs, cshao, dguo, huzhao, jiawu, leiwang, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui, yzhao
Target Milestone: ovirt-4.1.0-rcFlags: rule-engine: ovirt-4.1+
cshao: testing_ack+
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: imgbased-0.9.3-0.1.el7ev Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:34:31 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 Qin Yuan 2017-01-11 09:07:40 UTC
Description of problem:
Install RHVH 4.1, after reboot and log in to RHVH system, run command "imgbase layout --init", there will be an error message printed out as below:

imgbased.imgbase.ExistingImgbaseWithTags: Looks like the system already has imgbase working properly.
However, imgbase was called with --init. If this wasintentional, please untag the existing volumes and try again.

The words "was" and "intentional" are connected together without any separator. There should be a space between them.


Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.1-0.20170104.0
imgbased-0.9.2-0.1.el7ev.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install redhat-virtualization-host-4.1-0.20170104.0
2. Reboot and log in to RHVH 4.1
3. Run "imgbase layout --init"

Actual results:
1. After step3, An inaccurate error message as described above is printed out on the screen.

Expected results:
1. After step3, An accurate error message will be printed out on the screen.

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2017-01-11 17:26:02 UTC
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.

Comment 2 Qin Yuan 2017-01-18 09:38:40 UTC
Test Versions:
redhat-virtualization-host-4.1-20170116.0
imgbased-0.9.4-0.1.el7ev.noarch

Test Steps:
1. Install redhat-virtualization-host-4.1-20170116.0
2. Reboot and log in to RHVH 4.1
3. Run "imgbase layout --init"

Test Results:
After step3, there are error messages as below:
imgbased.imgbase.ExistingImgbaseWithTags: Looks like the system already has imgbase working properly.
However, imgbase was called with --init. If this was intentional, please untag the existing volumes and try again.

The messages don't have the problem described in the bug's Description. So modify the bug's status to VERIFIED.