DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

Windows stop, start service action not working #256

Closed piyush94 closed 5 years ago

piyush94 commented 5 years ago

image image image

CC: @svisagan83

sbtaylor15 commented 5 years ago

@piyush94 - The parameter was not being passed to the remote machine correctly.

Please pull latest image.

CC: @svisagan83

docker pull quay.io/deployhub/deployhub-pro@sha256:fd5fbcead2ce8767c6458a723420e020a95783820bdadbd6ac2896a483d00e83

piyush94 commented 5 years ago

@sbtaylor15 Still not working.

PLAY [Execute File] ************************************************************TASK [Copy File] ***************************************************************changed: [USTR-UVM-12271.na.uis.unisys.com]TASK [Execute File] ************************************************************fatal: [USTR-UVM-12271.na.uis.unisys.com]: FAILED! => {"changed": false, "cmd": "\"cscript.exe\" \"/nologo\" \"c:\\temp\\servicectl.vbs\" \"MongoDB\" \"stop\"", "delta": "0:00:00.777049", "end": "2019-08-02 06:43:45.676057", "msg": "non-zero return code", "rc": 1, "start": "2019-08-02 06:43:44.899008", "stderr": "", "stderr_lines": [], "stdout": "Failed to stop \"MongoDB\" service: No such Service\r\n", "stdout_lines": ["Failed to stop \"MongoDB\" service: No such Service"]} to retry, use: --limit @/tmp/tmp7wmtnq1_/runit.retryPLAY RECAP *********************************************************************USTR-UVM-12271.na.uis.unisys.com : ok=1    changed=1    unreachable=0    failed=1
--
PLAY [Execute File] ************************************************************TASK [Copy File] ***************************************************************ok: [USTR-UVM-12271.na.uis.unisys.com]TASK [Execute File] ************************************************************fatal: [USTR-UVM-12271.na.uis.unisys.com]: FAILED! => {"changed": false, "cmd": "\"cscript.exe\" \"/nologo\" \"c:\\temp\\servicectl.vbs\" \"MongoDB\" \"start\"", "delta": "0:00:00.922061", "end": "2019-08-02 06:44:01.416068", "msg": "non-zero return code", "rc": 1, "start": "2019-08-02 06:44:00.494007", "stderr": "", "stderr_lines": [], "stdout": "Failed to start \"MongoDB\" service: No such Service\r\n", "stdout_lines": ["Failed to start \"MongoDB\" service: No such Service"]} to retry, use: --limit @/tmp/tmpvywfc3fb/runit.retryPLAY RECAP *********************************************************************USTR-UVM-12271.na.uis.unisys.com : ok=1    changed=0    unreachable=0    failed=1

image

CC: @svisagan83

sbtaylor15 commented 5 years ago

@piyush94 - change .vbs per our discussion to look for DIsplay Name and Service Name.

CC: @svisagan83

piyush94 commented 5 years ago

@sbtaylor15 Working now.

CC: @svisagan83