Skip to content

Creating VD over M2 RAID controller failed with error "Invalid request: The attribute size cannot be configured on the controller : MSTOR-RAID" #237

@mminhe

Description

@mminhe
        vd = virtual_drive_create(
            handle,
            disk_groups,
            controller_type,
            controller_slot,
            int(                    StorageVirtualDriveCreatorUsingUnusedPhysicalDrive.StorageVirtualDriveCreatorUsingUnusedPhysicalDriveConsts.RAID_LEVEL_1
            ),
            size=None,
            virtual_drive_name=name,
        )

failed when controller_type was "SATA" and controller_slot was "MSTORE_RAID".

2023-11-21 20:51:09.939 ERROR lib.cimc_imcsdk_setup: Cannot complete the operation
Traceback (most recent call last):
File "/home/mhe/Tortuga/tools/python/lib/cimc_imcsdk_setup.py", line 382, in cimc_vd_setup
vd = virtual_drive_create(
File "/home/mhe/.local/lib/python3.10/site-packages/imcsdk/apis/server/storage.py", line 277, in virtual_drive_create
handle.add_mo(mo)
File "/home/mhe/.local/lib/python3.10/site-packages/imcsdk/imchandle.py", line 443, in add_mo
self._commit(timeout=timeout)
File "/home/mhe/.local/lib/python3.10/site-packages/imcsdk/imchandle.py", line 557, in _commit
raise ImcException(response.error_code, response.error_descr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions