Obs/bin/ObsDep/content/Powershell/Roles/Common/RepairActionHelpers.psm1

<###################################################
 # #
 # Copyright (c) Microsoft. All rights reserved. #
 # #
 ##################################################>


Import-Module -Name "$PSScriptRoot\..\..\Common\Tracer.psm1" -DisableNameChecking
Import-Module -Name "$PSScriptRoot\RoleHelpers.psm1" -DisableNameChecking

function Get-SingleProvisioningRoleVM {

    [CmdletBinding()]
    param (
        [Parameter(Mandatory=$true)]
        [CloudEngine.Configurations.EceInterfaceParameters]
        $Parameters,

        [Parameter(Mandatory=$true)]
        [ValidateNotNullOrEmpty()]
        [string] $RoleId
    )

    $roleNodes = $Parameters.Roles[$RoleId].PublicConfiguration.Nodes.Node.Name
    $vmRole = $Parameters.Roles["VirtualMachines"].PublicConfiguration
    $provisioningNodes =  @($vmRole.Nodes.Node | Where-Object { $_.Name -in $roleNodes -and $_.ProvisioningStatus -ne "Complete" })

    if($provisioningNodes -and $provisioningNodes.Count -gt 1)
    {
        throw "Unexpected: More than one node is being provisioned for $RoleId. $($provisioningNodes.Name)"
    }
    elseif ($provisioningNodes -and $provisioningNodes.Count -eq 1)
    {
        Trace-Execution "Only one node is being provisioned for $RoleId. $($provisioningNodes[0].Name)"
        return $provisioningNodes[0].Name
    }
    else
    {
        Trace-Execution "No node for $RoleId is being provisioned."
        return $null
    }
}

function Get-VMNameToRestartForRepair
{
    [CmdletBinding()]
    Param (
        [Parameter(Mandatory = $true)]
        [CloudEngine.Configurations.EceInterfaceParameters]
        $Parameters,

        [Parameter(Mandatory=$true)]
        [ValidateNotNullOrEmpty()]
        [string] $RoleId
    )

    $roleNodes = $Parameters.Roles[$RoleId].PublicConfiguration.Nodes.Node.Name

    $nodeToRestart = $null
    $provisioningNodeName = Get-SingleProvisioningRoleVM -Parameters $Parameters -RoleId $RoleId
    if ($provisioningNodeName)
    {
        Trace-Execution "Temporarily setting $provisioningNodeName in provisioning to restart."
        $nodeToRestart = $provisioningNodeName
    }

    Trace-Execution "Analyzing action summary XML for related failure nodes."
    $runtimeParameters = $Parameters.RunInformation["RuntimeParameter"]
    $failureSummaryXml = $runtimeParameters["FailureSummaryXml"]
    if ($failureSummaryXml -ne $null)
    {
        $failureList = @(Read-SummaryXml -SummaryXML $failureSummaryXml)            
        $failedNodes = $failureList.ExecutionContextNode | where { $_ -in $roleNodes } | select -Unique
        if ($failedNodes.Count -eq 0)
        {
            Trace-Execution "No node specific failure for $RoleId reported in action summary XML."
        }
        elseif ($failedNodes.Count -gt 1)
        {
            throw "More than one node for $RoleId reported failure in summary XML: $failedNodes."
        }
        elseif ($provisioningNodeName -and $provisioningNodeName -ne $failedNodes)
        {
            throw "$RoleId reported failure for $failedNodes but another node is in provisioning: $provisioningNodeName."
        }
        else
        {
            Trace-Execution "Setting $failedNodes to restart."
            $nodeToRestart = $failedNodes
        }
    }

    return $nodeToRestart
}

function Get-RestartVMForRepairEvaluation
{
    [CmdletBinding()]
    [OutputType([CloudEngine.Actions.ConditionalActionDescription])]
    Param (
        [Parameter(Mandatory = $true)]
        [CloudEngine.Configurations.EceInterfaceParameters]
        $Parameters,
        [Parameter(Mandatory = $false)]
        [string] $nodeToRestart = $null

    )

    $roleId = $Parameters.Configuration.Role.Id
    if(!$nodeToRestart)
    {
        $nodeToRestart = Get-VMNameToRestartForRepair -Parameters $Parameters -RoleId $roleId
    }

    if (-not $nodeToRestart)
    {
        Trace-Execution "No node is specified to restart for $roleId. Skip restart remediation."
        return [CloudEngine.Actions.ConditionalActionDescription]::CreateNegative()
    }
    else
    {
        # Ensure ECE application quorum before restart.
        if ($roleId -eq "SeedRingServices")
        {
            Import-Module ServiceFabric
            Connect-ServiceFabricCluster | Out-Null
            $remainingNodes = Get-ServiceFabricNode | where { $_.IpAddressOrFQDN -notmatch $nodeToRestart }
            $eceServiceName = "fabric:/EnterpriseCloudEngineApplication/EnterpriseCloudEngineService"
            $remainingUnhealthyReplicas = @(Get-ServiceFabricPartition $eceServiceName | Get-ServiceFabricReplica `
                                            | where { $_.NodeName -in $remainingNodes.NodeName -and $_.HealthState -ne 'OK'})
            if ($remainingUnhealthyReplicas.Count -gt 0)
            {
                Trace-Warning "ECE replica in other VMs reported unhealthy: $($remainingUnhealthyReplicas.Name). Skip restart remediation."
                return [CloudEngine.Actions.ConditionalActionDescription]::CreateNegative()
            }
        }

        Trace-Execution "Proceed to VM restart for $nodeToRestart of role $roleId."
        $virtualMachineRolePath = "Cloud\Fabric\VirtualMachines"
        $restartForRepairActionType = "RestartVMForRepair"
        $restartExecutionContext = New-ExecutionContextXmlForNode -RoleName $roleId -NodeNames $nodeToRestart
        return [CloudEngine.Actions.ConditionalActionDescription]::CreateWithDefinedAction($virtualMachineRolePath, $restartForRepairActionType, $restartExecutionContext)
    }
}

Export-ModuleMember -Function Get-SingleProvisioningRoleVM
Export-ModuleMember -Function Get-RestartVMForRepairEvaluation
# SIG # Begin signature block
# MIIoRQYJKoZIhvcNAQcCoIIoNjCCKDICAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCqepvQMpnd6y3y
# V1KBTHn/8OuNIBWIFDdmV+MCX/eBFKCCDXYwggX0MIID3KADAgECAhMzAAADrzBA
# DkyjTQVBAAAAAAOvMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
# bmcgUENBIDIwMTEwHhcNMjMxMTE2MTkwOTAwWhcNMjQxMTE0MTkwOTAwWjB0MQsw
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
# ZDEeMBwGA1UEChMVTWlj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