Skip to content

Commit

Permalink
Fix race condition with file.entryID in run comparison task
Browse files Browse the repository at this point in the history
  • Loading branch information
adambaumeister committed Aug 23, 2023
1 parent 42bb9f6 commit cf9d6ee
Show file tree
Hide file tree
Showing 8 changed files with 308 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"aliasTo": "",
"aliases": null,
"associatedToAll": false,
"associatedTypes": [
"PAN-OS Network Operations - Device Upgrade",
"PAN-OS Network Operations - Upgrade Assurance"
],
"autoCompleteTags": null,
"breachScript": "",
"cacheVersn": 0,
"caseInsensitive": true,
"cliName": "checkarpentryexists",
"closeForm": false,
"columns": null,
"content": false,
"defaultRows": null,
"definitionId": "",
"description": "Checks if the given IP is in the ARP table before starting upgrade.",
"editForm": true,
"fieldCalcScript": "",
"fromServerVersion": "",
"group": 0,
"hidden": false,
"id": "incident_checkarpentryexists",
"isReadOnly": false,
"itemVersion": "",
"locked": false,
"mergeStrategy": "",
"name": "Check ARP Entry Exists",
"neverSetAsRequired": false,
"openEnded": false,
"orgType": "shortText",
"ownerOnly": false,
"packID": "",
"packName": "",
"placeholder": "",
"required": false,
"runScriptAfterUpdate": false,
"script": "",
"selectValues": null,
"sla": 0,
"system": false,
"systemAssociatedTypes": null,
"template": "",
"threshold": 72,
"toServerVersion": "",
"type": "shortText",
"unmapped": false,
"unsearchable": false,
"useAsKpi": false,
"validatedError": "",
"validationRegex": "",
"version": -1,
"x2_fields": ""
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"aliasTo": "",
"aliases": null,
"associatedToAll": false,
"associatedTypes": [
"PAN-OS Network Operations - Upgrade Assurance",
"PAN-OS Network Operations - Device Upgrade"
],
"autoCompleteTags": null,
"breachScript": "",
"cacheVersn": 0,
"caseInsensitive": true,
"cliName": "checksessionexists",
"closeForm": false,
"columns": null,
"content": false,
"defaultRows": null,
"definitionId": "",
"description": "Check for the prescence of a specific session in the session table before upgrade starts.",
"editForm": true,
"fieldCalcScript": "",
"fromServerVersion": "",
"group": 0,
"hidden": false,
"id": "incident_checksessionexists",
"isReadOnly": false,
"itemVersion": "",
"locked": false,
"mergeStrategy": "",
"name": "Check Session Exists",
"neverSetAsRequired": false,
"openEnded": false,
"orgType": "shortText",
"ownerOnly": false,
"packID": "",
"packName": "",
"placeholder": "",
"required": false,
"runScriptAfterUpdate": false,
"script": "",
"selectValues": null,
"sla": 0,
"system": false,
"systemAssociatedTypes": null,
"template": "",
"threshold": 72,
"toServerVersion": "",
"type": "shortText",
"unmapped": false,
"unsearchable": false,
"useAsKpi": false,
"validatedError": "",
"validationRegex": "",
"version": -1,
"x2_fields": ""
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"aliasTo": "",
"aliases": null,
"associatedToAll": false,
"associatedTypes": [
"PAN-OS Network Operations - Upgrade Assurance",
"PAN-OS Network Operations - Device Upgrade"
],
"autoCompleteTags": null,
"breachScript": "",
"cacheVersn": 0,
"caseInsensitive": true,
"cliName": "firstsnapshotid",
"closeForm": false,
"columns": null,
"content": false,
"defaultRows": null,
"definitionId": "",
"description": "The Entry ID of the first snapshot file.",
"editForm": true,
"fieldCalcScript": "",
"fromServerVersion": "",
"group": 0,
"hidden": false,
"id": "incident_firstsnapshotid",
"isReadOnly": false,
"itemVersion": "",
"locked": false,
"mergeStrategy": "",
"name": "First Snapshot ID",
"neverSetAsRequired": false,
"openEnded": false,
"orgType": "shortText",
"ownerOnly": false,
"packID": "",
"packName": "",
"placeholder": "",
"required": false,
"runScriptAfterUpdate": false,
"script": "",
"selectValues": null,
"sla": 0,
"system": false,
"systemAssociatedTypes": null,
"template": "",
"threshold": 72,
"toServerVersion": "",
"type": "shortText",
"unmapped": false,
"unsearchable": false,
"useAsKpi": false,
"validatedError": "",
"validationRegex": "",
"version": -1,
"x2_fields": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"ownerOnly": false,
"packID": "",
"packName": "",
"placeholder": "arp, panorama, ntp_sync, ha, candidate_config, expired_licenses",
"placeholder": "panorama, ntp_sync, ha, candidate_config, expired_licenses",
"required": false,
"runScriptAfterUpdate": false,
"script": "",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"aliasTo": "",
"aliases": null,
"associatedToAll": false,
"associatedTypes": [
"PAN-OS Network Operations - Upgrade Assurance",
"PAN-OS Network Operations - Device Upgrade"
],
"autoCompleteTags": null,
"breachScript": "",
"cacheVersn": 0,
"caseInsensitive": true,
"cliName": "secondsnapshotid",
"closeForm": false,
"columns": null,
"content": false,
"defaultRows": null,
"definitionId": "",
"description": "The Entry ID of the second Snapshot file.",
"editForm": true,
"fieldCalcScript": "",
"fromServerVersion": "",
"group": 0,
"hidden": false,
"id": "incident_secondsnapshotid",
"isReadOnly": false,
"itemVersion": "",
"locked": false,
"mergeStrategy": "",
"name": "Second Snapshot ID",
"neverSetAsRequired": false,
"openEnded": false,
"orgType": "shortText",
"ownerOnly": false,
"packID": "",
"packName": "",
"placeholder": "",
"required": false,
"runScriptAfterUpdate": false,
"script": "",
"selectValues": null,
"sla": 0,
"system": false,
"systemAssociatedTypes": null,
"template": "",
"threshold": 72,
"toServerVersion": "",
"type": "shortText",
"unmapped": false,
"unsearchable": false,
"useAsKpi": false,
"validatedError": "",
"validationRegex": "",
"version": -1,
"x2_fields": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,24 @@
"index": 1,
"sectionItemType": "field",
"startCol": 0
},
{
"endCol": 2,
"fieldId": "checksessionexists",
"height": 53,
"id": "694a9300-3c96-11ee-a0fd-e5af4a0a9390",
"index": 2,
"sectionItemType": "field",
"startCol": 0
},
{
"endCol": 2,
"fieldId": "checkarpentryexists",
"height": 22,
"id": "6b700b10-3c96-11ee-a0fd-e5af4a0a9390",
"index": 3,
"sectionItemType": "field",
"startCol": 0
}
],
"maxH": null,
Expand Down Expand Up @@ -243,9 +261,8 @@
}
],
"maxH": null,
"maxW": 1,
"maxW": 3,
"minH": 1,
"minW": 1,
"moved": false,
"name": "Readiness Check Result",
"static": false,
Expand All @@ -271,9 +288,8 @@
}
],
"maxH": null,
"maxW": 1,
"maxW": 3,
"minH": 1,
"minW": 1,
"moved": false,
"name": "Snapshot Check Result",
"static": false,
Expand Down Expand Up @@ -306,12 +322,29 @@
"listId": "caseinfoid-af0c2a50-ea40-11ed-939f-4f8b882605d4",
"sectionItemType": "field",
"startCol": 2
},
{
"endCol": 6,
"fieldId": "firstsnapshotid",
"height": 22,
"id": "b86b9900-415c-11ee-9b29-71cdc0867b81",
"index": 0,
"sectionItemType": "field",
"startCol": 4
},
{
"endCol": 6,
"fieldId": "secondsnapshotid",
"height": 22,
"id": "baa05350-415c-11ee-9b29-71cdc0867b81",
"index": 1,
"sectionItemType": "field",
"startCol": 4
}
],
"maxH": null,
"maxW": 3,
"minH": 1,
"minW": 3,
"moved": false,
"name": "Files",
"static": false,
Expand All @@ -337,9 +370,8 @@
}
],
"maxH": null,
"maxW": 1,
"maxW": 3,
"minH": 1,
"minW": 1,
"moved": false,
"name": "Raw Results",
"static": false,
Expand Down Expand Up @@ -419,6 +451,14 @@
{
"fieldId": "incident_minimumcontentversion",
"isVisible": true
},
{
"fieldId": "incident_checkarpentryexists",
"isVisible": true
},
{
"fieldId": "incident_checksessionexists",
"isVisible": true
}
],
"isVisible": true,
Expand Down
Loading

0 comments on commit cf9d6ee

Please sign in to comment.