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

uuid doesn't exist on Windows minions #73

Open
Timond opened this issue Dec 2, 2020 · 0 comments
Open

uuid doesn't exist on Windows minions #73

Timond opened this issue Dec 2, 2020 · 0 comments

Comments

@Timond
Copy link

Timond commented Dec 2, 2020

The "UUID" grain does not exist by default on windows minions, causing the modules to fail with a UUID error.

I suggest removing the below code, or setting a default uuid if no grain exists:

data['uuid'] = grains['uuid']

below is exception thrown by the module when run on a windows host with no uuid set:

      ID: create_alert_in_opsgenie
Function: module.run
    Name: opsgenie.post_data
  Result: False
 Comment: Module function opsgenie.post_data threw an exception. Exception: 'uuid'
 Started: 17:20:16.966727
Duration: 15.6 ms
 Changes:   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant