You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a service.status using win_service, if the service is not installed, rather than returning False, Salt returns RROR: Failed To Open SERVICENAME: The specified service does not exist as an installed service. This also has an impact on beacons, because if a beacon is monitoring a service that is not installed on a particular minion, it fills the event bus up with this:
@whytewolf 6 hours ago
ok, found what is going on. it is a problem is with win_service throwing an exception instead of just saying False when the service doesn't exist. There needs to be a bug filed for this. the good is this only effects windows systems. the bad is that win_service should never have broken that bad. modules should not throw exceptions expect when something goes horribly wrong. a package not being installed is not something that is horribly wrong.
Description of Issue
When running a service.status using win_service, if the service is not installed, rather than returning
False
, Salt returnsRROR: Failed To Open SERVICENAME: The specified service does not exist as an installed service.
This also has an impact on beacons, because if a beacon is monitoring a service that is not installed on a particular minion, it fills the event bus up with this:Steps to Reproduce Issue
Run
service.status
against a windows minion for a service that is not installedVersions Report
The text was updated successfully, but these errors were encountered: