无法在断开连接模式下将默认VM映像添加到Azure Stack Dev Kit
Azure Stack Dev Kit(v1.0.180103.2)处于断开连接模式时,我无法添加第一个默认VM映像(按照https://docs.microsoft.com/en-us /天青/天青堆栈/天青叠加 - 缺省 - 图像)。遇到错误
With Azure Stack Dev Kit(v1.0.180103.2) in disconnected mode, I'm unable to add the first default VM image ( as per https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-add-default-image). Hitting the error
PS C:\ AzureStack-Tools-master> New-AzsServer2016VMImage -ISOPath E:\temp\WS2016_SERVER_EVAL_X64FRE_EN-US.ISO
VERBOSE:检查有效ISO的ISO路径。
addvmimagestorageaccount
New-AzureStorageContainer:远程服务器返回错误:(504)网关超时。 HTTP状态码:504 - HTTP
错误消息:未知主机
在C:\ AzureStack-Tools-master \ComputeAdmin \AzureStack.ComputeAdmin.psm1: 176 char:22
+ ... container = New-AzureStorageContainer -Name $ containerName -Permissio ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
  + CategoryInfo         :CloseError:(:) [New-AzureStorageContainer],StorageException
  + FullyQualifiedErrorId:StorageException,Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.NewAzureStorageCo
ntainerCommand
PS C:\AzureStack-Tools-master> New-AzsServer2016VMImage -ISOPath E:\temp\WS2016_SERVER_EVAL_X64FRE_EN-US.ISO
VERBOSE: Checking ISO path for a valid ISO.
addvmimagestorageaccount
New-AzureStorageContainer : The remote server returned an error: (504) Gateway Timeout. HTTP Status Code: 504 - HTTP
Error Message: Unknown Host
At C:\AzureStack-Tools-master\ComputeAdmin\AzureStack.ComputeAdmin.psm1:176 char:22
+ ... container = New-AzureStorageContainer -Name $containerName -Permissio ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureStorageContainer], StorageException
+ FullyQualifiedErrorId : StorageException,Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.NewAzureStorageCo
ntainerCommand
任何帮助,指针?
Raghu,
Raghu,
在运行New-AzSServer2016VMImage命令之前,您能否确认已正确连接到Azure Stack? 您需要为ADFS方案运行以下命令:
Can you please confirm that you have properly connected to Azure Stack prior to running the New-AzSServer2016VMImage command? You will need to have run the following for an ADFS scenario:
# For Azure Stack Development Kit, this value is set to https://adminmanagement.local.azurestack.external. To get this value for Azure Stack integrated systems, contact your service provider.
ArmEndpoint ="<您环境的资源管理器端点>"
#对于Azure Stack Development Kit,此值设置为https://graph.local.azurestack.external/。要获取Azure Stack集成系统的此值,请与您的服务提供商联系。
ArmEndpoint = "<Resource Manager endpoint for your environment>" # For Azure Stack Development Kit, this value is set to https://graph.local.azurestack.external/. To get this value for Azure Stack integrated systems, contact your service provider.
GraphAudience ="<您环境的GraphAuidence端点>"
#使用以下cmdlet创建Azure Stack运算符的Azure Resource Manager环境:
Add-AzureRMEnvironment`
-Name" AzureStackAdmin" `
-ArmEndpoint
GraphAudience = "<GraphAuidence endpoint for your environment>" # Create the Azure Stack operator's Azure Resource Manager environment by using the following cmdlet: Add-AzureRMEnvironment ` -Name "AzureStackAdmin" ` -ArmEndpoint