Skip to content

Address grain issue with MS Hyper-V 2019#56991

Merged
dwoz merged 1 commit intosaltstack:masterfrom
xeacott:fix/win_minion_fail
Apr 30, 2020
Merged

Address grain issue with MS Hyper-V 2019#56991
dwoz merged 1 commit intosaltstack:masterfrom
xeacott:fix/win_minion_fail

Conversation

@xeacott
Copy link
Copy Markdown
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
Copy Markdown
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