Skip to content

[TECH DEBT] Deprecation of ESXi in core Salt in favor of Salt VMware extensions for 3008 release - #63002

Merged
Ch3LL merged 3 commits into
saltstack:masterfrom
dmurphy18:deprec_vmware_core
Nov 3, 2022
Merged

[TECH DEBT] Deprecation of ESXi in core Salt in favor of Salt VMware extensions for 3008 release#63002
Ch3LL merged 3 commits into
saltstack:masterfrom
dmurphy18:deprec_vmware_core

Conversation

@dmurphy18

@dmurphy18 dmurphy18 commented Nov 2, 2022

Copy link
Copy Markdown
Contributor

What does this PR do?

Deprecates use of ESXi and associated esxcluster, esxdatacenter, esxvm, vcenter and vsphere in core Salt, in favor of using the Salt VMware extensions.

The current core esxi, esxcluster, esxdatacenter, esxvm etc have not been maintained by Salt for some time, and the versions of pyvmomi is circa v4/5, current version is 7, and functionality has changed and not all functionality currently works. Salt is supporting the Salt VMware extensions and this is were the ESXi functionality should be supported rather than core Salt. This is also inline with moving current functionality to extensions.

What issues does this PR fix or reference?

Fixes: #62754, #62526, #62004, #61097

New Behavior

Update Salt VMware Extensions to support required functionality, if it does not currently exist in Salt VMware extensions. Deprecation notice allows for two major versions of Salt to have needed functionality in the VMware extensions

Merge requirements satisfied?

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

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices.

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

@dmurphy18
dmurphy18 requested a review from a team as a code owner November 2, 2022 19:23
@dmurphy18
dmurphy18 requested review from MKLeb and removed request for a team November 2, 2022 19:23
@dmurphy18 dmurphy18 changed the title Deprecation of ESXi in core Salt in favor of Salt VMware extensions for 3008 release [TECH DEBT] Deprecation of ESXi in core Salt in favor of Salt VMware extensions for 3008 release Nov 2, 2022
MKLeb
MKLeb previously approved these changes Nov 2, 2022
Comment thread salt/modules/esxcluster.py
Comment thread changelog/62754.fixed
@@ -0,0 +1 @@
Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file extension should be .deprecated since you are deprecating modules.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch, fixed it

@Ch3LL

Ch3LL commented Nov 3, 2022

Copy link
Copy Markdown
Contributor

merging since tests were passing before editing changelog

@Ch3LL
Ch3LL merged commit 5e834bb into saltstack:master Nov 3, 2022
@dmurphy18
dmurphy18 deleted the deprec_vmware_core branch May 3, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TECH DEBT] Deprecate ESXi execution modules in favor of VMware Salt extensions

3 participants