none
AzureStack deployment fails with error "Failed to configure storage on cluster Enable-ClusterStorageSpacesDirect : Operation did not complete in time while 'Waiting until physical disks are claimed'. " RRS feed

  • Question

  • I am deploying ASDK on Windows server 2016 Datacenter VM using Microsoft ASDK installation technote. After I reboot the VM using CloudBuilder.vhdx and continue with installation process, I get below error:

    Type 'Deployment' of Role 'Storage' raised an exception:
     
    Failed to configure storage on cluster
    Enable-ClusterStorageSpacesDirect : Operation did not complete in time while 'Waiting until physical disks are
    claimed'. Run cluster validation, including the Storage Spaces Direct tests, to verify the configuration
    At C:\Program
    Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Fabric.Storage.1.2002.1.0\Microsoft.AzureStack.Fabric.Storage.Depl
    oy.psm1:547 char:9
    +         Enable-ClusterStorageSpacesDirect -PoolFriendlyName $PoolName ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OperationTimeout: (MSCluster_StorageSpacesDirect:root/MSCLUSTER/...ageSpacesDirect)
    [Enable-ClusterStorageSpacesDirect], CimException
        + FullyQualifiedErrorId : HRESULT 0x800705b4,Enable-ClusterStorageSpacesDirect
     

    at Set-SCStorageSystem, C:\Program
    Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Fabric.Storage.1.2002.1.0\Microsoft.AzureStack.Fabric.Storage.Depl
    oy.psm1: line 424 - 7/1/2020 9:08:59 AM
    Invoke-EceAction : Type 'Deployment' of Role 'Storage' raised an exception:
    Failed to configure storage on cluster
    Enable-ClusterStorageSpacesDirect : Operation did not complete in time while 'Waiting until physical disks are
    claimed'. Run cluster validation, including the Storage Spaces Direct tests, to verify
    the configuration
    At C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Fabric.Storage.1.2002.1.0\Microsoft.AzureStack.Fabri
    c.Storage.Deploy.psm1:547 char:9
    +         Enable-ClusterStorageSpacesDirect -PoolFriendlyName $PoolName ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OperationTimeout: (MSCluster_StorageSpacesDirect:root/MSCLUSTER/...ageSpacesDirect)
    [Enable-ClusterStorageSpacesDirect], CimException
        + FullyQualifiedErrorId : HRESULT 0x800705b4,Enable-ClusterStorageSpacesDirect
     
    at Set-SCStorageSystem, C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Fabric.Storage.1.2002.1.0\Micro
    soft.AzureStack.Fabric.Storage.Deploy.psm1: line 424
    At C:\CloudDeployment\Setup\Common\DeploySingleNodeCommon.ps1:778 char:5
    +     Invoke-EceAction -RolePath $masterRole -ActionType $ActionPlan @d ...
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OperationStopped: (Failed to confi...acesDirect
     
    :String) [Invoke-EceAction], InterfaceInvocationFailedException
        + FullyQualifiedErrorId : Failed to configure storage on cluster
        Enable-ClusterStorageSpacesDirect : Operation did not complete in time while 'Waiting until physical disks are cla
       imed'. Run cluster validation, including the Storage Spaces Direct tests, to verify
    the configuration
        At C:\Program Files\WindowsPowerShell\Modules\Microsoft.AzureStack.Fabric.Storage.1.2002.1.0\Microsoft.AzureStack.
       Fabric.Storage.Deploy.psm1:547 char:9
    +         Enable-ClusterStorageSpacesDirect -PoolFriendlyName $PoolName ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : OperationTimeout: (MSCluster_StorageSpacesDirect:root/MSCLUSTER/...ageSpacesDirect)
       [Enable-ClusterStorageSpacesDirect], CimException
        + FullyQualifiedErrorId : HRESULT 0x800705b4,Enable-ClusterStorageSpacesDirect
     
    ,CloudEngine.Cmdlets.InvokeCmdlet

    Here are output of some standard commands:

    PS C:\CloudDeployment\Setup> Get-Cluster
    Name
    ----
    s-cluster
     
    PS C:\CloudDeployment\Setup> Get-ClusterStorageSpacesDirect
     
    CacheMetadataReserveBytes : 34359738368
    CacheModeHDD              : ReadWrite
    CacheModeSSD              : WriteOnly
    CachePageSizeKBytes       : 16
    CacheState                : Disabled
    Name                      : s-cluster
    ScmUse                    : Cache
    State                     : Enabled
    SedProtectionState        : Disabled
    UseSedExclusively         : False
     
    PS C:\CloudDeployment\Setup> Get-PhysicalDisk | Select FriendlyName, SerialNumber, CanPool, Size, MediaType | ft
     
    FriendlyName        SerialNumber CanPool         Size MediaType
    ------------        ------------ -------         ---- ---------
    VMware Virtual disk                False 214748364800 Unspecified
    Msft Virtual Disk                  False 128849018880 Unspecified
    VMware Virtual disk                False 542239621120 Unspecified
    VMware Virtual disk                False 542239621120 Unspecified
    VMware Virtual disk                False 542239621120 Unspecified
    VMware Virtual disk                False 542239621120 Unspecified
     
    Any points to fix this will be helpful.

    Wednesday, July 1, 2020 11:30 AM