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

Volume creation does not support passing specific disks in the controller #306

Open
mastier opened this issue Jan 12, 2023 · 1 comment
Open

Comments

@mastier
Copy link

mastier commented Jan 12, 2023

So far I see the request to the Redfish API does not send speicific physical disks
https://github.com/lenovo/python-redfish-lenovo/blob/master/examples/lenovo_create_raid_volume.py#L180-L184
For me it fails with code 500
I got 2x SSD 1TB and 8x8TB HDD on one conttroller and wants to create RAID1

Does the firmware support passing the actual drives ? So I could modify the lenovo-create_raid_volume.py script to pass list of drives in the request body ?
Similarly to iDRAC ? like https://jonamiki.com/2019/04/14/example-redfish-rest-calls-create-raid-volume/
Or it will work only when the list of drives matches the RAIDType ?
By guessing I tried passing drives or disks by guessing but none of them work

Url '/redfish/v1/Systems/1/Storage/RAID_Slot7/Volumes' response Error code 500
error_message: The property Drives is not in the list of valid properties for the resource

Also would be cool if the REST API guide was updated accordingly
also would like to know which firmware version supports it ?
I got mine SR650 updated to the newest firmware on all components
Mine BMC Version: 8.80 CDI3A2Q (09/22/2022)
https://sysmgt.lenovofiles.com/help/topic/com.lenovo.systems.management.xcc.restapi.doc/xcc_restapi_book.pdf

Originally posted by @mastier in #2 (comment)

@jixj5
Copy link
Contributor

jixj5 commented Jan 13, 2023

Sorry, the firmware dose not support passing the actual drives currently on SR650. It may be supported in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants