Bug 1139808

Summary: Leap 15.1 inst_disk_proposal fails rendering installation impossible
Product: [openSUSE] openSUSE Distribution Reporter: Onur Küçük <onur>
Component: InstallationAssignee: YaST Team <yast-internal>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P2 - High CC: ancor, aschnell, deleted3
Version: Leap 15.1   
Target Milestone: ---   
Hardware: All   
OS: Other   
URL: https://trello.com/c/8FmpHVVO
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log
installation error message
installation error message

Description Onur Küçük 2019-06-30 13:41:09 UTC
Created attachment 808931 [details]
y2log

During installation disk proposal stage an unhandled exception occurs causing the installation fail. There is also no option to choose expert partitioning so it is not possible to continue with installation. Attached are screenshots of the error messages and logs.

This does not happen with 15.0, 42.3 or older as I have been using older systems on this computer or many years now. I had to install 15.0 first, and then upgrade it with the 15.1 installation which worked (since the disk proposal module was not called). Did an installation media check and it passed. Also used the same USB disk to install 15.1 to another computer.

Failing computer is an MSI GS60 notebook with lsblk output on an "15.0 to 15.1 upgraded" system

NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda           8:0    0 119.2G  0 disk  
└─md126       9:126  0 238.5G  0 raid0 
  ├─md126p1 259:0    0   600M  0 part  
  ├─md126p2 259:1    0   300M  0 part  /boot/efi
  ├─md126p3 259:2    0   128M  0 part  
  ├─md126p4 259:3    0 137.5G  0 part  
  ├─md126p5 259:4    0   197M  0 part  
  └─md126p6 259:5    0  99.8G  0 part  /
sdb           8:16   0 119.2G  0 disk  
└─md126       9:126  0 238.5G  0 raid0 
  ├─md126p1 259:0    0   600M  0 part  
  ├─md126p2 259:1    0   300M  0 part  /boot/efi
  ├─md126p3 259:2    0   128M  0 part  
  ├─md126p4 259:3    0 137.5G  0 part  
  ├─md126p5 259:4    0   197M  0 part  
  └─md126p6 259:5    0  99.8G  0 part  /
sdc           8:32   0 931.5G  0 disk  
├─sdc1        8:33   0  13.7G  0 part  
├─sdc2        8:34   0    16G  0 part  [SWAP]
├─sdc3        8:35   0   700G  0 part  /mnt/depo
└─sdc4        8:36   0 201.8G  0 part

I am familiar with Ruby and Linux, I can try some test code or provide more info if needed
Comment 1 Onur Küçük 2019-06-30 13:52:04 UTC
Created attachment 808933 [details]
installation error message
Comment 2 Onur Küçük 2019-06-30 13:52:21 UTC
*** Bug 1139809 has been marked as a duplicate of this bug. ***
Comment 3 Onur Küçük 2019-06-30 13:52:51 UTC
Created attachment 808934 [details]
installation error message
Comment 4 Steffen Winterfeldt 2019-07-01 11:06:43 UTC
Tracking in YaST Scrum board.
Comment 5 Ancor Gonzalez Sosa 2019-07-01 15:05:21 UTC
Weird enough, the proposal is trying to work with a free region that is not associated to any device. We need to debug how did we generate such non-sense FreeDiskSpace object.

This is the error in the logs:

Client inst_disk_proposal.rb failed with 'undefined method `name' for nil:NilClass' (NoMethodError).

Backtrace:
free_disk_space.rb:108:in `disk_name'
proposal/partitions_distribution_calculator.rb:214:in `suitable_disk_space?'
Comment 6 Steffen Winterfeldt 2019-07-04 12:12:14 UTC
*** Bug 1140286 has been marked as a duplicate of this bug. ***
Comment 7 Steffen Winterfeldt 2019-07-31 13:20:42 UTC
I've reproduced this on leap 15.1. tw behaves entirely different, it seems.
Comment 8 Steffen Winterfeldt 2019-08-01 08:40:38 UTC
Reproduced also with tw.
Comment 9 Steffen Winterfeldt 2019-08-06 14:35:06 UTC
fix: https://github.com/yast/yast-storage-ng/pull/951
Comment 10 Steffen Winterfeldt 2019-08-08 12:22:48 UTC
fix submitted
Comment 15 Swamp Workflow Management 2019-12-17 17:46:53 UTC
SUSE-RU-2019:3322-1: An update that has 8 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1130988,1136463,1139808,1141006,1148477,1149011,1151075,1152535
CVE References: 
Sources used:
SUSE Linux Enterprise Module for Basesystem 15-SP1 (src):    yast2-installation-4.1.47-3.6.18, yast2-storage-ng-4.1.90-3.16.11
SUSE Linux Enterprise Installer 15-SP1 (src):    yast2-installation-4.1.47-3.6.18, yast2-storage-ng-4.1.90-3.16.11

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 16 Swamp Workflow Management 2019-12-22 23:12:24 UTC
openSUSE-RU-2019:2705-1: An update that has 8 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1130988,1136463,1139808,1141006,1148477,1149011,1151075,1152535
CVE References: 
Sources used:
openSUSE Leap 15.1 (src):    yast2-installation-4.1.47-lp151.2.6.1, yast2-storage-ng-4.1.90-lp151.2.9.1