Open pardueaws opened 6 months ago
Errors around resource missing will be in the ECS logs, the instructions are at the bottom of the page section titled To retrieve the logs for the discovery component.: (https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/debugging-the-discovery-component.html).
There is also an extensive flowchart for diagnosing common issues in the troubleshooting section of the README:
Out of interest, has this been deployed in AWS_ORGANIZATION
mode? There is a known issue with writes to OpenSearch being dropped on the very first ingestion cycle the discovery process does, which would appear in the UI as missing resources.
Yes, AWS_ORGANIZATION mode.
Sent from my iPhone
On May 2, 2024, at 5:26 PM, Stefano Vozza @.***> wrote:
Errors around resource missing will be in the ECS logs, the instructions are at the bottom of the page section titled To retrieve the logs for the discovery component.: (https://aws-solutions.github.io/workload-discovery-on-aws/workload-discovery-on-aws/2.0/debugging-the-discovery-component.html).
There is also an extensive flowchart for diagnosing common issues in the troubleshooting section of the README:
Out of interest, has this been deployed in AWS_ORGANIZATION mode? There is a known issue with writes to OpenSearch being dropped on the very first ingestion cycle the discovery process does, which would appear in the UI as missing resources.
— Reply to this email directly, view it on GitHubhttps://github.com/aws-solutions/workload-discovery-on-aws/issues/519#issuecomment-2091705724, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBR2EQLJJBENXJGEOMG5PO3ZAKVPZAVCNFSM6AAAAABHELDKCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJRG4YDKNZSGQ. You are receiving this because you authored the thread.Message ID: @.***>
Then it's very likely the last issue I mentioned. To verify:
query MyQuery {
getResourceGraph(ids: ["<your-arn>"]) {
edges {
id
}
nodes {
id
}
}
}
{
"data": {
"getResourceGraph": {
"edges": [],
"nodes": []
}
}
}
The simplest way to rectify this is to clear the Neptune database and when the discovery process runs again, it will repopulate both databases:
<stack-name>-GremlinAppSyncFunction-<ID-string>
.{
"arguments": {
},
"source": null,
"prev": null,
"info": {
"parentTypeName": "Mutation",
"fieldName": "deleteAllResources",
"variables": {}
},
"stash": {}
}
Feature name Meaningful error messages.
Is your feature request related to a problem? Please describe. Customer has deployed Workload Discovery, but is not seeing all of their resources. We have found errors in the GremlinAppSync file (when searching for #500) but the error message is not helpful.
Describe the feature you'd like to see implemented Can the errors provide more information about what exactly is failing in the discovery service?
Describe the value this feature will add to AWS Perspective This would be helpful when users have problems with discovery..