[OmniOS-discuss] [Bug] Installer crashes on disk selection
lukas
lukasstraub2 at web.de
Sat Feb 18 22:53:53 UTC 2017
Hello,
I stumbled upon an Bug in the OmniOS Installer where it crashes on the
"Disks" Screen of the Installer. It happens at least in "OmniOS_Text_r151020.iso"
and "OmniOS_Text_bloody_20170117.iso" when used together with an Paravirtualized
Disk Driver inside an VM.
How to Reproduce
================
On an Debian Stretch host, Run an Qemu VM with the "virtio" Disk Interface:
kvm -k de -smp 2 -drive file=OmniOS.img,if=virtio,format=raw -m 512M -monitor stdio -net nic,model=e1000 -net user -cdrom OmniOS_Text_r151020.iso -vnc :0
The same also happens with Xen.
/system/volatile/install_log
============================
2017-02-18 22:38:25,313 InstallationLogger INFO **** START ****
PROGRESS REPORT: progress percent:0 Preparing for Installation
PROGRESS REPORT: progress percent:100 TargetDiscovery completed.
2017-02-18 22:38:26,312 InstallationLogger INFO -> [DataObjectCache] (<solaris_install.data_object.cache.DataObjectCache object at 0x7ffffdc96a90>)
-> [persistent] (DataObjectCacheChild: persistent)
-> [sysconfig] (<solaris_install.sysconfig.profile.ConfigProfile object at 0x7ffffb5d1710>)
-> [discovered] (<solaris_install.target.Target object at 0x7ffffb480690>)
-> [disk] (Disk: ctd=c2d0; volid=None; devpath=/xpvd/xdf at 0; devid=None; wwn=None; prop:dev_size=15.99gb; is_cdrom=False; label=VTOC; whole_disk=False; write_cache=False; active ctd aliases=c2d0)
-> [logical] (Logical: noswap=True; nodump=True)
-> [Engine-DOC-Root-Node] (<solaris_install.engine.EngineData object at 0x7ffffb480cd0>)
-> [TargetDiscovery] (<solaris_install.engine.checkpoint_data.CheckpointRegistrationData object at 0x7ffffb5ed710>)
-> [desired] (<solaris_install.target.Target object at 0x7ffffb480910>)
-> [logical] (Logical: noswap=False; nodump=False)
-> [rpool] (Zpool: name=rpool; action=create; is_root=True; vdev_list=[None])
-> [vdev] (Vdev: name=vdev; redundancy=none)
-> [omnios] (BE: name=omnios; mountpoint=/a)
-> [volatile] (DataObjectCacheChild: volatile)
-> [apply_sysconfig_dict] (<solaris_install.data_object.data_dict.DataObjectDict object at 0x7ffffb5d1790>)
-> [transfer-ti-files] (<solaris_install.data_object.data_dict.DataObjectDict object at 0x7ffffb4de450>)
2017-02-18 22:38:26,313 InstallationLogger INFO Install Data:
Install Completed - False
Log Location - /system/volatile/install_log
Log Final - /var/log/install/install_log
No Install Mode - False
2017-02-18 22:38:26,313 InstallationLogger ERROR Install failed
Traceback (most recent call last):
File "/usr/lib/python2.7/vendor-packages/solaris_install/text_install/__init__.py", line 421, in main
screen = screen.show()
File "/usr/lib/python2.7/vendor-packages/terminalui/base_screen.py", line 149, in show
self._show()
File "/usr/lib/python2.7/vendor-packages/solaris_install/text_install/disk_selection.py", line 399, in _show
self.disk_win.activate_object(self.selected_disk_index)
File "/usr/lib/python2.7/vendor-packages/terminalui/scroll_window.py", line 338, in activate_object
self.activate_object_force(index=index, loop=loop, force_to_top=jump)
File "/usr/lib/python2.7/vendor-packages/terminalui/scroll_window.py", line 352, in activate_object_force
jump=force_to_top)
File "/usr/lib/python2.7/vendor-packages/terminalui/inner_window.py", line 318, in activate_object
raise IndexError(err_msg)
IndexError: Index (0) out of range (0-0)
2017-02-18 22:38:26,315 InstallationLogger INFO **** END
****
format
======
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c2d0 <Unknown-Unknown-0001 cyl 2088 alt 0 hd 255 sec 63>
/xpvd/xdf at 0
Specify disk (enter its number):
More information about the OmniOS-discuss
mailing list