Separate this issue from bug #732526.
booting rhevh6.2 with reinstall+storage_init params, the behavior is not correct that it do NOT boot to regular install page，it start to auto installation, at the end there display the installation screen, just 'Quit'.Press F2, there display error.
So reinstall param behavior is not correct.
1. boot rhevh with reinstall + storage_init params.
2. wipe LVM PV successful.
3. partition start and process auto installation.
after wiping LVM PV..., partition start and auto install rhevh. at the end there display the installation screen. Press F2, there display error.
************errors in TUI******
Traceback (most recent call last):
File "/user/libexec/ovirt-config-installer", line 751, in start
"/usr/lib64/python2.6/site-packages/snack/py", line 183, in current KeyError: 0
Booting with reinstall and storage_init triggers the cleanup in dracut. Then after dracut finishes, it should boot to the regular install page with an Install option.
Created attachment 519809 [details]
This is actually an issue only with PXE infrastructure that does IPAPPEND. It adds BOOTIF=XX:XX:XX:XX:XX:XX to the pxe commandline
BOOTIF in conjunction with storage_init will trigger autoinstall which is not the desired functionality here.
update dracut plugin to remove HostVG if uninstall|reinstall|firstboot are provided
dracut plugin will still clean any devices listed in storage_init, but storage_init should be reserved for autoinstall use cases only.
Created attachment 519856 [details]
boot with just reinstall/uninstall/firstboot options
should clean up HostVG devices
boot with reinstall/firstboot/uninstall and storage_init=<device_list>
should clean all devices in device_list and all devices with HosVG. Try with both storage_init=hostvg devices and storage_init != hostvg devices
install with "storage_init=/dev/vda reinstall" could wipe the device correctly, but after finished create all the lv, still boot to a blank ovirt-node TUI menu, so this is not fixed,
(In reply to comment #8)
> rhev-hypervisor 6.2-0.15
> install with "storage_init=/dev/vda reinstall" could wipe the device correctly,
> but after finished create all the lv, still boot to a blank ovirt-node TUI
> menu, so this is not fixed,
This was then default boot option from rhevh media and not from installed disk i.e. with "install" boot parameter.
But I agree that this is still suboptimal, originally reported exception in menu_choice=self.menu_list.current() should be avoided, at least so that <Quit> button works and with the appropriate error messages instead of the blank screen.
not able to produce this but maybe I'n not taking the right steps. After install and reboot back into first boot I get the right " reinstall $version " option
Are these steps right?
- install via tui booting with "reinstall storage_init=/dev/vda" (storage_init option not necessary anymore)
- run though install
- reboot to firstboot again
(In reply to comment #10)
> not able to produce this but maybe I'n not taking the right steps.
I could reproduce it when I had Root partition on disk where installation failed for some reason. You could simulate it by booting into rescue, mounting Root partition and removing "version" file.
In this case display something like "Invalid installation, please reboot from media and choose Reinstall option" and enable <Quit> button.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.