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

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

Open
mminhe opened this issue Nov 21, 2023 · 0 comments

Comments

@mminhe
Copy link

mminhe commented Nov 21, 2023

        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)

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

1 participant