Server profile creation with iLO configuration is throwing error after creation
nabhajit-ray opened this issue · 0 comments
After creation of server profile with iLO configuration, terraform refresh is throwing the panic error.
The call trace is below:
Error: rpc error: code = Unavailable desc = transport is closing
panic: interface conversion: interface {} is nil, not map[string]interface {}
2022-01-23T10:15:48.154+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13:
2022-01-23T10:15:48.154+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: goroutine 67 [running]:
2022-01-23T10:15:48.154+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: github.com/HewlettPackard/terraform-provider-oneview/oneview.resourceServerProfileRead(0xc000564d80, {0xc3b5a0, 0xc0000e3580})
2022-01-23T10:15:48.154+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: /home/ubuntu/src/terraform-provider-oneview/oneview/resource_server_profile.go:2432 +0xae37
2022-01-23T10:15:48.154+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xd07cc6, {0xe85258, 0xc000300340}, 0x24, {0xc3b5a0, 0xc0000e3580})
2022-01-23T10:15:48.154+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: /home/ubuntu/src/terraform-provider-oneview/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:290 +0x79
2022-01-23T10:15:48.155+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000464480, {0xe85258, 0xc000300340}, 0xc000566460, {0xc3b5a0, 0xc0000e3580})
2022-01-23T10:15:48.155+0530 [DEBUG] plugin.terraform-provider-oneview_v6.5.0-13: /home/ubuntu/src/terraform-provider-oneview/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:564 +0x35b