- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: Unable to clear disk configuration via Redfish...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2019 04:52 AM
тАО03-22-2019 04:52 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2019 02:07 AM
тАО03-24-2019 02:07 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2019 10:35 PM - edited тАО03-24-2019 10:36 PM
тАО03-24-2019 10:35 PM - edited тАО03-24-2019 10:36 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2019 05:45 AM
тАО03-25-2019 05:45 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2019 01:53 AM
тАО03-26-2019 01:53 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2019 01:32 AM
тАО03-28-2019 01:32 AM
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