Bug 1179085

Summary: [3.5-6.6] Unexpected block devices are listed on "select disk" during dirty TUI installation on machine
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Anatoly Litovsky <tlitovsk>
Status: CLOSED ERRATA QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: adahms, amureini, cshao, fdeutsch, gklein, huiwa, lbopf, leiwang, lsurette, rbarry, yaniwang, ycui, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: ZStream
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.3.0-0.4.20150906git14a6024.el7ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1263213 (view as bug list) Environment:
Last Closed: 2016-03-09 14:24:42 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:
Bug Depends On:    
Bug Blocks: 1263213    
Attachments:
Description Flags
Unexpected block devices.png
none
cciss.tar.gz
none
z800-02-issue.png none

Description cshao 2015-01-06 07:44:32 UTC
Created attachment 976722 [details]
Unexpected block devices.png

Description of problem:
Unexpected block devices are listed on "select disk" during TUI installation on cciss machine.

[root@hp-bl465cg5-01 cciss]# pwd
/dev/cciss

[root@hp-bl465cg5-01 cciss]# ll
total 0
brw-rw----. 1 root disk 104, 0 2015-01-06 06:43 c0d0
brw-rw----. 1 root disk 104, 1 2015-01-06 05:52 c0d0p1
brw-rw----. 1 root disk 104, 2 2015-01-06 05:52 c0d0p2
brw-rw----. 1 root disk 104, 3 2015-01-06 05:52 c0d0p3
brw-rw----. 1 root disk 104, 4 2015-01-06 05:52 c0d0p4

[root@hp-bl465cg5-01 cciss]# lsblk
NAME                    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0                     7:0    0   230M  0 loop /dev/.initramfs/live
loop1                     7:1    0     4K  1 loop 
loop2                     7:2    0   452K  1 loop 
└─live-osimg-min (dm-1) 253:1    0   1.5G  1 dm   
loop3                     7:3    0 167.7M  1 loop 
loop4                     7:4    0   1.5G  1 loop 
├─live-rw (dm-0)        253:0    0   1.5G  0 dm   
└─live-osimg-min (dm-1) 253:1    0   1.5G  1 dm   
loop5                     7:5    0   512M  0 loop 
└─live-rw (dm-0)        253:0    0   1.5G  0 dm   
loop6                     7:6    0   1.5G  0 loop /
cciss!c0d0              104:0    0  68.3G  0 disk 
├─cciss!c0d0p1          104:1    0   243M  0 part 
├─cciss!c0d0p2          104:2    0   244M  0 part 
├─cciss!c0d0p3          104:3    0   244M  0 part 
└─cciss!c0d0p4          104:4    0  67.6G  0 part 


Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.6-20150105.0
ovirt-node-3.1.0-0.39.20150105gitb784105.el6.noarch
vdsm-4.16.8.1-4.el6ev.x86_64
libvirt-0.10.2-46.el6_6.2.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Boot from PXE, TUI install RHEV-H
2. Enter "select the disk" page, focus on device list.
3. Please see attachment for more details.

Actual results:
unexpected block devices are listed on "select disk" during TUI installation on cciss machine.

Expected results:
unexpected block devices should never appear on "select disk“ page when TUI installation on cciss machine.

Additional info:
No such issue on iscsi /local disk machine.

Comment 1 cshao 2015-01-06 07:46:08 UTC
Created attachment 976724 [details]
cciss.tar.gz

Comment 2 Ying Cui 2015-01-06 08:11:41 UTC
we probable consider it is a regression bug although it is not urgent issue, we did not this issue on build rhev-hypervisor6-6.6-20141119.0.iso.

Comment 4 Yaniv Lavi 2015-01-08 14:00:31 UTC
Moving this to z stream, since it's not critical for GA.
Please add known issue to doc text.

Comment 6 Fabian Deutsch 2015-01-08 15:12:56 UTC
Chen, for RHEV-H to install nicely we expect a clean disk.
So I wonder if the installation succeeds if you select the cciss disk with those partitions. Do the partitions get removed?

My assumption is that
a) RHEV-H requires a clean disk
b) If there is a preinstalled RHEV-H then a reinstall will remove the partitions before the installer starts

Comment 7 cshao 2015-01-12 06:46:28 UTC
(In reply to Fabian Deutsch from comment #6)
> Chen, for RHEV-H to install nicely we expect a clean disk.
> So I wonder if the installation succeeds if you select the cciss disk with
> those partitions. Do the partitions get removed?
> 
> My assumption is that
> a) RHEV-H requires a clean disk
> b) If there is a preinstalled RHEV-H then a reinstall will remove the
> partitions before the installer starts

Test version:
rhev-hypervisor6-6.6-20150105.0
ovirt-node-3.1.0-0.39.20150105gitb784105.el6.noarch

Yes, there are no unexpected block devices appeared with clean disk. seems it only occurs on dirty install, but in RHEV-H 6.5, those unexpected devices never comes during clean/dirty installation.

Comment 8 cshao 2015-01-20 01:21:37 UTC
Test version:
ovirt-node-iso-3.5-0.999.201501191343.el6.iso (Provided by Tolik)
ovirt-node-3.2.3-0.0.master.el6

Test machine:
hp-bl465cg5-02(cciss)
hp-z800-02 (iscsi)

Test steps:
1. Boot from iso, TUI install RHEV-H
2. Enter "select the disk" page, focus on device list.

Test result:
1. cciss can work fine.
2. iscsi: Hypervisor only show the hard disk durning TUI installation, but can't show iscsi lun. Please see the attachment "z800-02-issue.png" for mode details.

So change bug status to ASSIGNED.

Comment 9 cshao 2015-01-20 01:22:13 UTC
Created attachment 981668 [details]
z800-02-issue.png

Comment 10 cshao 2015-01-20 01:25:13 UTC
Move cciss info from summary due to the issue no only occurs on cciss machine but also occurs on all machines..

Comment 11 Anatoly Litovsky 2015-01-20 07:10:16 UTC
This is good progress, the LUN problme is exactly the type of things I wanted to know.
Can you please run the installation again 
Drop to the shell during installation (F2)
Run lsblk command and send me the output.

Comment 12 Fabian Deutsch 2015-01-20 07:14:58 UTC
Changing the title back, because the new symptoms in comment 8 were from an iso with a pre-release patch.

Comment 18 Fabian Deutsch 2015-05-27 14:55:45 UTC
Moving this out to 3.6.
This is not nice, but it does not impact the runtime functionality.

Comment 19 Anatoly Litovsky 2015-07-07 12:42:09 UTC
Comment 16 show the bug was fixed. 
Can you please test and close if fixed.

Comment 25 cshao 2015-10-28 06:34:46 UTC
Test version:
rhev-hypervisor7-7.2-20151025.0.el7ev
ovirt-node-3.3.0-0.18.20151022git82dc52c.el7ev.noarch

Test steps:
Install RHEV-H on local disk/FC machines(Met bug 1272434 during test on iscsi machine.), all device can be listed correctly on "select disk“ page.

So the bug is fixed, change bug status to VERIFIED.

Comment 26 Lucy Bopf 2016-02-19 10:13:37 UTC
Moving 'requires_doc_text' to '-', in response to bug being verified.

Comment 28 errata-xmlrpc 2016-03-09 14:24:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0378.html