Bug 978691

Summary: YaST2 bootloader crash with undefined local variable or method 'extended'
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michal Hlavac <miso>
Component: InstallationAssignee: Josef Reidinger <jreidinger>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: forgotten_cs4ucZ_58C, forgotten_IjyXpn4f7t, forgotten_WQhxM9_NlR, gindikin
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Hlavac 2016-05-05 15:41:44 UTC
After TW update 20160504 I get this error:

Details: undefined local variable or method 'extended' for #<Bootloader::Stage1:0x0000000bbeee10>
Caller: /usr/share/YaST2/lib/bootloader/stage1.rb:172:in 'available_partitions'
Comment 1 Yasha Gindikin 2016-05-09 07:55:58 UTC
Same problem with the latest, as of 09.05.2016, TW (not a clean install, but an update from 13.2 via zypper dup). Here is the output:

Internal error. Please report a bug report with logs.
Details: undefined local variable or method `extended' for #<Bootloader::Stage1:0xe070cd4>
Caller: /usr/share/YaST2/lib/bootloader/stage1.rb:172:in `available_partitions'

Here is the output of parted -l:

Model: ATA SAMSUNG SP1233N (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number Start End Size Type File system Flags
1 1049kB 120GB 120GB extended boot, lba, type=0f
5 2097kB 436MB 434MB logical ext4 type=83
6 437MB 2591MB 2154MB logical linux-swap(v1) type=82
7 2592MB 45.5GB 43.0GB logical ext4 type=83
8 45.5GB 120GB 74.5GB logical xfs type=83
Comment 2 Forgotten User cs4ucZ_58C 2016-05-10 09:52:54 UTC
Clean installation of TUmbleweed-20160505 failed.
Error message:

Internal error. Please report a bug report with logs.
Details: undefined variable or method 'extended' for #<Bootloader::Stage1:0x000000029896f8>
Caller: /usr/share/YaST2/lib/bootloader/stage1.rb:345:in 'assign_bootloader_device'
Available logs: 
hws@koos:~/linuxsystem/Tumbleweed/TW-20160505-errors> ll
totaal 7844
-rw-r--r-- 1 hws users     996 10 mei 10:33 curl_log
-rw-r--r-- 1 hws users 3748535 10 mei  2016 P1020001.JPG
-rw-r--r-- 1 hws users 4051196 10 mei  2016 P1020002.JPG
-rw-r--r-- 1 hws users     185 10 mei 10:33 sntp.log
-rw-r--r-- 1 hws users  208679 10 mei 10:33 y2log-1.gz
-rw-r--r-- 1 hws users    3545 10 mei 10:33 y2start.log
hws@koos:~/linuxsystem/Tumbleweed/TW-20160505-errors>
Comment 3 Josef Reidinger 2016-05-16 07:48:25 UTC
Thanks for report. Fixed in yast2-bootloader 3.1.182
Comment 4 Forgotten User IjyXpn4f7t 2016-05-16 12:30:14 UTC
Thank you!
Comment 5 Josef Reidinger 2016-05-16 14:26:11 UTC
*** Bug 978676 has been marked as a duplicate of this bug. ***
Comment 6 Forgotten User cs4ucZ_58C 2016-05-17 07:07:19 UTC
Tanks for fixing ! Installation of TW20160514 succeeded without a hitch.