Bug 1347088

Summary: An error occurs during anaconda interactive installation on multipath disk machine.
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: Installation & UpdateAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED WORKSFORME QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: bugs, cshao, fdeutsch, huiwa, huzhao, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.0.1Flags: fdeutsch: ovirt-4.0.z?
rule-engine: planning_ack?
fdeutsch: devel_ack+
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: 2016-06-17 08:50:50 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:
Attachments:
Description Flags
multipath-1
none
multipath -2
none
all log info
none
/tmp/log none

Description cshao 2016-06-16 03:07:37 UTC
Created attachment 1168552 [details]
multipath-1

Description of problem:
An error occurs during anaconda interactive installation on multipath disk machine.

There was an error running the kickstart script at line 6, this is a fatal error and installation will be aborted.


Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-ovirt-4.0-snapshot-2016061504.iso
imgbased-0.7.0-0.201606141357gitbd2220e.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Prepare 2 disks(disk 1 & disk2).
2. Install RHVH on this machine via anaconda interactive installation.
3. Place /boot partition on disk1.
4. Place other partition(/; /home; /var; /swap) on disk1 and 2.
5. Continue install RHVH.
6. Focus on the installation process.

Actual results:
An error occurs during anaconda interactive installation on multipath disk machine.


Expected results:
Anaconda interactive installation on multipath disk machine can successful.

Additional info:
No such issue during anaconda interactive installation on one disk machine.

Comment 1 cshao 2016-06-16 03:08:05 UTC
Created attachment 1168553 [details]
multipath -2

Comment 2 cshao 2016-06-16 03:08:47 UTC
Created attachment 1168554 [details]
all log info

Comment 3 Fabian Deutsch 2016-06-16 09:29:27 UTC
Chen, the logs from comment 2 seem to be from post-installation.

To debug this issue I need the logs which are stored during the installation on /tmp.

Comment 4 Fabian Deutsch 2016-06-16 11:11:17 UTC
I could not reproduce this issue with:

ovirt-node-ng-installer-ovirt-4.0-snapshot-2016061513.iso
and
RHEV-H-7.2-20160610.1-RHEVH-x86_64-dvd1.iso

Comment 5 cshao 2016-06-16 14:24:28 UTC
Created attachment 1168756 [details]
/tmp/log

Comment 6 Fabian Deutsch 2016-06-16 14:31:06 UTC
Please re-run the installation, but change the kickstart to use:

imgbase --debug layout --init

Comment 7 cshao 2016-06-17 06:01:21 UTC
(In reply to Fabian Deutsch from comment #6)
> Please re-run the installation, but change the kickstart to use:
> 
> imgbase --debug layout --init

The installation can successful after re-run with "imgbase --debug layout --init"

ks:
liveimg --url=http://10.66.8.184/cshao/ngn/ovirt-node-ng-image.squashfs.img
imgbase --debug layout --init

Test version:
ovirt-node-ng-installer-ovirt-4.0-snapshot-2016061504.iso
imgbased-0.7.0-0.201606141357gitbd2220e.el7.centos.noarch
+
rhev-hypervisor7-ng-4.0-20160616.0.x86_64
redhat-release-rhev-hypervisor-4.0-0.7.el7.x86_64

Comment 8 Fabian Deutsch 2016-06-17 08:50:50 UTC
I think it was a one time failure, --debug only increases the output and has no functional change.

Closing according to comment 7 and comment 4.

Comment 9 Ying Cui 2016-07-15 09:56:18 UTC
Fabian, for this bug, in document, we need to guide user to customize the KS file as must use "imgbase layout --init" in post session otherwise avoiding some exception.

Comment 10 Ying Cui 2016-07-15 09:57:28 UTC
(In reply to Ying Cui from comment #9)
> Fabian, for this bug, in document, we need to guide user to customize the KS
> file as must use "imgbase layout --init" in post session otherwise avoiding
> some exception.

...to avoid some exception.