Skip to content
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

Address grain issue with MS Hyper-V 2019 #56991

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

xeacott
Copy link
Contributor

@xeacott xeacott commented Apr 29, 2020

What does this PR do?

Sets a default osrelease grain for MS Hyper-V 2019 because a year isn't provided in system information.

What issues does this PR fix or reference?

Fixes: #55212

Previous Behavior

Crash

New Behavior

No crash

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

  • Docs
  • Changelog
  • Tests written/updated

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@xeacott xeacott requested a review from a team as a code owner April 29, 2020 22:31
@ghost ghost requested review from twangboy and removed request for a team April 29, 2020 22:31
@xeacott
Copy link
Contributor Author

xeacott commented Apr 29, 2020

So funny enough, MS doesn't report the year for their evaluate-hyper-v-server-2019, even though 2019 is in the name. So since grains fails on this, @hbonath this seems like the appropriate fix.

Windows grains is being re-written as it is, so we may not run into this in the future.

@dwoz dwoz merged commit f9ac093 into saltstack:master Apr 30, 2020
@sagetherage sagetherage added the ZRelease-Sodium retired label label May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZRelease-Sodium retired label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Microsoft Hyper-V Server 2019 1809 - Minion fails to start
4 participants