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

Bug: Tables failing with error Error: pq: rpc error: code = Internal desc = get hydrate function getAdGroup failed with panic interface conversion: interface {} is nil, not *graphrbac.ADGroup #29

Closed
Subhajit97 opened this issue Mar 2, 2021 · 1 comment · Fixed by #30
Assignees
Labels
bug Something isn't working

Comments

@Subhajit97
Copy link
Contributor

Subhajit97 commented Mar 2, 2021

Azure tables that were using ItemFromKey forget API call in table schema are breaking.

> select * from azure_ad_group where object_id = '66e4618f-1eda-45d6-914c-6613a1ac2cfd';
Error: pq: rpc error: code = Internal desc = get hydrate function getAdGroup failed with panic interface conversion: interface {} is nil, not *graphrbac.ADGroup
> select * from azure_ad_user where object_id = '1cbf1ad0-993a-47f4-a927-64cf4a2ecb5f';
Error: pq: rpc error: code = Internal desc = get hydrate function getAdUser failed with panic interface conversion: interface {} is nil, not *graphrbac.User

Tables impacted

  • azure_ad_user
  • azure_ad_service_principal
  • azure_ad_user
  • azure_cosmosdb_account
  • azure_cosmosdb_mongo_database
  • azure_cosmosdb_sql_database
  • azure_management_lock
  • azure_provider
  • azure_resource_group
  • azure_role_assignment
  • azure_role_definition
  • azure_storage_account
  • azure_storage_queue
  • azure_subnet
@Subhajit97 Subhajit97 added the bug Something isn't working label Mar 2, 2021
@Subhajit97 Subhajit97 self-assigned this Mar 2, 2021
Subhajit97 added a commit that referenced this issue Mar 2, 2021
Subhajit97 added a commit that referenced this issue Mar 2, 2021
@Subhajit97 Subhajit97 changed the title Bug: Update tables breaking for get calls on key columns using ItemFromKey to provide hydrate item Bug: Tables failing with error Error: pq: rpc error: code = Internal desc = get hydrate function getAdGroup failed with panic interface conversion: interface {} is nil, not *graphrbac.ADGroup Mar 2, 2021
@LalitLab
Copy link
Contributor

LalitLab commented Mar 2, 2021

This issue will be resolved once the plugin is recompiled and released with the latest version of steampipe-plugin-sdk that includes a fix for turbot/steampipe-plugin-sdk#53.

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
2 participants