Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant

 
Highlighted
Occasional Contributor

Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant

Hi Team,

I want to clear all the configurations made to the disks, if there is any logical array created I want all of them to be deleted.

I am making the following request, but its not working. If I open the Smart Storage Administrator via UI, I still see all the old configurations.

 

PUT https://172.24.19.226/redfish/v1/Systems/1/SmartStorageConfig/Settings/

{'DataGuard': 'Disabled', 'Actions': [{'Action': 'ClearConfigurationMetadata'}], 'LogicalDrives': []}

 

 

If I reboot the server and make the following request, I see some error,

GET https://172.24.19.226/redfish/v1/Systems/1/SmartStorageConfig

The @Redfish.Settings node in the response for above URL:
{u'@odata.type': u'#Settings.v1_0_0.Settings', u'ETag': u'********', u'Messages': [{u'MessageArgs': [u'PhysicalDrives'], u'MessageId': u'SmartStorageMessages.2.0.0.PropertyKeyMissing', u'RelatedProperties': [u'#/PhysicalDrives']}, {u'MessageId': u'SmartStorageMessages.2.0.0.Success'}], u'SettingsObject': {u'@odata.id': u'/redfish/v1/systems/1/smartstorageconfig/settings/'}, u'Time': u'2019-03-22T11:41:44-08:00'}

I am following the doc at https://developer.hpe.com/blog/storage-management-with-redfish to clear the drive configuration, can you please let me know how I can do this ?

 

5 REPLIES 5
Highlighted
Advisor

Re: Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant

Hello ;

You can clear any configuration from the intelligent Provisioning ;

reboot the server and click F10 when prompted ,you find the option Erase;

Good luck

Highlighted
Occasional Contributor

Re: Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant

I want to do this programatically.

Is this some issue with the API like described here 

https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_70547f1067cf4dfd8d3c138ba4#tab5 

The RESTful management interface might be unable to detect physical drives or make configuration changes to the controller.
Highlighted
Honored Contributor

Re: Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant


@VigneshKP wrote:

Hi Team,

I want to clear all the configurations made to the disks, if there is any logical array created I want all of them to be deleted.

I am making the following request, but its not working. If I open the Smart Storage Administrator via UI, I still see all the old configurations.

 

PUT https://172.24.19.226/redfish/v1/Systems/1/SmartStorageConfig/Settings/

{'DataGuard': 'Disabled', 'Actions': [{'Action': 'ClearConfigurationMetadata'}], 'LogicalDrives': []}

 

 


It might help othes understand your issue better if you provide more information such as what model server, which smart array controller, and drives you are using

 

No support by private messages. Please ask the forum! 
Highlighted
Occasional Contributor

Re: Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant

Sorry I missed that earlier, here is the info, let me know if you need any more info.

I have one more server which has the Smart Array version 1.34 and clear disk REST API works fine there, but it does not work on the server with the below info. 

SS.PNGSINFO.PNG

Highlighted
Occasional Contributor

Re: Unable to clear disk configuration via Redfish API on HPE Gen 10 Proliant

I think this issue was also reported on GitHub and it seems like its closed now. So is this an issue which was fixed in the latest firmware ?

https://github.com/HewlettPackard/python-ilorest-library/issues/27