-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unrecoverable error in TUI install using all default choices #65
Comments
I believe this is fixed by a9a5901 |
Right, I just stumbled on it, by diffing the source in the latest xs8 install ISO. |
Doesn't that makes #62 a good idea? ;) |
Still, I would have valued an explanation in the fix commit, explaining why this can be None (it does not even say it is protecting against |
Apologies, this was fixed/worked-around in a rush to meet a deadline, it was resolved in this PR https://github.com/xenserver/host-installer/pull/60/files |
Yes, as it is, it is not easy to test changes. We should really put our thoughts towards getting automated tests on this codebase. Note I have a done some time ago a prototype that allows to manually test UI changes by running some of the code locally (told @bernhardkaindl about that). Certainly limited and not suited to running automatically - just ideas. |
When making an install with v10.10.8 and selecting all default choices in the TUI, during installation the user is presented with a
'NoneType' object is not iterable
error and can only reboot.The log shows it happens in
rewriteNTPConf
while attempting to iterate onntp_servers
.Cannot guess the source while just looking at the NTP rework patch, and cannot bisect it either: that big commit doing several things demonstrates the value of splitting into individual commits (eg. "Replace time-config-method with ntp-config-method to prepare for DHCP support", "Separate NTP servers manual selection into a separate dialog", "Introduce option to get NTP servers from DHCP", and likely more that whose need would naturally arise as separate from those 3 main topics during careful review if the patches).
Likely linked with #64.
The text was updated successfully, but these errors were encountered: