-
Notifications
You must be signed in to change notification settings - Fork 897
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
Restrict Vm Operating System detection for XP #17405
Conversation
A code for setting Operating System on a Vm uses name parsing as a fallback. There was too much generic pattern "xp" which could mark linux Vm name including "xp" as Windows XP machines, which was incorrect and confusing for users. Removing "xp" from Operating System patterns. Related to https://bugzilla.redhat.com/show_bug.cgi?id=1576076
Checked commit aufi@cd4e6dd with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@aufi who can be asked to review this PR. We have a blocker build coming up on Tuesday, May 15. |
@miq-bot add_label blocker |
I don't think this should be a blocker, but e.g. @agrare |
Since the original BZ has been removed as a blocker,...I'll remove the label here as well. |
@miq-bot remove_label blocker |
@miq-bot add_label bug |
I really don't like our habit of trying to get at data from every possible place instead of being more strict, IMO the problem is falling back to the object name here instead of just using data which is supposed to contain data related to the object's operating system. However I'm wary of removing either that line or xp from the list of OSs because it is so old and I don't think we can know what side-effects it might have for customers. |
I agree on don't like this "rawly guessing" functionality and I think that removing xp line is not much beneficial, other lines seem to me even more strange. This PR makes it at least little bit better. If core team agrees, we can remove whole OS guessing functionality.. |
I agree that the guessing is not great. @aufi Do you want to open an issue or talk article to discuss removing the "guessing" functionality? For now I'm okay with merging as-is. I think it's unlikely that we'll see windows XP in the field since support ended April 8, 2014. |
Restrict Vm Operating System detection for XP (cherry picked from commit 632d985) https://bugzilla.redhat.com/show_bug.cgi?id=1595456
Gaprindashvili backport details:
|
Restrict Vm Operating System detection for XP (cherry picked from commit 632d985) https://bugzilla.redhat.com/show_bug.cgi?id=1595457
Fine backport details:
|
Restrict Vm Operating System detection for XP (cherry picked from commit 632d985) https://bugzilla.redhat.com/show_bug.cgi?id=1595457
A code for setting Operating System on a Vm uses name parsing
as a fallback. There was too much generic pattern "xp" which
could mark linux Vm with name including "xp" as Windows machine,
which was incorrect and confusing for users.
Removing "xp" from Operating System patterns.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1576076