Skip to content

Fix issue where pyVmomi 6.0.0 raises SSL Error for systems using Python2.7+ - #30231

Merged
cro merged 2 commits into
saltstack:developfrom
nmadhok:vmware-pyvmomi-fix
Jan 13, 2016
Merged

cro merged 2 commits into
saltstack:developfrom
nmadhok:vmware-pyvmomi-fix

Conversation

@nmadhok

@nmadhok nmadhok commented Jan 8, 2016

Copy link
Copy Markdown
Contributor

Fixes #29537

@rallytime rallytime added the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Jan 8, 2016
@rallytime

Copy link
Copy Markdown
Contributor

I tested this on my Ubuntu 14 box that runs my proxy minion, and it's throwing an error. See this comment for more information.

@rallytime rallytime added the pending-discussion The issue or pull request needs more discussion before it can be closed or merged label Jan 8, 2016
@cachedout

Copy link
Copy Markdown
Contributor

@nmadhok Where are we on this one? Please let me know. Thanks.

@nmadhok

nmadhok commented Jan 12, 2016

Copy link
Copy Markdown
Contributor Author

@cachedout This should be merged in my opinion. See #29537 for the followup.

@rallytime

Copy link
Copy Markdown
Contributor

Please wait to merge. We're still discussing this fix in #29537.

@rallytime

Copy link
Copy Markdown
Contributor

Ok, after discussing this with @cro, I think this is definitely a good fix for people to use pyvmomi 6.0, but we need to make sure we're very clear in the docs about what versions of ESXi, pyVmomi, and Python are required to make this work correctly.

@nmadhok Can you add some documentation explaining that pyVmomi >= 6.0.0 is only supported on systems using Python >= 2.7.9 and for systems using Python < 2.7.9, they should use pyVmomi 5.5.0-2014.1.1 by doing a pip install pyvmomi==5.5.0-2014.1.1. There should already be docs explaining the 5.5.0-2014.1.1 version installation, so we just need to add to the Python version information to work with pyVmomi 6.0, I think. After that documentation is added, I think this should be good to go in.

Thanks for your work, as always, @nmadhok!

@nmadhok

nmadhok commented Jan 12, 2016

Copy link
Copy Markdown
Contributor Author

@rallytime Already working on a PR that lists it in the docs. Was waiting for this one to get merged first since this PR doesn't change any old behavior and will only make lives easier for people installing pyVmomi 6.0.0.

Also, with this PR, people using pyVmomi < 6.0.0 can still use the driver with any version of Python 2.6+ they have installed.

rallytime pushed a commit to rallytime/salt that referenced this pull request Jan 13, 2016
@rallytime rallytime removed the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Jan 13, 2016
@cro
cro merged commit 51a80bb into saltstack:develop Jan 13, 2016
cro added a commit that referenced this pull request Jan 13, 2016
Merge #30231 with updates to dependency documentation
rallytime pushed a commit to rallytime/salt that referenced this pull request Jan 13, 2016
@nmadhok
nmadhok deleted the vmware-pyvmomi-fix branch January 15, 2016 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-discussion The issue or pull request needs more discussion before it can be closed or merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants