Bug 1179085 - [3.5-6.6] Unexpected block devices are listed on "select disk" during dirty TUI installation on machine
Summary: [3.5-6.6] Unexpected block devices are listed on "select disk" during dirty T...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Anatoly Litovsky
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks: 1263213
TreeView+ depends on / blocked
 
Reported: 2015-01-06 07:44 UTC by cshao
Modified: 2016-03-09 14:24 UTC (History)
13 users (show)

Fixed In Version: ovirt-node-3.3.0-0.4.20150906git14a6024.el7ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1263213 (view as bug list)
Environment:
Last Closed: 2016-03-09 14:24:42 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Unexpected block devices.png (16.92 KB, image/png)
2015-01-06 07:44 UTC, cshao
no flags Details
cciss.tar.gz (6.09 MB, application/x-gzip)
2015-01-06 07:46 UTC, cshao
no flags Details
z800-02-issue.png (220.15 KB, image/png)
2015-01-20 01:22 UTC, cshao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0378 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update for RHEV 3.6 2016-03-09 19:06:36 UTC
oVirt gerrit 37043 0 master NEW Making the install device selection page use only disk devices. Never
oVirt gerrit 46174 0 ovirt-3.5 MERGED Making the install device selection page use only disk devices. Never

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


Note You need to log in before you can comment on or make changes to this bug.