dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

Is there a way to convert to RAID a drive ? #348

Closed pyfontan closed 2 years ago

pyfontan commented 2 years ago
Question

Hello, I'm trying to use this collection to create virtual drive, but dellemc.openmanage.redfish_storage_volume or dellemc_idrac_storage_volume always fail when drives state is "Non-RAID".

So i would like to first "convert to raid" the drives.

Details

Error returned by dellemc.openmanage.redfish_storage_volume

"error_info": {                                                                                                                                                 
        "error": {                                                                                                                                                  
            "@Message.ExtendedInfo": [                                                                                                                              
                {                                                                                                                                                   
                    "Message": "One or more storage device(s) are not in a state where the operation can be completed.",                                            
                    "MessageArgs": [],                                                                                                                              
                    "MessageArgs@odata.count": 0,                                                                                                                   
                    "MessageId": "IDRAC.2.4.STOR013",                                                                                                               
                    "RelatedProperties": [],                                                                                                                        
                    "RelatedProperties@odata.count": 0,                                                                                                             
                    "Resolution": "Make sure the specified storage devices are in a state appropriate for the requested operation and retry the operation.",        
                    "Severity": "Warning"                                                                                                                           
                }                                                                                                                                                   
            ],                                                                    
            "code": "Base.1.7.GeneralError",                         
            "message": "A general error has occurred. See ExtendedInfo for more information"                                                                        
        }                                                                                                                                                           
    },   

Thank you. Pierre-yves

pyfontan commented 2 years ago

@anupamaloke : you relabeled this issue as an enhancement. But, do you think i should also open an issue on DELL omsdk repository as it seems that this feature is not available in SDK either !

Thank you.

anupamaloke commented 2 years ago

@pyfontan, ansible team will automatically take care of it based on whether they would directly call the OEM REST API from the module or use omsdk. BTW, what all generations of servers (12G, 13G and/or 14G) do you have in your environment?

pyfontan commented 2 years ago

@anupamaloke We have all 3 generations in our environment. R720xd / R730xd / R740xd2

Thank you for your answer.

joergbartz commented 2 years ago

Hi Folks, I would like to do it the other way round, so I would need the equivalent of the "convert to non-RAID". Best regards, Joerg

sachin-apa commented 2 years ago

Merged as part of the PR #391 Release 5.2.0