dell / dellemc-openmanage-ansible-modules

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

[BUG]: dellemc_idrac_storage_volume - No such controller found! when trying to create RAID 1 with NVMe disks #635

Closed markatdxb closed 7 months ago

markatdxb commented 7 months ago

Bug Description

hi got brand new R650 with 2 NVMe disks and getting error No such controller found! when trying to create RAID 1

Component or Module Name

dellemc_idrac_storage_volume

Ansible Version

Ansible 2.16.3

Python Version

Python 3.11.7

iDRAC/OME/OME-M version

IDRAC 7.10.05.00

Operating System

CentOS 8

Playbook Used

 - name: Create RAID 1 on NVMe
      dellemc.openmanage.dellemc_idrac_storage_volume:
        idrac_ip: "{{ lom_ip }}"
        idrac_user: "{{ lom_username }}"
        idrac_password: "{{ lom_password }}"
        state: create
        controller_id: BOSS.Integrated.1-1
        volume_type: RAID 1
        span_depth: 1
        span_length: 2
        raid_init_operation: Fast
        validate_certs: false
        volumes:
          - name: VDISK1
            drives:
              id:
                - Disk.Direct.0-0:BOSS.Integrated.1-1
                - Disk.Direct.1-1:BOSS.Integrated.1-1

Logs

{
    "msg": "No such controller found!",
    "invocation": {
        "module_args": {
            "idrac_ip": "10.10.10.10",
            "idrac_user": "automation",
            "idrac_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "state": "create",
            "controller_id": "BOSS.Integrated.1-1",
            "volume_type": "RAID 1",
            "span_depth": 1,
            "span_length": 2,
            "raid_init_operation": "Fast",
            "validate_certs": false,
            "volumes": [
                {
                    "name": "VDISK1",
                    "drives": {
                        "id": [
                            "Disk.Direct.0-0:BOSS.Integrated.1-1",
                            "Disk.Direct.1-1:BOSS.Integrated.1-1"
                        ]
                    }
                }
            ],
            "number_dedicated_hot_spare": 0,
            "disk_cache_policy": "Default",
            "write_cache_policy": "WriteThrough",
            "read_cache_policy": "NoReadAhead",
            "stripe_size": 65536,
            "raid_reset_config": "False",
            "idrac_port": 443,
            "timeout": 30,
            "volume_id": null,
            "capacity": null,
            "media_type": null,
            "protocol": null,
            "ca_path": null
        }
    },
    "_ansible_no_log": false,
    "changed": false
}

Steps to Reproduce

run the playbook on the server with NVMe disks

Expected Behavior

RAID 1 created

Actual Behavior

error

Screenshots

No response

Additional Information


{
    "ansible_facts": {
        "alv_system_inventory": {
            "PCIeSSDDisk": [
                {
                    "FQDD": "Disk.Direct.0-0:BOSS.Integrated.1-1",
                    "RemainingRatedWriteEndurance": "100",
                    "Model": "DELL NVME ISE PE8010 RI M.2 480GB",
                    "Size": "447.13",
                    "BusProtocol": "PCIe",
                    "DeviceProtocol": "NVMe 1.3",
                    "MediaType": "SSD",
                    "Manufacturer": "SK hynix",
                    "ProductID": "DELL NVME ISE PE8010 RI M.2 480GB",
                    "SerialNumber": "NDC9N4975I1509H10",
                    "DriveFormFactor": "5",
                    "MaximumCapableSpeed": "8 GT/s",
                    "Revision": "1.2.0",
                    "PrimaryStatus": "Healthy",
                    "PredictiveFailureState": "Healthy",
                    "Key": "Disk.Direct.0-0:BOSS.Integrated.1-1"
                },
                {
                    "FQDD": "Disk.Direct.1-1:BOSS.Integrated.1-1",
                    "RemainingRatedWriteEndurance": "100",
                    "Model": "DELL NVME ISE PE8010 RI M.2 480GB",
                    "Size": "447.13",
                    "BusProtocol": "PCIe",
                    "DeviceProtocol": "NVMe 1.3",
                    "MediaType": "SSD",
                    "Manufacturer": "SK hynix",
                    "ProductID": "DELL NVME ISE PE8010 RI M.2 480GB",
                    "SerialNumber": "NDC9N4992I0209I1E",
                    "DriveFormFactor": "5",
                    "MaximumCapableSpeed": "8 GT/s",
                    "Revision": "1.2.0",
                    "PrimaryStatus": "Healthy",
                    "PredictiveFailureState": "Healthy",
                    "Key": "Disk.Direct.1-1:BOSS.Integrated.1-1"
                }
            ],
            "PhysicalDisk": [
                {
                    "FQDD": "Disk.Direct.0-0:BOSS.Integrated.1-1",
                    "RemainingRatedWriteEndurance": "100",
                    "FreeSize": "447.13",
                    "RaidStatus": "Ready",
                    "T10PICapability": "Not Available",
                    "DeviceDescription": "Disk 0 on Integrated BOSS 1",
                    "Model": "DELL NVME ISE PE8010 RI M.2 480GB",
                    "SerialNumber": "NDC9N4975I1509H10",
                    "Size": "447.13",
                    "UsedSize": "Not Available",
                    "MediaType": "SSD",
                    "Revision": "1.2.0",
                    "BlockSize": "Not Available",
                    "DriveFormFactor": "5",
                    "HotSpareStatus": "No",
                    "Manufacturer": "SK hynix",
                    "ManufacturingDay": "Not Available",
                    "ManufacturingWeek": "Not Available",
                    "ManufacturingYear": "Not Available",
                    "MaxCapableSpeed": "Not Available",
                    "PPID": "Not Available",
                    "SASAddress": "Not Available",
                    "Slot": "0",
                    "SupportedEncryptionTypes": "Not Available",
                    "BusProtocol": "PCIe",
                    "SecurityState": "Not Available",
                    "RAIDNegotiatedSpeed": "8 GT/s",
                    "PrimaryStatus": "Healthy",
                    "PredictiveFailureState": "Healthy",
                    "Key": "Disk.Direct.0-0:BOSS.Integrated.1-1"
                },
                {
                    "FQDD": "Disk.Direct.1-1:BOSS.Integrated.1-1",
                    "RemainingRatedWriteEndurance": "100",
                    "FreeSize": "447.13",
                    "RaidStatus": "Ready",
                    "T10PICapability": "Not Available",
                    "DeviceDescription": "Disk 1 on Integrated BOSS 1",
                    "Model": "DELL NVME ISE PE8010 RI M.2 480GB",
                    "SerialNumber": "NDC9N4992I0209I1E",
                    "Size": "447.13",
                    "UsedSize": "Not Available",
                    "MediaType": "SSD",
                    "Revision": "1.2.0",
                    "BlockSize": "Not Available",
                    "DriveFormFactor": "5",
                    "HotSpareStatus": "No",
                    "Manufacturer": "SK hynix",
                    "ManufacturingDay": "Not Available",
                    "ManufacturingWeek": "Not Available",
                    "ManufacturingYear": "Not Available",
                    "MaxCapableSpeed": "Not Available",
                    "PPID": "Not Available",
                    "SASAddress": "Not Available",
                    "Slot": "1",
                    "SupportedEncryptionTypes": "Not Available",
                    "BusProtocol": "PCIe",
                    "SecurityState": "Not Available",
                    "RAIDNegotiatedSpeed": "8 GT/s",
                    "PrimaryStatus": "Healthy",
                    "PredictiveFailureState": "Healthy",
                    "Key": "Disk.Direct.1-1:BOSS.Integrated.1-1"
                }
            ],
            "ControllerSensor": [
                {
                    "FQDD": "AHCI.Embedded.2-1",
                    "Key": "AHCI.Embedded.2-1"
                },
                {
                    "FQDD": "AHCI.Embedded.1-1",
                    "Key": "AHCI.Embedded.1-1"
                },
                {
                    "FQDD": "BOSS.Integrated.1-1",
                    "Key": "BOSS.Integrated.1-1"
                }
            ],
            "Controller": [
                {
                    "FQDD": "AHCI.Embedded.2-1",
                    "EncryptionMode": "None",
                    "SecurityStatus": "Encryption Not Capable",
                    "RollupStatus": "Unknown",
                    "Bus": "0",
                    "CacheSize": "0.0 MB",
                    "CachecadeCapability": "Cachecade Virtual Disk not supported",
                    "ControllerFirmwareVersion": "Not Available",
                    "DeviceCardDataBusWidth": "Unknown",
                    "DeviceCardManufacturer": "DELL",
                    "DeviceCardSlotLength": "2",
                    "DeviceCardSlotType": "Unknown",
                    "DeviceDescription": "Embedded AHCI 2",
                    "DriverVersion": "Not Available",
                    "EncryptionCapability": "None",
                    "MaxAvailablePCILinkSpeed": "Not Available",
                    "MaxPossiblePCILinkSpeed": "Not Available",
                    "PCISlot": "Not Available",
                    "PCIVendorID": "8086",
                    "ProductName": "Sapphire Rapids SATA AHCI Controller",
                    "SASAddress": "0",
                    "SlicedVDCapability": "Sliced Virtual Disk creation not supported",
                    "SupportControllerBootMode": "0",
                    "SupportEnhancedAutoForeignImport": "0",
                    "SupportRAID10UnevenSpans": "0",
                    "T10PICapability": "0",
                    "PrimaryStatus": "Unknown",
                    "Key": "AHCI.Embedded.2-1"
                },
                {
                    "FQDD": "AHCI.Embedded.1-1",
                    "EncryptionMode": "None",
                    "SecurityStatus": "Encryption Not Capable",
                    "RollupStatus": "Unknown",
                    "Bus": "0",
                    "CacheSize": "0.0 MB",
                    "CachecadeCapability": "Cachecade Virtual Disk not supported",
                    "ControllerFirmwareVersion": "Not Available",
                    "DeviceCardDataBusWidth": "Unknown",
                    "DeviceCardManufacturer": "DELL",
                    "DeviceCardSlotLength": "2",
                    "DeviceCardSlotType": "Unknown",
                    "DeviceDescription": "Embedded AHCI 1",
                    "DriverVersion": "Not Available",
                    "EncryptionCapability": "None",
                    "MaxAvailablePCILinkSpeed": "Not Available",
                    "MaxPossiblePCILinkSpeed": "Not Available",
                    "PCISlot": "Not Available",
                    "PCIVendorID": "8086",
                    "ProductName": "Sapphire Rapids SATA AHCI Controller",
                    "SASAddress": "0",
                    "SlicedVDCapability": "Sliced Virtual Disk creation not supported",
                    "SupportControllerBootMode": "0",
                    "SupportEnhancedAutoForeignImport": "0",
                    "SupportRAID10UnevenSpans": "0",
                    "T10PICapability": "0",
                    "PrimaryStatus": "Unknown",
                    "Key": "AHCI.Embedded.1-1"
                },
                {
                    "FQDD": "BOSS.Integrated.1-1",
                    "EncryptionMode": "6",
                    "SecurityStatus": "Encryption Not Capable",
                    "RollupStatus": "Healthy",
                    "Bus": "2A",
                    "CacheSize": "0.0 MB",
                    "CachecadeCapability": "Cachecade Virtual Disk not supported",
                    "ControllerFirmwareVersion": "2.1.13.2025",
                    "DeviceCardDataBusWidth": "4x or x4",
                    "DeviceCardManufacturer": "DELL",
                    "DeviceCardSlotLength": "1",
                    "DeviceCardSlotType": "Other",
                    "DeviceDescription": "Integrated BOSS 1",
                    "DriverVersion": "Not Available",
                    "EncryptionCapability": "None",
                    "MaxAvailablePCILinkSpeed": "Generation 3",
                    "MaxPossiblePCILinkSpeed": "Generation 3",
                    "PCISlot": "Not Available",
                    "PCIVendorID": "1B4B",
                    "ProductName": "BOSS-N1 Modular",
                    "SASAddress": "0",
                    "SlicedVDCapability": "Sliced Virtual Disk creation not supported",
                    "SupportControllerBootMode": "0",
                    "SupportEnhancedAutoForeignImport": "0",
                    "SupportRAID10UnevenSpans": "0",
                    "T10PICapability": "0",
                    "PrimaryStatus": "Healthy",
                    "Key": "BOSS.Integrated.1-1"
                }
        }
    },
    "_ansible_no_log": false,
    "changed": false
}
markatdxb commented 7 months ago

just a comment here - as a temp workaround i can use redfish_storage_volume module which actually works

sachin-apa commented 7 months ago

@markatdxb this module has a problem with Nvme disks . Can you try the module from PR #635 and let us know if it works .. @rajshekarp87 FYI..

markatdxb commented 7 months ago

hi, i would be ok to test it but would need some guidance on how to get that version is there any new collection with that module ? thx marek

On Fri, 22 Mar 2024 at 08:50, Sachin Apagundi @.***> wrote:

@markatdxb https://github.com/markatdxb this module has a problem with Nvme disks . Can you try the module from PR #635 https://github.com/dell/dellemc-openmanage-ansible-modules/issues/635 and let us know if it works .. @rajshekarp87 https://github.com/rajshekarp87 FYI..

— Reply to this email directly, view it on GitHub https://github.com/dell/dellemc-openmanage-ansible-modules/issues/635#issuecomment-2014168651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKPVXJIEKRHPE62X2QWXHU3YZOE4ZAVCNFSM6AAAAABFA3OHXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUGE3DQNRVGE . You are receiving this because you were mentioned.Message ID: @.***>

rajshekarp87 commented 7 months ago

@markatdxb, PR-630 has a fix for this issue. Please let us know if it works fine for you