Hello Stephen - Can you grab logs from the cluster using Get-MocLogs
. We would like to debug the error & provide a resolution. Thanks.
Cannot deploy Azure arc resource bridge
I have Azure Stack HCI two node cluster that register in Azure. I would to manage VMs through Azure Arc. It requires to deploy Azure Resource Bridge.
I have followed up the instructions:
https://learn.microsoft.com/en-us/azure-stack/hci/manage/azure-arc-enabled-virtual-machines
When I try to deploy it. I got the following error:
PS C:\> install-moc WARNING: Start-FailoverClusterResource failed
Exception [Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline,
LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring
the resource 'MOC Cloud Agent Service' online.']
Stacktrace [at Start-FailoverClusterResource, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line
2824
at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line 2995
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1] WARNING: Install-Moc failed. Exception [This typically indicates an issue happened while registering the resource name as a computer object with the domain controller and/or the DNS server. Please check the domain controller and DNS logs for related error messages. Error: [Start-FailoverClusterResource failed Exception [Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline,
LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring
the resource 'MOC Cloud Agent Service' online.']
Stacktrace [at Start-FailoverClusterResource, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line
2824
at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line 2995
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1]]]
Stacktrace [at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line
3001
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1]
InnerException[Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline,
LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring
the resource 'MOC Cloud Agent Service' online.']
Install-Moc failed.
Exception [This typically indicates an issue happened while registering the resource name as a computer object with
the domain controller and/or the DNS server. Please check the domain controller and DNS logs for related error
messages. Error: [Start-FailoverClusterResource failed
Exception [Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline,
LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring
the resource 'MOC Cloud Agent Service' online.']
Stacktrace [at Start-FailoverClusterResource, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line
2824
at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line 2995
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1]]]
Stacktrace [at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line
3001
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1]
InnerException[Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline,
LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring
the resource 'MOC Cloud Agent Service' online.']
At C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1:215 char:9
- throw [System.Exception]::new($errorMessage, $_.Exception)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (:) [], Exception
- FullyQualifiedErrorId : Install-Moc failed.
Exception [This typically indicates an issue happened while registering the resource name as a computer object wit
h the domain controller and/or the DNS server. Please check the domain controller and DNS logs for related error m
essages. Error: [Start-FailoverClusterResource failed
Exception [Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline, Last
OperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to bring
the resource 'MOC Cloud Agent Service' online.']
Stacktrace [at Start-FailoverClusterResource, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: l
ine 2824
at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1: line 2995
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1]]]
Stacktrace [at Add-FailoverClusterGenericRole, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Common.psm1:
line 3001
at Install-CloudAgent, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1315
at Install-MocAgents, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1234
at Initialize-Cloud, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1140
at Install-MocInternal, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 1083
at Install-Moc, C:\Program Files\WindowsPowerShell\Modules\Moc\1.0.22\Moc.psm1: line 209
at <ScriptBlock>, <No file>: line 1]
InnerException[Failed to start cluster resource [MOC Cloud Agent Service]. ExtendedStatus: CurrentState: Offline,
LastOperationStatusCode: 0, StatusInformation: 0.. Exception caught is: 'An error occurred while attempting to br
ing the resource 'MOC Cloud Agent Service' online.']
PS C:\>
Does anyone know what could be cause this error?
Thanks in advanced,
1 answer
Sort by: Most helpful
-
Kilol Surjan 1 Reputation point
2022-03-31T19:06:56.813+00:00