Commit 054b08eb authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: do not create ticket if we do not have any information for the...

slapos_crm: do not create ticket if we do not have any information for the software installation status
parent e4a812c1
...@@ -30,7 +30,9 @@ for software_installation in software_installation_list: ...@@ -30,7 +30,9 @@ for software_installation in software_installation_list:
reference = software_installation.getReference() reference = software_installation.getReference()
d = software_installation.getAccessStatus() d = software_installation.getAccessStatus()
if d.get("no_data", None) == 1: if d.get("no_data", None) == 1:
should_notify = True #should_notify = True
# We do not create if there is no information for the compilation
# it should be reported by more global alarm related to the compute node itself
last_contact = "No Contact Information" last_contact = "No Contact Information"
ticket_title = "[MONITORING] No information for %s on %s" % (reference, compute_node_reference) ticket_title = "[MONITORING] No information for %s on %s" % (reference, compute_node_reference)
description = "The software release %s did not started to build on %s since %s" % \ description = "The software release %s did not started to build on %s since %s" % \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment