-
Notifications
You must be signed in to change notification settings - Fork 57
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
PE-18728 Skip frictionless install if agent has powershell2 bug #45
PE-18728 Skip frictionless install if agent has powershell2 bug #45
Conversation
Can one of the admins verify this patch? |
This was tested locally by first doing an install/upgrade of a windows2012, ie something with powershell greater then 2. Upgraded from PE 2016.4.2 to latest PE 2016.4.x, and on both install and upgrade frictionless method was used. So my change doesn't affect this, as expected. My setup to test this was from pe_acceptance_tests
And when it got to a windows agent, it used the old MSI method to install the agent:
And when it was time to upgrade, it used frictionless:
|
@cthorn42 would you add a spec test to make sure we don't break this with future work? Also, I thought we were stopping support for win2008 at the end of the year. Not the case? |
@kevpl re: win2008 support might be going away, but I think win2008r2 will still be supported. |
Refer to this link for build results (access rights to CI server needed): |
272bfcc
to
5f3c31a
Compare
@kevpl I've updated this PR and added spec tests to cover the new method install_via_msi?. |
Refer to this link for build results (access rights to CI server needed): |
… 2 bug We introduced frictionless installs for Windows agents in PE 2016.4.0. For upgrade scenarios where we are testing frictionless upgrades, to install we need to use the old MSI method if we are installing less then PE 2016.4.0. However, we have discovered that frictionless installs of windows2008r2 will fail on PE 2016.4.0 and PE 2016.4.2. This PR adds in logic to install with the non-frictionless method if the agent is windows2008r2 and version is less then PE 2016.4.3.
5f3c31a
to
f23264e
Compare
Refer to this link for build results (access rights to CI server needed): |
We introduced frictionless installs for Windows agents in PE 2016.4.0.
For upgrade scenarios where we are testing frictionless upgrades, to
install we need to use the old MSI method if we are installing less then
PE 2016.4.0.
However, we have discovered that frictionless installs of windows2008r2
will fail on PE 2016.4.0 and PE 2016.4.2.
This PR adds in logic to install with the non-frictionless method if the
agent is windows2008r2 and version is less then PE 2016.4.3.