Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 'list index out of range' occur when collecting StorageAccounts #45

Closed
ImMin5 opened this issue Feb 23, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@ImMin5
Copy link
Member

ImMin5 commented Feb 23, 2023

When collecting sotrageaccounts, the following errors occur and collection fails.

2023-02-23T16:50:13.600Z [ERROR] tnx-760b1238b439  (instance_manager.py:102) [list_instances] /subscriptions/aaaaaaaaaa/resourceGroups/bbbbbbb/providers/Microsoft.Storage/storageAccounts/cccccccccc list index out of range 
...
@ImMin5 ImMin5 self-assigned this Feb 23, 2023
@ImMin5 ImMin5 added the bug Something isn't working label Feb 23, 2023
@ImMin5
Copy link
Member Author

ImMin5 commented Feb 23, 2023

This kind of error occur when collecting right after creating Storage Account.

So If you want to get data you need to wait enough time to Azure collect metric data about this.

To resolve this error I added code.(#46)

ImMin5 added a commit to ImMin5/plugin-azure-inven-collector that referenced this issue Feb 23, 2023
Signed-off-by: ImMin5 <mino@megazone.com>
ImMin5 added a commit to ImMin5/plugin-azure-inven-collector that referenced this issue Feb 24, 2023
jihyungSong added a commit that referenced this issue Feb 24, 2023
Add error handling code about for timeseries data (#45)
ImMin5 added a commit to ImMin5/plugin-azure-inven-collector that referenced this issue Feb 24, 2023
@ImMin5 ImMin5 closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant