Loading...
Loading...
Interpret the contents of an Omni Gateway diagnostic dump ZIP file to identify the live state of API instances, service bindings, policy configuration, and known anomalies. Use when the user has a gateway dump file and wants to understand what was deployed at the time of capture, find orphaned or missing resources, compare live state against the conf.d configuration, or diagnose a gateway failure using a support-submitted dump.
npx skill4agent add mulesoft/mulesoft-dx omni-gateway-dumpdump/apiVersionkindmetadataspecstatusdump-<timestamp>.zip
└── dump/
├── api-instances.json # Live ApiInstance resources
├── policy-bindings.json # Live PolicyBinding resources
├── services.json # Live Service resources
├── configurations.json # Gateway Configuration (includes registration)
├── extensions.json # Policy extension definitions (may be large — skip unless needed)
└── control-node-storage.json # Gateway agent ID: {"store": "<agentId>"}metadata.namemetadata.namespacedefaultgatewaymetadata.labels["flex.mulesoft.com/deployment-desired-status"]STARTEDSTOPPEDspecstatus.conditions[{type: "Ready", status: "True|False"}]{
"apiVersion": "gateway.mulesoft.com/v1beta1",
"kind": "ApiInstance",
"metadata": {
"name": "apii-4808971-flex-test-api",
"namespace": "676c8822-4ae3-44c2-afd8-df46ae69f202",
"labels": {
"flex.mulesoft.com/apiinstance-id": "4808971",
"flex.mulesoft.com/apiinstance-name": "flex-test-api",
"flex.mulesoft.com/deployment-desired-status": "STARTED"
}
},
"spec": {
"address": "http://0.0.0.0:8081/",
"policies": [...]
},
"status": {
"conditions": [{"type": "Ready", "status": "True"}]
}
}{
"apiVersion": "gateway.mulesoft.com/v1alpha1",
"kind": "PolicyBinding",
"metadata": {"name": "internal-pe-env-api-context", "namespace": "default"},
"spec": {
"targetRef": {"kind": "Selector", "selector": {"kind": "ApiInstance"}},
"policyRef": {"name": "api-context"}
},
"status": {"conditions": [{"type": "Ready", "status": "True"}]}
}{
"apiVersion": "gateway.mulesoft.com/v1alpha1",
"kind": "Configuration",
"metadata": {"name": "registration"},
"spec": {
"platformConnection": {
"agentId": "3710bdd7-...",
"anypoint": "https://anypoint.mulesoft.com",
"assetName": "flex1"
}
}
}unzip dump.zip -d dump-analysis/
ls -la dump-analysis/dump/| File | Resource Count | Notes |
|---|---|---|
| api-instances.json | ||
| policy-bindings.json | ||
| services.json | ||
| configurations.json | ||
| extensions.json | Skip unless investigating a specific policy | |
| control-node-storage.json | — | Agent ID only |
control-node-storage.jsonstoreconfigurations.jsonmetadata.name: registrationspec.platformConnection.anypointspec.platformConnection.assetNamedump-<timestamp>.zipapi-instances.jsonpolicy-bindings.jsonservices.jsonconfigurations.json| Kind | Name | Namespace | Ready Status | Desired Status | Notes |
|---|
status.conditions[type="Ready"].statusUnknownmetadata.labels["flex.mulesoft.com/deployment-desired-status"]spec.targetRefkind: ApiInstancenamenameapi-instances.jsonkind: Selectorselector.kind: ApiInstancekindtargetRefservices.jsonx-flex-internalmanaged-by: flex-staticgatewaydefaultspec.servicesstatus.conditions[type="Ready"].status: Falsespec.addressspec.targetRefspec.policyRefpolicyRef.nameextensions.jsonmetadata.labels["flex.mulesoft.com/deployment-desired-status"]: STOPPEDstatus.conditions[type="Ready"].status: Truemetadata.namespacemetadata.labelsconf.d/conf.d/# Gateway Dump Analysis Report
**Dump file:** [filename]
**Captured:** [timestamp or datetime]
**Gateway agent ID:** [agentId from control-node-storage.json]
## Gateway Registration
- **Platform URL:** [from configurations.json spec.platformConnection.anypoint]
- **Asset name:** [from configurations.json spec.platformConnection.assetName]
## Resource Inventory
[Table from Step 2]
## Anomalies
### Critical Issues (Ready: False or Malformed)
[List each resource with its Ready status and condition message, or "None found"]
Example:
- **ApiInstance `apii-123-api`** (namespace `env-456`): Ready=False, condition: "Pod failed to start: OOMKilled"
- **PolicyBinding `rate-limit-binding`**: malformed targetRef, references non-existent ApiInstance `apii-999-api`
### Orphaned PolicyBindings
[List each PolicyBinding that references a non-existent ApiInstance, or "None found"]
Example:
- **PolicyBinding `deprecated-policy`** targets ApiInstance `apii-old-deployment` which does not exist in the dump
### Potentially Unused Services
[List each Service not referenced by any ApiInstance or PolicyBinding, or "None found"]
Example:
- **Service `backend-cache`** (namespace `gateway`): not referenced by any ApiInstance
### Configuration Drift (conf.d vs. dump)
[If conf.d was provided, show mismatches. Otherwise, note "No local configuration provided for comparison."]
Example:
- **In dump only:** `configurations.json` entries not in local conf.d (possible control-plane managed resources)
- **In conf.d only:** `api-instances.yaml` entries not in dump (possible file not deployed)
## Escalation Recommendation
- **No anomalies:** Gateway state appears healthy at the time of dump capture. No immediate action required.
- **Warnings present:** Configuration drift or unused resources detected. Recommend reviewing the "Potentially Unused Services" and "Configuration Drift" sections. Reconcile local conf.d with dump state.
- **Critical issues present:** Ready=False resources or orphaned bindings indicate active problems. Immediate escalation recommended. Provide this dump and the gateway logs (see `omni-gateway-logs` skill) to support.conf.d/extensions.json