Made a test patch which checks if the service is installed immediately before resetting the password for the unit agent. The CI run on the branch showed that the problem recreated, and this solution worked around it.
I'm working on writing the tests for the patch now.
For a fix in master, we should try to determine why the list of juju services returned from service.ListServices is empty for windows.
Made a test patch which checks if the service is installed immediately before resetting the password for the unit agent. The CI run on the branch showed that the problem recreated, and this solution worked around it.
I'm working on writing the tests for the patch now.
For a fix in master, we should try to determine why the list of juju services returned from service. ListServices is empty for windows.