Commit 131add50 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: suffix drop

parent 506322fd
...@@ -1320,7 +1320,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort) ...@@ -1320,7 +1320,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node_support_request = compute_node.ComputeNode_checkState() compute_node_support_request = compute_node.ComputeNode_checkState()
self.assertNotEqual(compute_node_support_request, None) self.assertNotEqual(compute_node_support_request, None)
self.assertIn("[MONITORING] Lost contact with compute_node", self.assertIn("Lost contact with compute_node",
compute_node_support_request.getTitle()) compute_node_support_request.getTitle())
self.assertIn("has not contacted the server for more than 30 minutes", self.assertIn("has not contacted the server for more than 30 minutes",
compute_node_support_request.getDescription()) compute_node_support_request.getDescription())
...@@ -1333,7 +1333,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort) ...@@ -1333,7 +1333,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node_support_request = compute_node.ComputeNode_checkState() compute_node_support_request = compute_node.ComputeNode_checkState()
self.assertNotEqual(compute_node_support_request, None) self.assertNotEqual(compute_node_support_request, None)
self.assertIn("[MONITORING] Lost contact with compute_node", self.assertIn("Lost contact with compute_node",
compute_node_support_request.getTitle()) compute_node_support_request.getTitle())
self.assertIn("has not contacted the server (No Contact Information)", self.assertIn("has not contacted the server (No Contact Information)",
compute_node_support_request.getDescription()) compute_node_support_request.getDescription())
...@@ -1374,7 +1374,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort) ...@@ -1374,7 +1374,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node.ComputeNode_checkState() compute_node.ComputeNode_checkState()
self.tic() self.tic()
ticket_title = "[MONITORING] Lost contact with compute_node %s" % compute_node.getReference() ticket_title = "Lost contact with compute_node %s" % compute_node.getReference()
ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title) ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title)
self.assertNotEqual(ticket, None) self.assertNotEqual(ticket, None)
...@@ -1412,7 +1412,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort) ...@@ -1412,7 +1412,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node.ComputeNode_checkState() compute_node.ComputeNode_checkState()
self.tic() self.tic()
ticket_title = "[MONITORING] Lost contact with compute_node %s" % compute_node.getReference() ticket_title = "Lost contact with compute_node %s" % compute_node.getReference()
ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title) ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title)
self.assertNotEqual(ticket, None) self.assertNotEqual(ticket, None)
event_list = ticket.getFollowUpRelatedValueList() event_list = ticket.getFollowUpRelatedValueList()
...@@ -1457,7 +1457,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort) ...@@ -1457,7 +1457,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node.ComputeNode_checkState() compute_node.ComputeNode_checkState()
self.tic() self.tic()
ticket_title = "[MONITORING] Compute Node %s has a stalled instance process" % compute_node.getReference() ticket_title = "Compute Node %s has a stalled instance process" % compute_node.getReference()
ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title) ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title)
self.assertNotEqual(ticket, None) self.assertNotEqual(ticket, None)
event_list = ticket.getFollowUpRelatedValueList() event_list = ticket.getFollowUpRelatedValueList()
...@@ -1503,7 +1503,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort) ...@@ -1503,7 +1503,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node.ComputeNode_checkState() compute_node.ComputeNode_checkState()
self.tic() self.tic()
ticket_title = "[MONITORING] Compute Node %s has a stalled instance process" % compute_node.getReference() ticket_title = "Compute Node %s has a stalled instance process" % compute_node.getReference()
ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title) ticket = self._getGeneratedSupportRequest(compute_node.getUid(), ticket_title)
self.assertNotEqual(ticket, None) self.assertNotEqual(ticket, None)
event_list = ticket.getFollowUpRelatedValueList() event_list = ticket.getFollowUpRelatedValueList()
...@@ -1592,7 +1592,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase ...@@ -1592,7 +1592,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node.ComputeNode_checkSoftwareInstallationState() compute_node.ComputeNode_checkSoftwareInstallationState()
self.tic() self.tic()
ticket_title = "[MONITORING] No information for %s on %s" % ( ticket_title = "No information for %s on %s" % (
self.start_requested_software_installation.getReference(), self.start_requested_software_installation.getReference(),
compute_node.getReference() compute_node.getReference()
) )
...@@ -1640,7 +1640,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase ...@@ -1640,7 +1640,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node.ComputeNode_checkSoftwareInstallationState() compute_node.ComputeNode_checkSoftwareInstallationState()
self.tic() self.tic()
ticket_title = "[MONITORING] %s is building for too long on %s" % ( ticket_title = "%s is building for too long on %s" % (
self.start_requested_software_installation.getReference(), self.start_requested_software_installation.getReference(),
compute_node.getReference() compute_node.getReference()
) )
...@@ -1686,7 +1686,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase ...@@ -1686,7 +1686,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node.ComputeNode_checkSoftwareInstallationState() compute_node.ComputeNode_checkSoftwareInstallationState()
self.tic() self.tic()
ticket_title = "[MONITORING] %s is building for too long on %s" % ( ticket_title = "%s is building for too long on %s" % (
self.start_requested_software_installation.getReference(), self.start_requested_software_installation.getReference(),
compute_node.getReference() compute_node.getReference()
) )
...@@ -1714,7 +1714,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase ...@@ -1714,7 +1714,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node.ComputeNode_checkSoftwareInstallationState() compute_node.ComputeNode_checkSoftwareInstallationState()
self.tic() self.tic()
ticket_title = "[MONITORING] %s is failing to build on %s" % ( ticket_title = "%s is failing to build on %s" % (
self.start_requested_software_installation.getReference(), self.start_requested_software_installation.getReference(),
compute_node.getReference() compute_node.getReference()
) )
...@@ -1760,7 +1760,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase ...@@ -1760,7 +1760,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node.ComputeNode_checkSoftwareInstallationState() compute_node.ComputeNode_checkSoftwareInstallationState()
self.tic() self.tic()
ticket_title = "[MONITORING] %s is failing to build on %s" % ( ticket_title = "%s is failing to build on %s" % (
self.start_requested_software_installation.getReference(), self.start_requested_software_installation.getReference(),
compute_node.getReference() compute_node.getReference()
) )
......
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