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

[BUG] PAExec not always getting removed after salt-cloud deployment #62152

Closed
1 of 6 tasks
whytewolf opened this issue Jun 9, 2022 · 0 comments · Fixed by #63031
Closed
1 of 6 tasks

[BUG] PAExec not always getting removed after salt-cloud deployment #62152

whytewolf opened this issue Jun 9, 2022 · 0 comments · Fixed by #63031
Assignees
Labels
Bug broken, incorrect, or confusing behavior Salt-Cloud Sulfur v3006.0 release code name and version VMware Windows

Comments

@whytewolf
Copy link
Collaborator

Description
the PAExec service is not always getting removed during windows deployments.

Setup
use saltify to deploy salt to a windows minion.

Please be as specific as possible and give set-up details.

  • on-prem machine
  • VM (Virtualbox, KVM, etc. please specify)
  • VM running on a cloud service, please be explicit and add details
  • container (Kubernetes, Docker, containerd, etc. please specify)
  • or a combination, please be explicit
  • jails if it is FreeBSD

Steps to Reproduce the behavior
use salt-cloud to run the saltify driver against a windows minion and then check the c:\Windows directory for a PAExec file.

Expected behavior
All PAExec services are removed from a windows minion after the deploy is done.
This can be done with

from pypsexec.client import Client

c = Client("server", username="username", password="password")
c.connect()
c.cleanup()  # this is where the magic happens
c.disconnect()

inserted into the codebase somewhere after the deploy is done or if the deploy fails it should also be done. just to cover our bases.

This does happen even with the patch move from sc to net.

@whytewolf whytewolf added Bug broken, incorrect, or confusing behavior needs-triage labels Jun 9, 2022
@twangboy twangboy added this to the Sulphur v3006.0 milestone Jun 21, 2022
@twangboy twangboy added the Sulfur v3006.0 release code name and version label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior Salt-Cloud Sulfur v3006.0 release code name and version VMware Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants