Bug 1349010

Summary: "No disk selected" in installer if disk is just to small
Product: Red Hat Enterprise Linux 7 Reporter: Fabian Deutsch <fdeutsch>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.2CC: anaconda-maint-list, bugs, cshao, fdeutsch, jkonecny, jvavra, rbarry, sbueno, weiwang, ycui
Target Milestone: pre-dev-freeze   
Target Release: 7.3   
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: 2019-03-05 12:13:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1670127    
Attachments:
Description Flags
5G-disk1
none
5G-disk2
none
RHVH42-small-disk-error none

Description Fabian Deutsch 2016-06-22 13:46:11 UTC
Description of problem:
When selecting a disk during installation which does not meet the requirements of the auto partitioning, then the installation can not be started, because the error messgae is: "No disk selected"

This is false, because there was a disk selected, but the disk was to small

Version-Release number of selected component (if applicable):
4.0-snapshot

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ryan Barry 2016-06-22 14:01:37 UTC
This appears to be another platform anaconda bug.

Can we re-assign to anaconda, please?

Comment 2 David Shea 2016-06-22 15:44:08 UTC
Please attach the logs from the failure to this bug as individual, text/plain attachments.

Please also provide the steps you took to reproduce this issue. Is this a kickstart install or interactive? Did you hit done in the installation destination spoke, or did you use the automatic partitioning button in the custom partitioning spoke? Did you see the no space dialog? ("You don't have enough space available to install %(product)s, even if you used all of the free space available on the selected disks.")

Comment 3 Brian Lane 2016-06-23 00:01:06 UTC
This sounds like bug 1340240. The error message should be more descriptive with anaconda-21.48.22.77

Comment 4 Fabian Deutsch 2016-09-15 12:37:41 UTC
I sadly don't recall the details.

Chen, did you run into this bug and can provide the reproducer steps?

Comment 5 cshao 2016-09-15 15:09:06 UTC
(In reply to Fabian Deutsch from comment #4)
> I sadly don't recall the details.
> 
> Chen, did you run into this bug and can provide the reproducer steps?

Sure.

Test version:
RHVH-4.0-20160822.8-RHVH-x86_64-dvd1.iso

Test steps:
1. Prepare a small disk(e.g. 5G)
2. Anaconda interactive install RHVH via ISO.
3. Enter disk selection page.
4. Select the small disk and automatically configure partitioning.(see attachment "5G-disk2").
5. Save.
6. Focus on "Installation Summary" page. (see attachment "5G-disk2").

Test result:
There was a disk selected, but the disk was to small, but anaconda report "No disk selected".

Comment 6 cshao 2016-09-15 15:09:37 UTC
Created attachment 1201284 [details]
5G-disk1

Comment 7 cshao 2016-09-15 15:10:04 UTC
Created attachment 1201285 [details]
5G-disk2

Comment 8 cshao 2016-09-15 15:14:21 UTC
> 4. Select the small disk and automatically configure partitioning.(see
> attachment "5G-disk2").
Update  "5G-disk2" - >  "5G-disk1".

Comment 9 David Lehman 2018-02-12 20:18:47 UTC
Can someone attach the logs from the failure? I'm fairly certain this will not reproduce on a normal anaconda installation with a 5GiB disk.

Comment 10 Ryan Barry 2018-07-16 15:06:46 UTC
It needs an installclass which requires more than 5GB to hit this, David

Comment 11 Sandro Bonazzola 2018-11-28 11:10:40 UTC
This missed 7.2.z -> 7.6; can we have a target milestone for this? 7.6.z? 7.7?

Comment 12 Jiri Konecny 2018-11-29 08:55:08 UTC
Anaconda is not doing Z streams but we will look on this one during 7.7 planning.

Comment 13 Jiri Konecny 2018-12-03 11:09:34 UTC
Hello,

Could you please verify if this issue is still valid on RHEL 7.6?

Comment 14 Fabian Deutsch 2018-12-03 11:25:31 UTC
Sorry, I can't. Can maybe the anaconda test team help?

Comment 15 Sandro Bonazzola 2018-12-10 15:40:31 UTC
Ying can you check if this is still happening in latest RHV-H builds?

Comment 17 cshao 2018-12-12 03:24:31 UTC
(In reply to Sandro Bonazzola from comment #15)
> Ying can you check if this is still happening in latest RHV-H builds?

I will provide test result in here later.

Comment 18 cshao 2018-12-12 03:57:23 UTC
(In reply to cshao from comment #17)
> (In reply to Sandro Bonazzola from comment #15)
> > Ying can you check if this is still happening in latest RHV-H builds?
> 
> I will provide test result in here later.

Test version:
RHVH-4.2-20181121.1-RHVH-x86_64-dvd1.iso

Test steps:
1. Prepare a small disk(e.g. 5G)
2. Anaconda interactive install RHVH via ISO.
3. Enter disk selection page.
4. Select the small disk and automatically configure partitioning.
5. Save.

Test result:
There was a disk selected, but an unknown error has occurred after save partition configure.(see attachment: RHVH42-small-disk-error)
It's acceptable from my point of view.

Comment 19 cshao 2018-12-12 03:58:33 UTC
Created attachment 1513584 [details]
RHVH42-small-disk-error

Comment 20 Samantha N. Bueno 2019-03-05 12:13:42 UTC
Based on c#18 and after talking with Sandro, I'm going to close this since this seems acceptable now. Please re-open if you feel the issue was not resolved.