question

Stephen-8767 avatar image
0 Votes"
Stephen-8767 asked SwathiDhanwada-MSFT commented

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://docs.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,

azure-arc
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Stephen-8767 As requested by @KilolSurjan-6594, can you please provide requested logs?

0 Votes 0 ·

1 Answer

KilolSurjan-6594 avatar image
0 Votes"
KilolSurjan-6594 answered

Hello Stephen - Can you grab logs from the cluster using Get-MocLogs. We would like to debug the error & provide a resolution. Thanks.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.