Closed LucaOtto closed 4 months ago
Further to this error, deployment now stops even earlier. I tried different regions: eastus2 and westeurope , same error ( see below).
INFO: Loaded Module 'Az.Accounts' INFO: Loaded Module 'Az.ConnectedMachine'
TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A parameter cannot be found that matches parameter name 'AsPlainText'." TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A parameter cannot be found that matches parameter name 'AsPlainText'." TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A parameter cannot be found that matches parameter name 'AsPlainText'." TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A parameter cannot be found that matches parameter name 'AsPlainText'." TerminatingError(): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A parameter cannot be found that matches parameter name 'AsPlainText'." The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: A parameter cannot be found that matches parameter name 'AsPlainText'. A parameter cannot be found that matches parameter name 'AsPlainText'. At C:\HCIBox\New-HCIBoxCluster.ps1:1443 char:9
- Invoke-Command -VMName $node.Hostname -Credential $localCred ...
- CategoryInfo : InvalidArgument: (:) [ConvertFrom-SecureString], ParameterBindingException
- FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.ConvertFromSecureStringCommand
- PSComputerName : AzSHOST1
This seems like a similar issue as #2620 - see that issue for a temporary workaround.
Hi,
I've tried to deploy the environment again using azdhttps://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_azd. Azure Arc Jumpstarthttps://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_azd Extensive. Automated. Open-Source. Community Driven. azurearcjumpstart.io
I'm getting the error below and can't continue:
[cid:5d97e8fc-4322-4f43-b585-233015b62ee6]
Luca Ottonari
Thank you and Kind Regards
AZURE CLOUD SOLUTION ARCHITECT @.***
[Microsoft Logo]
Hi again,
I then tried the Azure CLI deployment, still getting an error:
[cid:38760a95-1ff3-4850-802c-8b28faaad0de] [cid:e870dc53-5a18-40be-8ee2-239d45898aa3]
[cid:7b0a7527-dbaa-4437-8abc-f4fcf6645786] Luca Ottonari
Thank you and Kind Regards
AZURE CLOUD SOLUTION ARCHITECT @.***
[Microsoft Logo]
@LucaOtto The screenshots is not visible in the GitHub issue. Could you add them and either reopen this issue if the error is the same as the initial message or create a new one? Thanks!
I opened a new issue , see Line | 214 | Throw "An error occurred creating the service principal. … | An error occurred creating the service principal. Error:Values of identifierUris property must use a verified domain | of the organization or its subdomain: 'http://admin-jumpstart-spn-2309' · Issue #2629 · microsoft/azure_arc (github.com)https://github.com/microsoft/azure_arc/issues/2629 [https://opengraph.githubassets.com/74f64c99acab2aa75365969e580129870e4522c0eda30a632987e6dd772c586c/microsoft/azure_arc/issues/2629]https://github.com/microsoft/azure_arc/issues/2629 Line | 214 | Throw "An error occurred creating the service principal. … | An error occurred creating the service principal. Error:Values of identifierUris property must use a verified domain | of the organization or its subdomain: 'http://admin-jumpstarthttps://github.com/microsoft/azure_arc/issues/2629 Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora? (https://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_azd) Describe the issue or the bug azd up fails to deploy th... github.com
Luca Ottonari
Thank you and Kind Regards
AZURE CLOUD SOLUTION ARCHITECT @.***
[Microsoft Logo]
Hi,
I redeployed the HCI Stack env using the https://azurearcjumpstart.io/azure_jumpstart_hcibox/deployment_az guide.
I'm still seeing errors in the New-HCIBoxCluster logs, see below
INFO: Loaded Module 'Az.Storage' [Build cluster - Step 10/11] Validate cluster deployment... PS>TerminatingError(New-AzResourceGroupDeployment): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 4:41:54 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'eastus2' is not available for resource type 'Microsoft.AzureStackHCI/clusters'. List of available regions for the resource type is 'australiaeast,southcentralus,eastus,westeurope,southeastasia,canadacentral,japaneast,centralindia'. "
TerminatingError(New-AzResourceGroupDeployment): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 4:41:54 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'eastus2' is not available for resource type 'Microsoft.AzureStackHCI/clusters'. List of available regions for the resource type is 'australiaeast,southcentralus,eastus,westeurope,southeastasia,canadacentral,japaneast,centralindia'. " TerminatingError(New-AzResourceGroupDeployment): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 4:41:54 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'eastus2' is not available for resource type 'Microsoft.AzureStackHCI/clusters'. List of available regions for the resource type is 'australiaeast,southcentralus,eastus,westeurope,southeastasia,canadacentral,japaneast,centralindia'. " TerminatingError(New-AzResourceGroupDeployment): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 4:41:54 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'eastus2' is not available for resource type 'Microsoft.AzureStackHCI/clusters'. List of available regions for the resource type is 'australiaeast,southcentralus,eastus,westeurope,southeastasia,canadacentral,japaneast,centralindia'. " The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 4:41:54 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'eastus2' is not available for resource type 'Microsoft.AzureStackHCI/clusters'. List of available regions for the resource type is 'australiaeast,southcentralus,eastus,westeurope,southeastasia,canadacentral,japaneast,centralindia'. New-AzResourceGroupDeployment : 4:41:54 PM - Error: Code=LocationNotAvailableForResourceType; Message=The provided location 'eastus2' is not available for resource type 'Microsoft.AzureStackHCI/clusters'. List of available regions for the resource type is 'australiaeast,southcentralus,eastus,westeurope,southeastasi a,canadacentral,japaneast,centralindia'.
At C:\HCIBox\New-HCIBoxCluster.ps1:1783 char:1
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployme
nt], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdle
ts.Implementation.NewAzureResourceGroupDeploymentCmdlet
PS>$global:? False
Windows PowerShell transcript end End time: 20240729164154
I'm also still seeing the same issue with the extensions, they are not installed at AzHOST1 / HOST2
Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora? https://azurearcjumpstart.io/azure_jumpstart_hcibox/cloud_deployment
Describe the issue or the bug Second attempt to deploy the HCIBOX Env. Both times I receive these error messages and installation can't recover:
Waiting for extension installation to complete, sleeping for 2 minutes. Attempt 15 of 90 AzSHOST1 : Extension AzureEdgeTelemetryAndDiagnostics is in place and provisioned. Current state: Succeeded AzSHOST1 : Extension AzureEdgeDeviceManagement is missing AzSHOST1 : Extension AzureEdgeLifecycleManager is missing
To Reproduce I followed steps as per documentation.
Expected behavior Extension AzureEdgeDeviceManagement & Extension AzureEdgeLifecycleManager should be in place and provisioned automatically.
Environment summary As per script part od the deployment.
Have you looked at the Troubleshooting and Logs section?
Screenshots
Additional context I tried different Azure regions, same behaviour as far as this issue.