Bug ID 917831
Summary tumbleweed ppc64 iso install failed with yast/wfm.rb:202 Internal error
Classification Internal Novell Products
Product openSUSE Build Service
Version 2.0
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component General
Assignee adrian@suse.com
Reporter normand@linux.vnet.ibm.com
QA Contact adrian@suse.com
Found By ---
Blocker ---

Created attachment 623236 [details]
yast logs tarball by save_y2logs

I retrieved the tumbeweed ppc64 DVD from
http://download.opensuse.org/ports/ppc/factory/iso/
===
openSUSE-Tumbleweed-BE-DVD-ppc64-Build0026-Media.iso   12-Feb-2015 18:17  2.6G
===

I used it to install a guest on a Power8 KVM machine.

The install proceeded with all defaults up to "Saving bootloader configutation"
where mbr saving failed.

accessing the kernel shell, was able to access yast log that reports
those extracted lines.
More details in the attached y2log-aMizWN.tar.gz
===
...
2015-02-13 13:56:05 <1> linux-0iu3(2490) [Ruby] bootloader/mbr_update.rb:23
MBRUpdate: activate: true generic: false
2015-02-13 13:56:05 <1> linux-0iu3(2490) [Ruby] modules/BootStorage.rb:939
Partitions building /dev/sda1: $[]
2015-02-13 13:56:05 <1> linux-0iu3(2490) [Ruby] bootloader/mbr_update.rb:246
Partition for activating: {"num"=>1, "mbr"=>"/dev/sda"}
2015-02-13 13:56:05 <1> linux-0iu3(2490) [Ruby] bootloader/mbr_update.rb:58
Creating backup of boot sectors of ["", "/dev/sda1"]
2015-02-13 13:56:05 <3> linux-0iu3(2490) [bash]
ShellCommand.cc(shellcommand):78 dd: failed to open ~@~X~@~Y: No such file or
directory
2015-02-13 13:56:05 <1> linux-0iu3(2490) [Ruby] routines/i386.rb:100 MBR of 
contains ThinkPad sequence: false
2015-02-13 13:56:05 <1> linux-0iu3(2490) [Ruby] bootloader/mbr_update.rb:246
Partition for activating: {"num"=>1, "mbr"=>"/dev/sda"}
2015-02-13 13:56:05 <3> linux-0iu3(2490) [Ruby] yast/wfm.rb:197 Client call
failed with 'Cannot find in storage mbr disk ' and backtrace
["/usr/share/YaST2/lib/bootloader/mbr_update.rb:67:in `mbr_is_gpt?'",
"/usr/share/YaST2/lib/bootloader/mbr_update.rb:102:in
`can_activate_partition?'",
"/usr/share/YaST2/lib/bootloader/mbr_update.rb:115:in `block in
activate_partitions'", "/usr/share/YaST2/lib/bootloader/mbr_update.rb:109:in
`each'", "/usr/share/YaST2/lib/bootloader/mbr_update.rb:109:in
`activate_partitions'", "/usr/share/YaST2/lib/bootloader/mbr_update.rb:40:in
`run'", "/mounts/mp_0001/usr/share/YaST2/modules/BootGRUB2.rb:112:in `Write'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/fun_ref.rb:33:in `call'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/fun_ref.rb:33:in `call'",
"/mounts/mp_0001/usr/share/YaST2/include/bootloader/routines/switcher.rb:209:in
`blWrite'", "/mounts/mp_0001/usr/share/YaST2/modules/Bootloader.rb:565:in
`WriteInstallation'",
"/mounts/mp_0001/usr/share/YaST2/clients/bootloader_finish.rb:167:in `main'",
"/mounts/mp_0001/usr/share/YaST2/clients/bootloader_finish.rb:224:in `<top
(required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:169:in `CallFunction'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_finish.rb:471:in `block (2
levels) in main'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:88:in
`call'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:88:in `block in
foreach'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:87:in `each'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:87:in `foreach'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_finish.rb:433:in `block in
main'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:88:in `call'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:88:in `block in foreach'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:87:in `each'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/builtins.rb:87:in `foreach'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_finish.rb:417:in `main'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_finish.rb:638:in `<top
(required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:169:in `CallFunction'",
"/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1391:in `RunFrom'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_installation_options.rb:162:in
`main'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_installation_options.rb:227:in
`<top (required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in
`eval'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:169:in `CallFunction'",
"/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1391:in `RunFrom'",
"/mounts/mp_0001/usr/share/YaST2/modules/ProductControl.rb:1578:in `Run'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_worker_initial.rb:106:in `main'",
"/mounts/mp_0001/usr/share/YaST2/clients/inst_worker_initial.rb:128:in `<top
(required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:176:in `call_builtin_wrapper'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:169:in `CallFunction'",
"/mounts/mp_0001/usr/share/YaST2/clients/installation.rb:73:in `main'",
"/mounts/mp_0001/usr/share/YaST2/clients/installation.rb:104:in `<top
(required)>'", "/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `eval'",
"/usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:184:in `run_client'"]
2015-02-13 13:56:05 <3> linux-0iu3(2490) [Ruby] yast/wfm.rb:202 Internal error.
Please report a bug report with logs.
Details: Cannot find in storage mbr disk
Caller:  /usr/share/YaST2/lib/bootloader/mbr_update.rb:67:in `mbr_is_gpt?'
2015-02-13 13:56:05 <1> linux-0iu3(2490) [ui]
YPushButton.cc(setFunctionKey):202 Guessing button role YOKButton for
YPushButton "OK" at 0x3fffac03b8e0 from function key F10
2015-02-13 13:56:29 <1> linux-0iu3(2490) [Interpreter]
clients/inst_finish.rb:471 Called YaST client returned.
2015-02-13 13:56:29 <1> linux-0iu3(2490) [Ruby] modules/Hooks.rb:166 Executing
hook 'after_bootloader_finish'
...
===

I confirmed that PreP disk was initially configured during the install:
===
console:linux-0iu3:/ # fdisk /dev/sda

Welcome to fdisk (util-linux 2.25.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x009d0700

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sda1           2048     4095     2048    1M 41 PPC PReP Boot
/dev/sda2           4096  4225023  4220928    2G 82 Linux swap / Solaris
/dev/sda3        4225024 30523391 26298368 12.6G 83 Linux
/dev/sda4       30523392 67108863 36585472 17.5G 83 Linux
===


You are receiving this mail because: