API

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Nutanix API: v2/disks disk_hardware_config is Null

Highlighted
Trailblazer

Nutanix API: v2/disks disk_hardware_config is Null

Nutanix API: v2/disks disk_hardware_config is showing null data. Is there an option to turn that data on as we are using that to populate disk specific information.?

 

We show it working in our CE version 2017.05.22.

 

Thanks,

Tags (3)
2 REPLIES
Nutanix Employee

Re: Nutanix API: v2/disks disk_hardware_config is Null

The disk_hardware_config would show as null if the disk information in the 'hades' service is missing.

The v2 REST API will read info from the slots and if the slot does not have a disk, the hardware config is returned as null.

Can you try restarting the hades service and see if the information is updated?

Tags (3)
Community Manager

Re: Nutanix API: v2/disks disk_hardware_config is Null

Hi @pcari

 

Did you have a chance to try the suggestion from @akshaydeodhar

 

Let us know, and if that worked consider clicking the 'Accept as Solution' button as that will help others in the community find this material sooner. Thanks 

Tags (3)